Mitsubishi Electronics 13JW55 Network Card User Manual


 
5 - 9
5.2 Transfer Instruction
Project name QB-11
Program name MAIN
5.2.1 MOV (P) 16-bit data transfer
X7 T0
T0
1
T0
K50
C10
K1500
X1
C10
RST13
X2
D0
T0
18
MOV
X3
D1
C1021 MOVP
X4
D2
K15724 MOVP
X5
D3
H4A9D
27
MOVP
2
3
0
DS
1
When the input condition turns on, the current value of the timer T0 is transferred
to the data register D0.
S
... Source,
D
... Destination
The current value of T0 is stored in the register in binary (BIN code). And the
value is transferred to the data register D0 in binary (The code is not converted at
the transfer.)
0000000000101101T0
842112864 32 16
0000000000101101D0
842112864 32 16
45
2
When the input condition turns on, the decimal number 157 is transferred to the
data register D2. And the value is stored in the register in binary. The decimal
number (K) is converted into binary automatically, then transferred.
0000000010011101D2
842112864 32 16
K157