6 BASIC INSTRUCTIONS
6.6 Data Transfer Instructions
311
6
Transferring 1-bit data
MOVB(P)
These instructions store bit data specified by (s) to (d).
■Descriptions, ranges, and data types
■Applicable devices
*1 T, ST, C cannot be used.
• These instructions transfer bit data specified by (s) to (d).
There is no operation error.
Ladder diagram Structured text
ENO:=MOVB(EN,s,d);
ENO:=MOVBP(EN,s,d);
Operand Description Range Data type Data type (label)
(s) Head device for storing the transfer-source data Bit ANY_BOOL
(d) Head device for storing the transfer-destination data Bit ANY_BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s)
*1
(d)
*1
0 1
1
1
(d) (s)
∙∙∙
∙∙∙
(d) (s)
Before transfer
After transfer
Bit transfer