Full length style
- Last UpdatedSep 05, 2024
- 1 minute read
If strings are read using the Full Length Style, each string always uses all of the registers allocated. The PLC string is stored in the server string as is.
If a string is written and the string is shorter than the allocation of registers, it is padded with ASCII space characters (hex 20).
For example:
If the string "Communications" is stored in the string item "400001-400010 m," registers
400001 through 400005 contain the string "Communications" and registers 400006 through
400010 contain spaces.
If the string "Communications" is stored in the string item "400001-400005 m," registers
400001 through 400005 contain the string "Communications" and no spaces are stored.
If the string "Communications" is stored in the string item "400001-400005 m," registers
400001 through 400005 contain the string "Communications" and no spaces are stored.
A message is placed in the logger indicating that the string was truncated.