Mitsubishi Electric MELSEC-Q QnPHCPU Programming Manual page 200

Table of Contents

Advertisement

10 COMPENSATION OPERATION INSTRUCTIONS
Control data
(1) Data specified in S.IFG instruction
Specified position
Symbol
+0
S1
Input data
E1
+1
Block
+0
D1
BW
memory
+1
Operation
+0
SN
S2
constant
+0
D2
X1
+1
+2
Y1
+3
+4
X2
+5
Local
+6
work
Y2
+7
memory
+4SN-4
Xn
+4SN-3
+4SN-2
Yn
+4SN-1
*1: The data of the item(s) where the values within the recommended range are given in the parentheses are stored by the system.
Users cannot set the data.
Processing contents
(1) The S.IFG instruction performs the following operation.
E1
Y
i-1
Yn
(2) When n
(3) When Y
When there are multiple X
ERROR
• When an operation error occurs
• When (n
10 - 4
Name
Input value
-999999 to 999999
Output value
(-999999 to 999999)
Number of
0 to 48
polygon points
Polygon point
coordinates
Polygon point
coordinates
Polygon point
coordinates
Polygon point
-999999 to 999999
coordinates
Polygon point
coordinates
Polygon point
coordinates
Condition
Y1
BW X1
BW
E1
Y
(i
2 to n)
i
E1
BW Xn
0 there is no processing.
Y
, the value is cut off to n
i-1
i
for the same Y
i
0) or (n
48)
*1
Recommended range
Output value (BW)
X
X
i
i
1
(E1 Y
)
X
i
1
Y
Y
i
i
1
i-1 (Data after that is ignored.)
, the lowest i is selected.
i
MELSEC-Q
Unit
Data format
Real number
Real number
BIN
16Bit
Real number
i
1
Error code: 4100
Error code: 4100
Standard
Store
value
U
S
0
U
U
10 - 4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q qnprhcpu

Table of Contents