Mitsubishi MELSEC Q Series Programming Manual page 706

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

Advertisement

(SCL(P),DSCL(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 X coordinates of the scaling conversion data positioned before the point specified by
S1
• The input value specified by
• The number of X and Y coordinates of the device specified by
1 to 32767.
• The number of X and Y coordinates of the device specified by
range.
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]
[Operation]
7-332
are not set in ascending order. (However, this error is not detected when SM750 is on.)
Scaling conversion data component
Setting item
Device Setting contents
D100
K5
Number of coordinate points
X coordinate
D101
K5
Point 1
Y coordinate
D102
K13
X coordinate
D103
K10
Point 2
Y coordinate
D104
K15
X coordinate
D105
K17
Point 3
Y coordinate
D106
K13
X coordinate
D107
K20
Point 4
Y coordinate
D108
K8
X coordinate
D109
K25
Point 5
Y coordinate
D110
K22
is out of the range of the scaling conversion data set.
S1
[List Mode]
Step
Y
Point 2
(10,15)
Point 1
(5,13)
D20=11
(Output value)
(Error code: 4100)
(Error code: 4100)
is out of the range from
S2
(Error code: 4100)
is out of the specified
S2
(Error code: 4101)
Instruction
Device
Point 3
(17,13)
Point 4
(20,8)
Point 5
(25,4)
X
D0=18
(Output value)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents