Dfc_Lrcmp - Delta Standard AX Series Instruction Manual

Table of Contents

Advertisement

AX Seri es-St andard I nst ruct i ons Manual

2.3 DFC_LRCMP

Supported Products
AX Series
DFC_LRCMP: Comparison between LREAL variables.
FB/FC
Instruction
FC
DFC_LRCMP
Input
Name
lrSrc1
lrSrc2
*Note: The variable types REAL and LREAL can be used for inputs.
Output
Name
DFC_LRCMP
Function
The FC instruction is used to compare the values in variable 1(lrSrc1) with that in variable 2(lrSrc2).
Function
Variable 1
Variable 2
Function
Execution result
(Return type)
Graphic Expression
Data Type
LREAL*
LREAL*
Data Type
WORD
ST Language
DFC_LRCMP(
lrSrc1:= ,
lrSrc2:= )
Setting Value
(Default Value)
LREAL:-1.7976931348623157E+308 ~
1.7976931348623157E+308
(0)
LREAL:-1.7976931348623157E+308 ~
1.7976931348623157E+308
(0)
Output Range
(Default Value)
1:lrSrc1 = lrSrc2
2:lrSrc1 < lrSrc2
3:lrSrc1 > lrSrc2
(0)
Chapt er 2
1 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Standard as02puStandard as04pu

Table of Contents