WindO/I-NV4 User’s Manual 20-55
5 Script Coding Examples
20
Script
Script
Operation description
Concatenates the string starting from LDR200 to the string starting from LDR100.
â–
Example 5.7.28 Concatenate strings
STRCAT([LDR 100], [LDR 200]);
• The only device addresses that can be specified as function arguments in string operations are internal
devices.
• The NULL terminating character (0x00) is the end of the string. (The terminating character is not included
in the string length.)
Device address Stored value Device address Stored value
LDR100
Upper byte
'A' = 0x41
LDR100
Upper byte
'A' = 0x41
Lower byte
'B' = 0x42
Lower byte
'B' = 0x42
LDR101
Upper byte
'C' = 0x43
LDR101
Upper byte
'C' = 0x43
Lower byte
0x00
Lower byte
'D' = 0x44
LDR102
Upper byte
'E' = 0x45
Device address Stored value
Lower byte
'F' = 0x46
LDR200
Upper byte
'D' = 0x44
LDR103
Upper byte
'G' = 0x47
Lower byte
'E' = 0x45
Lower byte
0x00
Terminating character
LDR201
Upper byte
'F' = 0x46
Lower byte
'G' = 0x47
LDR202
Upper byte
0x00
Lower byte
0x00
Concatenate
Terminat ing
character
Terminating character