Arithmetic Operation Instructions - Mitsubishi MELSEC-Q series Programming Manual

Process control instructions
Hide thumbs Also See for MELSEC-Q series:
Table of Contents

Advertisement

Instruction
Category
symbol
Compensa-
tion operation
S.IENG
instruction
6.2.4

Arithmetic operation instructions

Instruction
Category
symbol
S.ADD
S.SUB
Arithmetic
operation
instruction
S.MUL
S.DIV
Symbol
S.IENG
S1 D1 S2 D2
S_IENG
EN
ENO
s1
d1
s2
d2
ENO:=S_IENG(EN,s1,s2,d1,d2);
Symbol
S.ADD
S1 D1 S2 D2
S_ADD
EN
ENO
s1
d1
s2
d2
ENO:=S_ADD(EN,s1,s2,d1,d2);
S.SUB
S1 D1 S2 D2
S_SUB
EN
ENO
s1
d1
s2
d2
ENO:=S_SUB(EN,s1,s2,d1,d2);
S.MUL
S1 D1 S2 D2
S_MUL
EN
ENO
s1
d1
s2
d2
ENO:=S_MUL(EN,s1,s2,d1,d2);
S.DIV
S1 D1 S2 D2
S_DIV
EN
ENO
s1
d1
s2
d2
ENO:=S_DIV(EN,s1,s2,d1,d2);
Processing details
Reversely converts the input data from
the engineering value and outputs the
result.
Processing details
Adds the input data with coefficients.
Subtracts the input data with
coefficients.
Multiplies the input data with
coefficients.
Divides the input data with coefficients.
Number of
Reference
steps
8
Page 219
Number of
Reference
steps
8
Page 221
8
Page 223
8
Page 225
8
Page 227
47
1
2
3
4
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents