Relational Functions - GE PACSystems RX7i Cpu Programmer's Reference Manual

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

4.12 Relational Functions

Relational functions compare two values of the same data type or determine whether a number lies
within a specified range. The original values are unaffected.
Function
Mnemonic
Compare
CMP_DINT
CMP_INT
CMP_REAL
CMP_LREAL
CMP_UINT
Equal
EQ_DATA
EQ_DINT
EQ_INT
EQ_REAL
EQ_LREAL
EQ_UINT
Greater or Equal GE_DINT
GE_INT
GE_REAL
GE_LREAL
GE_UINT
Greater Than
GT_DINT
GT_INT
GT_REAL
GT_LREAL
GT_UINT
Less or Equal
LE_DINT
LE_INT
LE_REAL
LE_LREAL
LE_UINT
Less Than
LT_DINT
LT_INT
LT_REAL
LT_LREAL
LT_UINT
Not Equal
NE_DINT
NE_INT
NE_REAL
NE_LREAL
NE_UINT
RANGE_DINT
Range
RANGE_DWORD
RANGE_INT
RANGE_UINT
RANGE_WORD
GFK-2950C
Chapter 4. Ladder Diagram (LD) Programming
Description
Compares two numbers, IN1 and IN2, of the data type specified by the
mnemonic.
If IN1 < IN2, the LT output is turned ON.
If IN1 = IN2, the EQ output is turned ON.
If IN1 > IN2, the GT output is turned ON.
Tests two numbers for equality
Tests whether one number is greater than or equal to another
Tests whether one number is greater than another
Tests whether one number is less than or equal to another
Tests whether one number is less than another
Tests two numbers for inequality
Tests whether one number is within the range defined by two other
supplied numbers
February 2018
211

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents