Using Double Word Data (32 Bits) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

3.2.3

Using double word data (32 bits)

Double word data is 32-bit numerical data used by basic instructions and application instructions.
The two types of double word data that can be dealt with by CPU module are as follows:
• Decimal constants................. K-2147483648 to K2147483647
• Hexadecimal constants ......... H00000000 to HFFFFFFFF
Word devices and bit devices designated by digit designation can be used as double word data.
For direct access input (DX) and direct access output (DY), designation of double word data is
not possible by digit designation.
(1) When Using Bit Devices
(a) Digit designation can be used to enable a bit device to deal with double word data.
(b) In cases where digit designation has been made at the source (S) , the numeric values
Number of Digits
Designated
K1 (4 points)
K2 (8 points)
K3 (12 points)
K4 (16 points)
3-6
Digit designation of bit devices is done by designating
Number of digits
"
is done by
Network No.
"J
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:
• K1X0 ...... The 4 points X0 to X3 are
designated.
• K2X0 ...... The 8 points X0 to X7 are
designated.
• K3X0 ...... The 12 points X0 to XB are
designated.
• K4X0 ...... The 16 points X0 to XF are
designated.
X1F
X1C X1B
X18 X17
Fig 3.4 Digit Designation Setting Range for 32-Bit Instructions
shown in Table 3.2 are those which can be dealt with as source data.
Table 3.2 List of Numeric Values that Can Be Dealt with as Digit Designation
With 32 Bit Instructions
0 to 15
0 to 255
0 to 4095
0 to 65535
Head number of bit device
Number of digits
\
X14 X13
X10 XF
XC XB
K5 designation range
K6 designation range
(24 points)
K7 designation range
(28 points)
K8 designation range
(32 points)
Number of Digits
Designated
K5 (20 points)
K6 (24 points)
K7 (28 points)
K8 (32 points)
". For link direct devices, designation
Head number of bit device
• K5X0...... The 20 points X0 to X13 are
designated.
• K6X0...... The 24 points X0 to X17 are
designated.
• K7X0...... The 28 points X0 to X1B are
designated.
• K8X0...... The 32 points X0 to X1F are
designated.
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)
(20 points)
With 32 Bit Instructions
0 to 1048575
0 to 16777215
0 to 268435455
2147483648 to 2147483647
". When X100

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents