Serial comms FBs - CODESYS library
Serial communication library that simplifies communication from the X2 / BoX2 Control devices to external serial devices such as barcode readers, weigh scales, and printers.
This library simplifies serial communications to serial devices such as barcode readers, weigh scales, and printers. The FB can act as a manager for send/receive (for devices that need a prompt) or just cause the port to listen (for unsolicited messages). All three serial ports of an X2 / BoX2 Control can be used (COM1, COM2 and COM3). Most parameters are set with ENUMs to reduce errors.
Message termination can be by termination character or number of received characters.
The library file (*.compiled-library) can be installed to the CODESYS software on your PC and the FBs be accessed as any blocks, please follow guidelines and description.
• Package V1.0.7, has minor adjustment and update QS guide (2022-04-26)
• Package V1.0.4 is the first released version (2020-11-18)
Developed and supported for:
• BCS Tools 3.34 or CODESYS 3.5 SP13 patch 3
• X2 Control and BoX2 Control (BoX2 Pro SC)
The zip file contains a library file and a quick start guide:
• SER0001_V1.0.7_SerialComFBs.compiled-library (CODESYS library)
Free for United Essential
level and above.
Read more about the UNITED partner program: click here
If you previously downloaded the package file from SmartStore, find the download link in submenu My account > My apps, when logged in!