10/4/2021 10:43 AM | |
Joined: 12/4/2018 Last visit: 11/22/2023 Posts: 23 Rating: (0) |
hello all. i need to read data from barcode reader, i have established a connection between 1214C dc/dc/dc and the reader , then i called TRCV block ,but before triggering the reader there is a read data in my data block which appears in the first 7 char in the recieved area of the array as shown in the attached picture and this cause that the first seven charachters of the barcode not appear in the recieved area in the data block . attached pics which display the read data in plc while no data in the reader and after trig the reader. Attachmentbarcode.zip (62 Downloads) |
10/4/2021 10:57 AM | |
Joined: 6/19/2019 Last visit: 7/10/2024 Posts: 697 Rating: (73) |
have you specify lenght of the receive area? |
10/4/2021 2:57 PM | |
Joined: 6/19/2019 Last visit: 7/10/2024 Posts: 697 Rating: (73) |
Ok then why before reading you get some values from your DB6.DX0.0 to DB6.DBX7.0? did you use right parammeter array of char? or maybe then you need put read data to TRCV from DB6.DBX8.0 have you tried? have you added TCON function before? Also find in this forum this topic and there are a lot of usefull informations 0_Einstein explain all system how it must work link to other topic |
Last edited by: Mr.V at: 10/04/2021 15:01:53 |
|
Follow us on