This document is compiled for the purposes for guiding the user on how to SCAN ASCII based strings inside of a PLC into Adroit SCADA via the string Agent.
In this case the PLC being used is Melsec-iQ-F FX5 PLC, and the engineering software being used would be GX Works3.
The PLC will contain a set of registers that will contain the string data. The string data in this case will be in the format of ASCII format.
Now, the ASCII data is being stored in word registers. Each register will contain 16bits of data. Each ASCII character requires a byte of data (8bits), and thus 2 characters can be extracted from each register (16bit).
These are then scanned into a String instance called a tag, in Adroit.
A list of consecutive registers can be scanned (up to 79) – to construct a string-based message.
The following video demonstrates the principle based on the above concept:
(in this video the communication setup via the PLC configuration settings and the Adroit driver device setup is also demonstrated)
The following video demonstrates an application example:
Reference and Information Resources
Adroit SCADA sample program zipped
Melsec iQ-F FX5 GX Works3 sample program zipped