Dfc_Cmp - Delta Standard AX Series Instruction Manual

Table of Contents

Advertisement

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

2.1 DFC_CMP

Supported Products
AX series
DFC_CMP: Comparison between LINT variables.
FB/FC
Instruction
FC
DFC_CMP
Inputs
Name
liSrc1
liSrc2
*Note: The variable types SINT, INT, DINT and LINT can be used for inputs.
Outputs
Name
DFC_CMP
Function
The FC instruction is used to compare the values in variable 1 with that in variable 2.
Function
Variable1
Variable2
Function
Execution result
(Return type)
Graphic Expression
Data Type
LINT*
LINT*
Data Type
WORD
Chapt er 2
ST Language
DFC_CMP(
liSrc1:= ,
liSrc2:= )
Setting Value
(Default value)
LINT:-2
63
~ 2
63
-1
(0)
LINT:-2
63
~ 2
63
-1
(0)
Output Range
(Default value)
1:liSrc1 = liSrc2
2:liSrc1 < liSrc2
3:liSrc1 > liSrc2
(0)
11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Standard as02puStandard as04pu

Table of Contents