Back

Topic

[KB715]Reading a string from a PLC

Tags: AE, Application Explorer, Byte, Modbus TCP/IP, PLC, String

11 years ago
By EM
Options
Print
Applies to:

PcVue all versions


Summary:

How to read strings from a PLC (example for Modbus TCP/IP).


Details:

To read strings from a PLC, the frame format has to be configured as BYTE.

kb715 1

Then, for variable mapping using the Link button, the starting address has to be set. The default format Variable length string delimited by\0  is good if the string ends with a byte with a value of 0, or if maximum size is reached.

(The appearance of the configuration dialogs may be different depending on the version.)

kb715 2

Important note  Be careful with the maximum size. It must be set correctly to avoid strings overlapping.

kb715 3


Created on: 06 Aug 2014 Last update: 04 Sep 2024