
adccommunitymod (AutomationDirect) asked a question.
Thumbwheel DL06
Created Date: May 01,2014
Created By: hrhoward
**** 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.****
Hello, I am trying to get a thumbwheel (0-9) to keep a contact in x amount of cycles of a vice moving forward. I am good with ladder logic and basic plcs but have never incorporated a thumbwheel into a program. Using a DL06. Thanks for any help. Heath
Created Date: May 01,2014
Created by: bcarlton
Assuming it is a 4 bit contigous input use the LDF instruction to capture just those 4 bits into the accumulator. It will grab them and move them to the low order bits. Then the information is used just as any other BCD number.
Do you need help with how to wire the thumbwheel to inputs?
Depending on the thumbwheel switch quality you may get intermittent incorrect numbers whicle doing the actual switching between numbers. You may want to construct a rung that tests for the input number being stable (the same number for a period of time) before using it, especially if non-BCD numbers whill mess things up (possible during the 7-8 interval and 9-0 (if it can rollover) interval.)
Created Date: May 01,2014
Created by: hrhoward
bcarlton,
Thanks for the reply.
I kinda need help with all of that. :o
I am working on an automatic horiz. band saw that feeds itself material.
The max feed length is 24 inches and if the operator wants to cut off 28 inches they would set the feed length to 14 inches and the thumbwheel to 2. Once the vice feeds twice, the saw does its thing.
Created Date: May 01,2014
Created by: bcarlton
How much of the operation is the DL06 controlling already?
Can you post the schematic and program? Create a PDF of the schematic. Zip together the DirectSoft program files. Then post the PDF and the zip file.
Created Date: May 02,2014
Created by: hrhoward
The DL06 is controlling it all.
I have attached the files.
Created Date: May 02,2014
Created by: bcarlton
Your PDF shows a standard (non-PLC) ladder diagram, a diagram of a PLC which isn't the DL06 and I/O assignments which aren't available on a DL06. In the DL06 program you have at least one input (X35) which can't be in a DL06 system.
I'm very confused. Do you have a schematic for the DL06 wired into the system you stated that it was controlling?
Is the DL06 program you supplied currently running the system satisfactorily except for the multiple feed function?
Created Date: May 05,2014
Created by: hrhoward
Hi Bernie,
The PDF is all I had to go on. It is a bad copy of a copy that was scanned.
I see the X35 you mentioned. Should be X102.
Yes, everything else is working right.
If I force change CT1 after X14 is made, it will work like I want.
Thanks for your patience.
Created Date: May 05,2014
Created by: bcarlton
I'll assume that there are free input points after the lst used ones. I'll give you the code to extract aa count from those lines.
The thumbwheel should have one common and 4 outputs.
I can't tell how the other inputs are wired but whatever the common side for the input devices on X100-X102 is use that line also as the common for the thumbwheel switch.
Attached is the modified program. X35 has been moved to X102. The thumbwheel is on the next 4 inputs.
I wasn't sure about the conditions for resetting the counter.
Created Date: May 07,2014
Created by: hrhoward
Thanks Bernie!
That did the trick. Still don't quite understand everything I know about how it works. Just know that it does.
Thanks again.
Heath
Created Date: May 01,2014
Created by: hrhoward
Hello,
I am trying to get a thumbwheel (0-9) to keep a contact in x amount of cycles of a vice moving forward.
I am good with ladder logic and basic plcs but have never incorporated a thumbwheel into a program.
Using a DL06.
Thanks for any help.
Heath