Fbd_Math_Advanced Structure; Relay Ladder; Function Block - Allen-Bradley Logix5000 Reference Manual

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Input Parameter
Data Type
EnableIn
BOOL
Source
REAL
Output Parameter
Data Type
EnableOut
BOOL
Dest
REAL
Description:
Arithmetic Status Flags:
Fault Conditions:
Condition
Prescan
Rung-condition-in is false
Rung-condition-in is true
Postscan
Condition
Prescan
Instruction first scan
Instruction first run
EnableIn is cleared
EnableIn is set
Postscan

FBD_MATH_ADVANCED Structure

Description
Enable input. If cleared, the instruction does not execute and outputs are not updated.
Default is set.
Input to the conversion instruction.
Valid = any float
Description
The instruction produced a valid result.
Result of the conversion instruction. Arithmetic status flags are set for this output.
The DEG instruction uses this algorithm:
Source*180/π (where π = 3.141593)
Arithmetic status flags are affected.
None
Execution:

Relay Ladder

Action
The rung-condition-out is set to false.
The rung-condition-out is set to false.
The controller converts the Source to degrees and places the result in the Destination.
The rung-condition-out is set to true.
The rung-condition-out is set to false.

Function Block

Action
No action taken.
No action taken.
No action taken.
EnableOut is cleared.
The instruction executes.
EnableOut is set.
No action taken.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Math Conversion Instructions (DEG, RAD, TOD, FRD, TRN, TRUNC)
Chapter 16
559

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents