Mitsubishi MELSEC-Q/L Programming Manual page 567

Table of Contents

Advertisement

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.
Error
code
The X coordinates are not set in ascending order.
The input value specified in
4100
conversion data set.
The number of X and Y coordinates of the device specified in
within the range from 1 to 32767.
The number of X and Y coordinates of the device specified in
4101
exceeds the specified range.
Program Example
(1) The following program executes scaling for the scaling conversion data of which the devices specified at D110 and up
are set with the input value specified at D0, and then outputs the data at D200.
[Ladder Mode]
[Operation]
Scaling conversion data component
Setting item
Device Setting contents
Number of coordinate points
D110
K5
Point 1
D111
K7
Point 2
D112
K13
X coordi n ate
Point 3
D113
K15
Point 4
D114
K18
Point 5
D115
K20
Point 1
D116
K-14
Y coordi n ate
Point 2
D117
K-7
Point 3
D118
K-15
Point 4
D119
K-11
Point 5
D120
K-18
Error details
is not within the range of the scaling
S1
[List Mode]
Step
Y
D0=11
(Input value)
D200=-9
Output value
(
)
Point 1
(7, -14)
SCL2, SCL2P, DSCL2, DSCL2P
Q00J/
Q00/
QnH
QnPH QnPRH
Q01
––
––
is not
S2
S2
––
––
Instruction
Device
X
Point 2
(13, -7)
Point 4
(18, -11)
Point 3
(15, -9)
Point 5
(20, -13)
QnU
LCPU
––
––
––
––
565
1
2
3
4
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents