12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

plc function ref - 34.18<br />

FRD, TOD, DEG, RAD - FRom bcD to integer, TO bcD from integer,<br />

DEGrees from radians, RADians from degrees<br />

Description:<br />

Status Bits:<br />

A<br />

FRD<br />

FROM BCD<br />

Source N7:0<br />

Dest<br />

N7:1<br />

This function will convert the value in the source location <strong>and</strong> store the<br />

result in the Dest location. The functions possible include,<br />

FRD - From BCD to a 2s compliment integer number<br />

TOD - From 2s compliment integer number to BCD<br />

DEG - Convert from radians to degrees<br />

RAD - Convert from degrees to radians<br />

C<br />

V<br />

Z<br />

S<br />

Carry - always 0<br />

Overflow - sets if an overflow as generated during conversion<br />

Zero - sets if the result is zero.<br />

Sign - sets if the MSB of the result is set<br />

Registers: none<br />

Available on: Micrologix, PLC-5<br />

www.PA<strong>Control</strong>.com

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

Saved successfully!

Ooh no, something went wrong!