86
(1) When Using Bit Devices
(a) Digit designation can be used to enable a bit device to deal with double word data.
Digit designation of bit devices is done by designating
" ". For link direct devices, designation is done by
"J \ ". When X100 to X11F are
designated for Network No.2, it is done by J2\K8X100. Digit designation of bit devices can be done in 4-point (4-bit)
units, and designation can be made for K1 to K8. For example, if X0 is designated for digit designation, the following
points would be designated:
Fig 3.4 Digit Designation Setting Range for 32-Bit Instructions
(b) In cases where digit designation has been made at the source (S) , the numeric values shown in the following Table
are those which can be dealt with as source data.
(c) When destination (D) data is a word device
The word device for the destination becomes 0 following the bit designated by digit designation at the source.
Fig 3.5 Ladder Example and Processing Conducted
• K1X0.......The 4 points X0 to X3 are designated. • K5X0.......The 20 points X0 to X13 are designated.
• K2X0.......The 8 points X0 to X7 are designated. • K6X0.......The 24 points X0 to X17 are designated.
• K3X0.......The 12 points X0 to XB are designated. • K7X0.......The 28 points X0 to X1B are designated.
• K4X0.......The 16 points X0 to XF are designated. • K8X0.......The 32 points X0 to X1F are designated.
Number of Digits Designated With 32 Bit Instructions Number of Digits Designated With 32 Bit Instructions
K1 (4 points) 0 to 15 K5 (20 points) 0 to 1048575
K2 (8 points) 0 to 255 K6 (24 points) 0 to 16777215
K3 (12 points) 0 to 4095 K7 (28 points) 0 to 268435455
K4 (16 points) 0 to 65535 K8 (32 points) -2147483648 to 2147483647
Ladder Example Processing
With 32 bit Instructions
Number of digits Head number of bit device
Network No. Number of digits Head number of bit device
X1F X1C X1B X18 X17 X14 X13 X10 XF XC XB X8 X7 X4 X3 X0
K1
designation
range
(4 points)
K2 designation
range
(8 points)
K3 designation range
(12 points)
K4 designation range
(16 points)
K5 designation range
(20 points)
K6 designation range
(24 points)
K7 designation range
(28 points)
K8 designation range
(32 points)
0 0
X3
b0
D0
K1X0
b1
b2b3
0000000000
X2 X1 X0
Filled with 0s
X3
X2 X1
X0
00
D1
00000000000000
Filled with 0s
b31 b16
b15b4
X10
DMOVK1X0 D0
Source (S) data