Compensation Operation Instruction; Arithmetic Operation Instruction - Mitsubishi Electric MELSEC-Q QnPHCPU Programming Manual

Table of Contents

Advertisement

6 INSTRUCTION LIST

6.2.3 Compensation operation instruction

Instruction
Category
Symbols
Compensa-
tion
S.FG
operation
instruction
S.IFG
S.FLT
S.SUM
S.TPC
S.ENG
S.IENG

6.2.4 Arithmetic operation instruction

Instruction
Category
Symbols
Arithmetic
S.ADD
operation
instruction
S.SUB
S.MUL
S.DIV
S.SQR
S.ABS
6 - 5
Table 6.4 Compensation Operation Instruction
Symbol
S.FG
S1 D1 S2 D2
S.IFG
S1 D1 S2 D2
S.FLT
S1 D1 S2 D2
S.SUM
S1 D1 S2 D2
S1 D1 S2 D2
S.TPC
S.ENG
S1 D1 S2 D2
S.IENG
S1 D1 S2 D2
Table 6.5 Arithmetic Operation Instruction
Symbol
S.ADD
S1 D1 S2 D2
S.SUB
S1 D1 S2 D2
S.MUL
S1 D1 S2 D2
S.DIV
S1 D1 S2 D2
S.SQR
S1 D1 S2 D2
S.ABS
S1 D1 S2 D2
Processing Details
Outputs the value that follows
the function generator pattern
whose input data is specified.
Outputs the value that follows
the inverse function generator
pattern whose input data is
specified.
Outputs the average value of n
pieces of data sampled at the
specified data collection
intervals.
Integrates the input data and
outputs the result.
Makes temperature/pressure
correction to the input data and
outputs the result.
Converts the input data into an
engineering value.
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.
Outputs the square root (
the input data.
Outputs the absolute value of the
input data.
MELSEC-Q
See for
Number of
Descript
Basic Steps
ion
7
10- 1
8
10- 3
8
10- 5
8
10- 8
8
10-10
8
10-12
8
10-14
See for
Number of
Descript
Basic Steps
ion
8
11- 1
8
11- 3
8
11- 5
8
11- 7
) of
8
11- 9
8
11-11
6 - 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q qnprhcpu

Table of Contents