Wednesday, July 7, 2010

BIN instruction on Omron PLC





BIN instruction on Omron PLC : BCD-To-Binary.
Purpose:
Converts the BCD contents of S into the numerically equivalent binary bits and outputs the binary value to R. Only the contents of R is changed; the contents of S is left unchanged.

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

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

BCD Convert to Binary



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 !