Allen-Bradley LOGIX 5000 Reference Manual page 58

Controllers advanced process control and drives and equipment phase and sequence instructions
Hide thumbs Also See for LOGIX 5000:
Table of Contents

Advertisement

Chapter 1
Process Control Instructions
58
Structured Text
Operand
Type
FGEN tag
FUNCTION_
GENERATOR
X1
REAL
Y1
REAL
X2
REAL
Y2
REAL
See Structured Text Syntax for more information on the syntax of expressions
within structured text.
FUNCTION_GENERATOR Structure
Input Parameter
Data Type
EnableIn
BOOL
In
REAL
XY1Size
DINT
XY2Size
DINT
Select
BOOL
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Format
Description
structure
FGEN structure
array
X-axis array, table one. Combine with the Y-axis array, table one to
define the points of the first piece-wise linear curve.
Valid = any float
array
Y-axis array, table one. Combine with the X-axis array, table one to
define the points of the first piece-wise linear curve.
Valid = any float
array
(optional)
X-axis array, table two. Combine with the Y-axis array, table two to
define the points of the second piece-wise linear curve.
Valid = any float
array
(optional)
Y-axis array, table two. Combine with the X-axis array, table two to
define the points of the second piece-wise linear curve.
Valid = any float
Description
Enable input. If false, the instruction does not execute and
outputs are not updated.
Default is true.
The analog signal input to the instruction.
Valid = any float
Default = 0.0
Number of points in the piece-wise linear curve to use from
table one. If the value is less than one and Select is cleared,
the instruction sets the appropriate bit in Status and the
output is not changed.
Valid = 1 to (smallest of X1 and Y1 array sizes)
Default = 1
Number of points in the piece-wise linear curve to use from
table two. If the value is less than one and Select is set, the
instruction sets the appropriate bit in Status and the output
is not changed.
Valid = 0 to (smallest of X2 and Y2 array sizes)
Default = 0
This input determines which table to use. When cleared,
the instruction uses table one; when set, the instruction
uses table two.
Default is cleared.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents