Chapter 6 Instruction Details
XBC E-Type Main Unit 6-99 Ve r. 1
6.19.9 $MOV, $MOVP
Instruction
Step
P M K F L T C S Z D.x
U N D R
$MOV(P)
2~18
O - -
S String to transfer or device’s head number string is saved in STRING
Device’s head number to save string transferred
[Flag Set]
If out of S or D device’s range.
1) $MOV (Character string Move)
(1) It transfers string starting with S to device starting with D.
If NULL is saved in S+n’s lower byte, 0x00 will be saved in D+n’s higher byte.
Up to 31 letters is available for string to transfer.
2) Program Example
(1) If input contact point P00000 is On, ‘string Data’ is saved in D2000.
$MOV ‘String Data’ D2000
P00000
displays the last of text
Higher byte is not transferred.
Higher byte of 0x00 is saved.