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

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
6 Explanation of Instructions and Functions
6.3 Data Designation Method

6.3.2 Word (16 Bits) Data

Word data is a 16-bit numerical value data used with the basic instructions and applied instructions.
Word devices and digit-designated bit devices can be used with the word data.
 When using bit devices
Bit devices can be used as word devices by designating digits.
Digit designation of bit devices is done by designating "Number of digits" and "Initial number of bit device".
The digits can be designated between K1 and K4 with a 4-point (4-bit) unit.
The target numbers of points when X0 is designated as the digit are shown below.
 K1X0: The 4 points X0 through X3 are designated
 K2X0: The 8 points X0 through X7 are designated
 K3X0: The 12 points X0 through XB are designated
 K4X0: The 16 points X0 through XF are designated
XF
to
XC XB
K4 designation
range
(16 points)
List of numeric values that can be dealt with as source data for digit designation at source (S) side
Number of digits designated
K1 (4 points)
K2 (8 points)
K3 (12 points)
K4 (16 points)
If the source side is a digit-designated bit device, and the destination is a word device, the word device on the destination side
will be 0 after the digit-designated bits on the source side.
Ladder example
With 16-Bit Instruction
to
X8 X7
to
X4 X3
K2 designation
range
(8 points)
K3 designation
range
(12 points)
With 16-bit instruction
0 to 15
0 to 255
0 to 4095
-32768 to 32767
MOV K1X0
D0
Source (S) data
to
X0
K1 designation
range
(4 points)
Processing
Become 0
........................
b15
0 0 0 0 0 0 0 0 0 0 0
D0
99
X3X2X1X0
K1X0
b3 b2 b1 b0
b4
0
X3X2X1X0
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents