Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-333
(SCL(P),DSCL(P))
1
2
3
4
6
6
7
8
7.13 Data Control Instructions
7.13.4 Scaling (Point-by-point coordinate data) (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
are not set in ascending order. (However, this error is not detected when SM750 is on.)
(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
S1
S2
S2
Step
Instruction
Device
Scaling conversion data component
Setting item Device
Setting contents
D100 K5
D101 K5
D102 K13
D103 K10
D104 K15
D105 K17
D106 K13
D107 K20
D108 K8
D109 K25
D110 K22
Number of coordinate points
Point 1
X coordinate
Y coordinate
Point 2
X coordinate
Y coordinate
Point 4
X coordinate
Y coordinate
Point 3
X coordinate
Y coordinate
Point 5
X coordinate
Y coordinate
Y
Point 1
5 13
Point 2
10 15
Point 3
17 13
Point 5
25 4
Point 4
20 8
X
D20 11
Output value
D0 18
Output value