Word (16 Bits) Data - Mitsubishi MELSEC-Q Series Programming Manual

Mitsubishi programmable controller
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

4.4.2

Word (16 bits) data

Word data are 16-bit numeric value data used in basic instructions and application instructions.
The following shows the two types of word data that can be handled in CPU modules.
• Decimal constants ................ -32768 to 32767
• Hexadecimal constants ........ 0000
For word data, word devices and digit specification for bit devices can be used.
Note that word data cannot be specified using digit specification for direct access inputs (DX) and
direct access outputs (DY). (For direct access inputs and direct access outputs, refer to the
User's Manual (Function Explanation, Program Fundamentals) of the CPU module to be used.)
(1) Using bit devices
(a) By specifying a digit for bit devices, word data can be used.
Specify a digit for bit data as '
specified in the range from K1 to K4 in unit of 4 points (4 bits). (For a link direct device,
specify as 'J
X10F of Network No.2, specify as J2\K4X100.)
The following are the examples of the target points when a digit is specified for X0.
• K1X0 ....... 4 points of X0 to X3
• K2X0 ....... 8 points of X0 to X7
• K3X0 ....... 12 points of X0 to XB
• K4X0 ....... 16 points of X0 to XF
XF
Figure 4.4.2-1 Digit specification setting range of word data (16 bits)
(b) The following table shows the numeric values that can be used as source data when a
digit is specified at the source
to FFFF
H
Number of digits
\
Network No. Number of digits
to
XC XB
to
K4 specification range
.
s
Table 4.4.2-2 List of digit specification and numeric values that can be used
Number of specified
digits
K1 (4 points)
K2 (8 points)
K3 (12 points)
K4 (16 points)
H
Start number of bit device
Start number of bit device
X8 X7
to
X4 X3
K1 specification
range
(4 points)
K2 specification range
(8 points)
K3 specification range
(12 points)
(16 points)
Value range
0 to 15
0 to 255
0 to 4095
−32768 to 32767
4.4 Method for Specifying Data
4.4.2 Word (16 bits) data
'. A digit can be
'. To specify X100 to
to
X0
4-23
4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l seriesMelsec-f series

Table of Contents