2-107
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Comparison Instructions
2
AryCmpLT, AryCmpLE, AryCmpGT, and AryCmpGE
AryCmpLT, AryCmpLE,
AryCmpGT, and AryCmpGE
These instructions compare the values of the elements of two arrays.
AryCmpLT: Performs a less than comparison.
AryCmpLE: Performs a less than or equal comparison.
AryCmpGT: Performs a greater than comparison.
AryCmpGE: Performs a greater than or equal comparison.
Instruction Name FB/FUN Graphic expression ST expression
AryCmpLT Array Comparison
Less Than
FUN AryCmpLT(In1, In2, Size,
AryOut);
AryCmpLE Array Comparison
Less Than Or Equal
FUN AryCmpLE(In1, In2, Size,
AryOut);
AryCmpGT Array Comparison
Greater Than
FUN AryCmpGT(In1, In2, Size,
AryOut);
AryCmpGE Array Comparison
Greater Than Or
Equal
FUN AryCmpGE(In1, In2, Size,
AryOut);
(@)AryCmpLT
EN ENO
In1 Out
In2
Size
AryOut
(@)AryCmpLE
EN ENO
In1 Out
In2
Size
AryOut
(@)AryCmpGT
EN ENO
In1 Out
In2
Size
AryOut
(@)AryCmpGE
EN ENO
In1 Out
In2
Size
AryOut