Mitsubishi Electric MELSEC-Q QnPHCPU Programming Manual page 215

Table of Contents

Advertisement

11 ARITHMETIC OPERATION INSTRUCTIONS
Control Data
(1) Data specified in S.SUB instruction
Specification position
Symbol
S1
+0
n
+1
E1
+2
+3
Input data
E2
+4
+2n-1
En
+2n
D1
Block
+0
BW
memory
+1
S2
n
+0
+1
K1
+2
+3
K2
Operation
+4
constant
+2n-1
Kn
+2n
+2n+1
B
+2n+2
*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.SUB instruction instructs the following operation.
BW
(2) When n is 0, BW
Error
• When an operation error occurs
• When not n
11 - 4
Name
Input count
0 to 5
Input value 1
Input value 2
-999999 to 999999
Input value n
Output value
(-999999 to 999999)
Number of
0 to 5
coefficients
Coefficient 1
Coefficient 2
-999999 to 999999
Coefficient n
Bias
-999999 to 999999
E2) ...
(K1
E1)
(K2
B.
0 to 5.
Recommended range*1
(Kn
En)
B
MELSEC-Q
Standard
Unit
Data format
value
BIN
16Bit
Real
number
Real
number
BIN
0
16Bit
Real
1.0
number
Real
0.0
number
Error code: 4100
Error code: 4100
11 - 4
Store
U
U
S
U
U
U

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q qnprhcpu

Table of Contents