12.07.2015 Views

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Math Conversion <strong>Instructions</strong> (DEG, RAD, TOD, FRD, TRN, TRUNC) 565Convert to Integer (FRD)The FRD instruction converts a BCD value (Source) to a decimal valueand stores the result in the Destination.Operands:Relay LadderOperand Type Format DescriptionSource SINTimmediate value to convert to decimalINTtagDestinationDINTA SINT or INT tag converts to a DINT value by zero-fill.SINTtagstores the resultINTDINTFunction BlockOperand Type Format: DescriptionFRD tag FBD_CONVERT structure FRD structureFBD_CONVERT StructureInput Parameter Data Type DescriptionEnableIn BOOL Enable input. If cleared, the instruction does not execute and outputs are not updated.Default is set.Source DINT Input to the conversion instruction.Valid = any integerOutput Parameter Data Type DescriptionEnableOut BOOL The instruction produced a valid result.Dest DINT Result of the conversion instruction. Arithmetic status flags are set for this output.Description:Arithmetic Status Flags:Fault Conditions:The FRD instruction converts a BCD value (Source) to a decimal valueand stores the result in the Destination.Arithmetic status flags are affected.nonePublication 1756-RM003I-EN-P - January 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!