Tuesday, July 6, 2010

BCD instruction on Omron PLC





BCD instruction on Omron PLC : Binary-To-BCD.
Purpose:
BCD(101) converts the binary (hexadecimal) contents of S into the numerically equivalent BCD bits and outputs the BCD bits to R. Only the contents of R is changed; the contents of S is left unchanged.

BCD(101) can be used to convert binary to BCD so that displays on SYSWIN, the Programming Console or any other programming device will appear in decimal rather than hexadecimal. It can also be used to convert to BCD to perform BCD arithmetic operations rather than binary arithmetic operations, for example, when BCD and binary values must be added.
Range:
S: Source word CIO, G, A, T, C, DM, DR, IR
R: Result word CIO, G, A, DM, DR, IR

BCD instructions
illustration of BCD instructions on Omron PLC:
Binary Convert to BCD

Binary Convert to BCD



Newer Post Older Post Home

You may also like these ebook:

Get Free PLC eBook directly sent to your email,
and email subscription to program-plc.blogspot.com




We hate SPAM. Your information is never sold or shared with anyone.

Your Email Will Be 100% Secured !