- Posts: 111
- Thank you received: 11
BOB ZP5A-INT and input troubles
By now it's about 2 months I'm fighting with the input side of my BOB ZP5A.
The output side works fine (the 3 motors run like piece of cake - sorry if it's a wrong figure of speech, I'm from Italy...), but no way to make the limit switches working.
I asked even the italian community to help me, but nothing to do.
Making some tries with the configuration, I get an error message "Contact on limit 0" (sorry I'm translating from the italian version of LinuxCNC) or no response at all.
There's no way to make the inputs working (I tested the pins 10 - X limit - and/or 15 - ESTOP)
I asked to a collegue in my office (he manages our systems), and his opinion is that something has to be configured somewhere in Linux to tell the software that parport works as in/out, and not only as out.
Honestly, I don't know what to check more.
I tried to use the BOB with 2 PCs (a laptop IBM and a desktop), getting the same results.
I tried also buying a second BOB (a generic chinese one), maybe the problem is the BOB, but even this new one gives me the same problem.
Till now, the only "solutions" i can find is to use the BOB only as is it now, and build an external device to ensure the safety of the machine, i.e. arduino connected to limit switches and driving a relay wich cut off the motors power line. But this way, I can't have a self-zeroing/homing machine, nor stop the job dinamically (meaning I will lose the entire cnc job), but at least I can save the hardware
Searching on the web, I found a lot of people having trouble like mine, but I couldn't find any useful infos for my problem, or when someone update the post with "SOLVED", there's no useful indication about how the problem has been fixed......
I attach my HAL file and the configuration (the laptop).
I hope some of you can help me to fix it.
Thanks in advance
Andrea
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4737
- Thank you received: 1480
What kind of switches are you trying to connect to your inputs?
I believe that bob requires an external 5v power source (from a USB connection or other). Do you have that connected?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Todd Zuercher wrote: This sounds like a wiring problem. Start by telling/showing us how you've connected things to the bob?
What kind of switches are you trying to connect to your inputs?
I believe that bob requires an external 5v power source (from a USB connection or other). Do you have that connected?
Attached there's my BOB (you don't see any pwr led 'cause the system was off).
The 5V are provided by the PC USB, but I tried even with a wall PSU - 1Ah I think it's more then enough: same issue
The parport cable use a gender changer, but I got even a new cable: same issue (all cable's pins checked as working)
The limit switch is wired to P10; the 2 wires on P15 should be the Estop (it was a quick test...)
I asked for support even Zapp Automation (where I got the BOB); they told me I need just a simple switch (as is it....), but they cannot help me 'cause they work only with Mach3 and no LinuxCNC....
rodw wrote: IF you have shared home and limit switches, you need to make sure there is a HOME_OFFSET to move the axis off the limit switch when homing. Otherwise, if the home/limit switch is left enabled, as the machine comes out of homing, it sees and reacts to the limit switch error and faults.
Honestly right now I don't remember... (last time I worked on it was las saturday....) when I back home from office I'll check; but I'm pretty sure by now I'm working setting only the Limit, to avoid any mistake
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4737
- Thank you received: 1480
Do that and take note of which connector toggles which parport hal pin. (Maybe the input pins are not connected to the parallel port pins you think they are.)
Then make the appropriate changes to your config.
Please Log in or Create an account to join the conversation.
I'm waiting for a PCI parport to check even if maybe the problem is the onboard parport (the laptop is an IBM Thinkpad and the desktop is Asus P5A MB based)
Please Log in or Create an account to join the conversation.