19 string operation – IAI America XSEL-KET User Manual
Page 228

209
Part 4 Commands
INTELLIGENT ACTUATOR
1-19 String Operation
SCPY (Copy character string)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional
SCPY
Column
number
Column
number,
character literal
CC
[Function] Copy the character string in the column specified in operand 2 to the column specified in
operand 1.
Copy will be performed for the length set by a SLEN command.
If a character literal is specified in operand 2, copy will be performed for the entire length of
the literal.
[Example] SCPY
1
‘ABC’ Copy ‘ABC’ to column 1.
SLEN
10
Set the copying length to 10 bytes.
SCPY
100
200
Copy 10 bytes from column 200 to column 100