Codesys Split String Now
In industrial automation, we often deal with messy incoming data strings. Whether you are parsing a CSV line from a barcode reader, handling commands from a serial port (RS232/RS485), or extracting parameters from an MQTT message, you will eventually need to split a string .
Extract the temperature from "TEMP:23.5 C" . codesys split string
xDone := TRUE; END_IF