Mitsubishi MELSEC Q Series Programming Manual page 452

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

DIS(P)
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The range n-points from
• The value of n is outside the 0 to 4 range.
Program Example
(1) The following program dissociates the 16-bit data from D0 into 4-bit groups, and stores from
D10 to D13 when X0 is ON.
[Ladder Mode]
[Operation]
b15
D0
1 1 0 0 1 0 0 1 0 1 0 1 0 0 0 1
7-78
exceeds the relevant device.
D
b12 b11
b8
b7
b4 b3
b0
[List Mode]
Step
Instruction
b15
b4
b3
b2
D10
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
D11
0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1
D12
0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1
D13
0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0
Filled with 0s.
Storage area
(Error code: 4101)
(Error code: 4100)
Device
b1
b0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents