Allen-Bradley LOGIX 5000 Reference Manual page 374

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

Advertisement

Chapter 4
Select_Limit Instructions
374
SNEG Structure
Input Parameter
Data Type
EnableIn
BOOL
In
REAL
NegateEnable
BOOL
Output
Data Type
Parameter
EnableOut
BOOL
Structured Text
Operand
Type
SNEG tag
SELECTABLE_NEGATE
See Structured Text Syntax for more information on the syntax of expressions
within structured text.
Description
The SNEG instruction operates as follows:
Condition
NegateEnable is true
NegateEnable is false
Affects Math Status Flags
No
Major/Minor faults
None specific to this instruction. See Common Attributes for operand-related
faults.
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Description
Enable input. If false, the instruction
does not execute and outputs are not
updated.
Default is true.
Structured Text:
No effect. The instruction executes.
The analog signal input to the
instruction.
Valid = any float
Default = 0.0
Negate enable. When NegateEnable is
true, the instruction sets Out to the
negative value of In.
Default is true.
Description
Indicates if instruction is enabled.
Cleared to false if Out overflows.
Format
Structure
Action
Out = - In
Out = In
Description
SNEG structure

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents