Mitsubishi Electric MELSEC-Q/L Programming Manual page 678

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Operation error
• 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
Error details
code
4100
The X coordinates are not set in ascending order.
The input value specified in (S1) is not within the range of the scaling
conversion data set.
The number of X and Y coordinates of the device specified in (S2) is not
within the range from 1 to 32767.
4101
The number of X and Y coordinates of the device specified in (S2) exceeds
the specified range.
Program example
• 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
Number of coordinate points
X coordinate
Point 1
Point 2
Point 3
Point 4
Point 5
Y coordinate
Point 1
Point 2
Point 3
Point 4
Point 5
7 APPLICATION INSTRUCTIONS
676
7.13 Data Control Instructions
Device
Setting contents
D110
K5
D111
K7
D112
K13
D113
K15
D114
K18
D115
K20
D200=-9
D116
K-14
(Output value)
D117
K-7
D118
K-15
D119
K-11
D120
K-18
Q00J/
Q00/
Q01
[List Mode]
Step
Instruction
Y
D0=11
(Input value)
Point 2
(13, -7)
Point 1
(7, -14)
QnH
QnPH
QnPRH
Device
X
Point 4
(18, -11)
Point 3
(15, -9)
Point 5
(20, -13)
QnU
LCPU

Advertisement

Table of Contents
loading

Table of Contents