Mitsubishi Electric MELSEC Q Series Programming Manual page 40

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

Advertisement

The following table shows the numeric values that can be used as source data when digits are specified at the source (s).
Number of specified digits
K1 (4 points)
K2 (8 points)
K3 (12 points)
K4 (16 points)
When destination (D) data is a word device, the word device for the destination becomes 0 following the bit designated by
digit designation at the source.
Ladder example
• Instruction that processes 16-bit data
X10
EN
K1X0
s
s
Source
When digits are specified at the destination (d), the points by the specified digit are the target of destination.
The status of bit devices which follow the digit-specified bit devices is not changed.
Ladder example
• When the source (s) is a numeric value
X10
H1234
• When the source (s) is a word device
X10
D0
Using word devices
A word device is specified in unit of one point (16 bits).
M0
EN
100
s
• When performing the process with digit specification, a desired value can be used for the start device
number of bit devices.
• Digits cannot be specified for direct access inputs/outputs (DX, DY).
4 PROGRAM CONFIGURATION
38
4.4 Method for Specifying Data
MOV
ENO
d
D0
MOV
EN
ENO
s
d
K2M0
Destination
d
MOV
EN
ENO
s
d
K2M100
d
Destination
MOV
ENO
d
D0
One point (16 bits) of D0
is the target word device
Value range
0 to 15
0 to 255
0 to 4095
-32768 to 32767
Processing
0s are stored
b15
D0
0 0
0 0 0 0 0 0 0 0 0 0
Processing
1
2
H1234 0
0
0
1
0
0
1
M15
K2M0
Not changed
b15
D0 1
1
1
0
1
0
M115
K2M100
Not changed
K1X0
X3 X2 X1 X0
b4
b3
b2
b1
b0
X3
X2 X1 X0
3
4
0
0 0 1 1 0 1 0 0
M8
M7
M0
0 0 1 1 0 1 0 0
3
4
b8
b7
b0
1
0
1 0 0 1 1 1 0 1
M108
M107
M100
1
0 0 1 1 1 0 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec f seriesMelsec l series

Table of Contents