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

Structured. fundamentals
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

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: K-32768 to K32767
• Hexadecimal constants: H0000 to HFFFF
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.)
Using bit devices
By specifying digits of bit devices, word data can be used.
Specify digits of bit data as "[Number of digits][Start number of bit device]".
Digits can be specified in the range from K1 to K4 in unit of 4 points (4 bits).
(For a link direct device, specify as "J[Network No.]\[Number of digits][Start number of bit device]". To specify X100 to 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
Digit specification
K1X0
K2X0
K3X0
K4X0
• For FXCPU, the device numbers of input/output (X, Y) is assigned in octal.
Digit specification
K1X0
K2X0
K3X0
K4X0
XF
XC XB
X8 X7
K3 specification
range
(12 points)
K4 specification
range
(16 points)
Number of target points
4 points of X0 to X3
8 points of X0 to X7
12 points of X0 to XB
16 points of X0 to XF
Number of target points
4 points of X0 to X3
8 points of X0 to X7
12 points of X0 to X13
16 points of X0 to X17
X4 X3
X0
K1 specification
range
(4 points)
K2 specification
range
(8 points)
4 PROGRAM CONFIGURATION
4.4 Method for Specifying Data
4
37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec f seriesMelsec l series

Table of Contents