User guide

Page 178
Chapter 4. Programming
[Function] Copies the character string from the column in Operand 2 to the column in Operand 1.
Copies only the length set by the SLEN command.
When Operand 2 is a literal character, that is the length copied.
[Example] SCPY 1 'ABC'
Copy 'ABC' to column 1.
SLEN 10
SCPY 100 200
Set the length of the operation to 10 bytes.
Copy 10 bytes from column 200 to column 100.
LET 1 300
LET 2 400
SLEN 5
SCPY *1 *2
Assign 300 to variable 1.
Assign 400 to variable 2
Set the length of the operation to 5 bytes.
Copy 5 bytes from column 400 (the content of variable 2) to column 300 (the content of variable 1).
2-9 String Management Command
SCPY (Copy Character String)
Expansion
condition
(AND · OR)
Input
condition
(I/O · Flag)
Command
Post
(Output port · Flag)
Command Operand 1 Operand 2
Optional Optional SCPY Column no.
Column no.
Literal character