IDEC High Performance Series User Manual

Page 1012

Advertising
background image

5 Script Coding Examples

20-48

WindO/I-NV2 User’s Manual

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]);

• Only internal devices can be used.
• The NULL terminating character (0x00) is the end of the string. (The terminating character is not included

in the string length.)

Device

Stored value

Device

Stored value

LDR 100

Upper byte

'A' = 0x41

LDR 100

Upper byte

'A' = 0x41

Lower byte

'B' = 0x42

Lower byte

'B' = 0x42

LDR 101

Upper byte

'C' = 0x43

LDR 101

Upper byte

'C' = 0x43

Lower byte

0x00

Lower byte

'D' = 0x44

LDR 102

Upper byte

'E' = 0x45

Device

Stored value

Lower byte

'F' = 0x46

LDR 200

Upper byte

'D' = 0x44

LDR 103

Upper byte

'G' = 0x47

Lower byte

'E' = 0x45

Lower byte

0x00

Terminating character

LDR 201

Upper byte

'F' = 0x46

Lower byte

'G' = 0x47

LDR 202

Upper byte

0x00

Lower byte

0x00

Concatenate

Terminating

character

Terminating character

Advertising
This manual is related to the following products: