Absolute Value (M+P_Abs(_E)) - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Process control function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

4.5

Absolute Value (M+P_ABS(_E))

M+P_ABS(_E)
These FBs output the absolute value of an input value.
FBD/LD
[Without EN/ENO]
M+P_ABS
IN
OUT1
OUT2
■Block diagram
EN
Execution condition
IN
Processing in the dashed part is only carried out in functions with EN/ENO pins.
Setting data
■Input/output variable
Variable
Description
name
EN
Execution condition
IN
Input
ENO
Output status
OUT1
Output
OUT2
Input value sign detection
4 ANALOG VALUE SELECTION AND AVERAGE VALUE
68
4.5 Absolute Value (M+P_ABS(_E))
M+P_ABS(_E)
Output status
Absolute value
processing
[With EN/ENO]
M+P_ABS_E
EN
ENO
IN
OUT1
OUT2
ENO
OUT1
OUT2
Recommended
Type
range
TRUE: Execute
Input variable
FALSE: Stop
-999999 to 999999
Input variable
TRUE: Normal
Output variable
FALSE: Abnormal or
operation stop
-999999 to 999999
Output variable
0H to 2H
Output variable
0H: IN = 0
1H: IN > 0
2H: IN < 0
Data type
BOOL
REAL
BOOL
REAL
WORD

Advertisement

Table of Contents
loading

Table of Contents