adccommunitymod (AutomationDirect) asked a question.

BCD to Inches Conversion for HO-CTRIO and C-More Mirco

Created Date: January 21,2012

Created By: wrumbaugh

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I have a DL06 with a HO-CTRIO that I am using with an encoder to monitor the length of material. There is a C-more Micro that the operator can select the desired lenght, from a radio button. I have setup another screen on C-more that will permit supervisor to change the valules of the five lenghts via a seperate numeric entry buttons. The problem is these valves are currently in BCD and are not reflecting inches. I would like supervisor to entry the amount of inches for each selection and when material has reached the selected lenght the feed roller will stop. I do having it working but it is in BCD and that does not make sense to superviosor. Specially have CTRIO Work bench setup for a Quad Encoder, in BCD, and using a reset. Using V2000 The Cmore is also currently in BCD. Understand that I would probably need to do some conversion and math in PLC. For every turn of encoder I get 4.712 inches of travel of material. Looking to set up 5 Numeric Entries with the following lenghts in inches: 224.50, 234.50, 254.50, 264.50, and 278.50. Looking for some suggestions on the simplest way to handle this. Thanks


  • adccommunitymod (AutomationDirect)

    Created Date: January 21,2012

    Created by: Gvanauken

    For converting check here>> http://www.automationdirect.com/static/manuals/d006userm/ch5.pdf

    starting at page 5-127

    I used these to convert from HEX to BIN for some footage counters I set up on a machine..

    LD CTA23--------Loads count into Accumulator

    BIN--------------Converts value to Binary

    OUT V7200-------writes that value to touch panel numeric display.

    Mine is writing to the display, you would have to switch it around to read from the display in binary and write to the plc in BCD.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: January 21,2012

    Created by: wrumbaugh

    I have a DL06 with a HO-CTRIO that I am using with an encoder to monitor the length of material. There is a C-more Micro that the operator can select the desired lenght, from a radio button. I have setup another screen on C-more that will permit supervisor to change the valules of the five lenghts via a seperate numeric entry buttons. The problem is these valves are currently in BCD and are not reflecting inches. I would like supervisor to entry the amount of inches for each selection and when material has reached the selected lenght the feed roller will stop. I do having it working but it is in BCD and that does not make sense to superviosor.

    Specially have CTRIO Work bench setup for a Quad Encoder, in BCD, and using a reset. Using V2000 The Cmore is also currently in BCD. Understand that I would probably need to do some conversion and math in PLC. For every turn of encoder I get 4.712 inches of travel of material.

    Looking to set up 5 Numeric Entries with the following lenghts in inches: 224.50, 234.50, 254.50, 264.50, and 278.50.

    Looking for some suggestions on the simplest way to handle this. Thanks

    Expand Post