EasyManuals Logo

Panasonic FP Series User Manual

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #105 background imageLoading...
Page #105 background image
Comparison instructions
104
Part II IEC Instructions
GT
Greater than
To add an enable input and enable output to the instruction, select [With EN/ENO] from the
"Instructions" pane (LD, FBD or IL editor). To reuse an instruction select "Recently used" from the
context menu or press <Ctrl>+<Shift>+<v> in the programming window.
PLC types
Availability of GT (see page 1335)
Inputs can be of any data type; all input variables must be of the same
data type though. Output must be of type BOOL.
The number of input contacts lies in the range of 2 to 28.
The number of steps may vary depending on the PLC and parameters
used, see also Table of Code Intensive Instructions in the online help.
Data type I/O Function
all data types 1st input value for comparison
all data types 2nd input reference value
BOOL output result, TRUE if value for comparison is greater than the reference value
The variables that are compared to each other must be of the same data type.
When using more inputs, the first input is compared with the second, the second input is compared
with the third input etc. If the first value is greater than the second value AND the second value
greater than third etc., TRUE will be written into result, otherwise FALSE.
In this example the input variables (comparison_value, reference_value and enable) have been
declared. Instead, you may enter constants directly into the function (enable input e.g. for tests).
Description
The content of the accumulator is compared with the operand defined in the operand field. If the
accumulator is greater than the reference value, "TRUE" is stored in the accumulator, otherwise
"FALSE".
Data types
Example
In this example, the same POU header is used for all programming languages. For an example
using IL (instruction list), please refer to the online help.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
If enable is set (TRUE), the comparison_value is compared with the reference_value. If the
comparison_value is greater than the reference_value, the value TRUE will be written into
result, otherwise FALSE.

Table of Contents

Other manuals for Panasonic FP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP Series and is the answer not in the manual?

Panasonic FP Series Specifications

General IconGeneral
MountingDIN rail
TypePLC
Communication InterfaceRS-232, RS-485, Ethernet (depending on model)
Input Voltage100-240V AC or 24V DC (depending on model)
Output TypeRelay, Transistor
I/O PointsVaries by model
Operating Temperature0°C to 55°C
DimensionsVaries by model
WeightVaries by model

Related product manuals