Mitsubishi MELSEC Q Series Programming Manual page 709

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
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.
• The X coordinates are not set in ascending order.
• 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 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
Point 1
Point 2
X coordi n ate
Point 3
Point 4
Point 5
Point 1
Y coordi n ate
Point 2
Point 3
Point 4
Point 5
is out of the range of the scaling conversion data set.
S1
Device Setting contents
D110
K5
Y
D111
K7
D112
K13
D113
K15
D114
K18
D115
K20
D116
K-14
D200=-9
Output value
(
)
D117
K-7
D118
K-15
D119
K-11
D120
K-18
is out of the range from
S2
is out of the specified
S2
[List Mode]
Step
Instruction
D0=11
(Input value)
Point 2
(13, -7)
Point 4
(18, -11)
Point 3
(15, -9)
Point 5
(20, -13)
Point 1
(7, -14)
SCL2,DSCL2
(Error code: 4100)
(Error code: 4100)
(Error code: 4100)
(Error code: 4101)
Device
X
7-335
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents