7-336
SCL2,DSCL2
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 X coordinates are not set in ascending order. (Error code: 4100)
• The input value specified by is out of the range of the scaling conversion data set.
(Error code: 4100)
• The number of X and Y coordinates of the device specified by is out of the range from
1 to 32767. (Error code: 4100)
• The number of X and Y coordinates of the device specified by is out of the specified
range. (Error code: 4101)
Program Example
(1) The following program executes scaling for the scaling conversion data of which the devices
specified at D100 and up are set with the input value specified at D0, and then outputs the
data at D20.
[Ladder Mode] [List Mode]
[Operation]
S1
S2
S2
Step
Instruction
Device
Scaling conversion data component
Setting item Device
Setting contents
Number of coordinate points
X coordinate
Y coordinate
Point 1
Point 2
Point 3
Point 2
Point 4
Point 5
Point 1
Point 3
Point 4
Point 5
D110 K5
D111 K7
D112 K13
D113 K15
D114K18
D115 K20
D116 K-14
D117 K-7
D118 K-15
D119 K-11
D120 K-18
Y
Point 1
(7, -14)
Point 2
(13, -7)
Point 3
(15, -9)
Point 5
(20, -13)
Point 4
(18, -11)
X
D0=11
(Input value)
D200=-9
(
Output value
)