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

Fundamentals
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-specified bit device 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) for the CPU module used.)
(1) Using bit devices
(a) By specifying digits of bit devices, word data can be used.
Specify digits of 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 digits are specified for X0.
QCPU (Q mode)/LCPU
• 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
FXCPU
For FXCPU, the device numbers of input/output (X, Y) is assigned in octal.
• K1X0 ....... 4 points of X0 to X3
• K2X0 ....... 8 points of X0 to X7
• K3X0 ....... 12 points of X0 to X13
• K4X0 ....... 16 points of X0 to X17
XF
Figure 4.4.2-1 Digit specification setting range of word data (16 bits)
to FFFF
H
H
Number of digits
\
Network No. Number of digits
to
to
XC XB
X8 X7
K4 specification range
(16 points)
Start number of bit device
'. To specify X100 to
Start number of bit device
to
X4 X3
to
K1 specification
range
(4 points)
K2 specification range
(8 points)
K3 specification range
(12 points)
4.4 Method for Specifying Data
4.4.2 Word (16 bits) data
'. Digits can be
X0
4-23
4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l seriesMelsec-f

Table of Contents