hello , could you PLease tell me how could i add this variable called StrBarCode_Recieved "type
string) " to the axcf2152 / serial-1 / RxCHAR01 PS: I need it to Recieve A data From a Barre Code Scanner … thank you
Hello, If I understand the question correctly, you would like to take the data that is received by the AXL F RS UNI (which originates from a barcode reader), and have that data appear in a STRING variable in the PLCnext Engineer project. In this case, the simplest option is to use the AXL_ComSerial function block library, from the PLCnext Store, in your PLCnext Engineer project: https://www.plcnextstore.com/#/423 When using the AXL_RSUNI_PD function block, arrRcvData will contain the serial data that was received from the barcode reader, and when xRcvNDR goes high you should pass that array to a BUF_TO_STRING function block (along with uiRcvDataLength) to copy the received data to a STRING variable. There is good documentation provided with the library, but if you have any questions on how to use this library to achieve what you want, please let us know. ~ Martin.