- Configuring LinuxCNC
- Advanced Configuration
- ClassicLadder
- Classic ladder comparator not working on the Schaublin back gear.
Classic ladder comparator not working on the Schaublin back gear.
05 Jan 2024 19:39 - 05 Jan 2024 19:43 #289893
by RotarySMP
Hi Guys,
I have a two speed back gear on the Schaublin 125CNC, and want to select high/low with a momentary switch at present.
This latching ladder was working, until I added the comparators.
The problem using only the "spindle on" inhibit, was selecting a gear change with a running spindle cocked the ladder, and as soon as you commanded the spindle off, the gear change occurred with a still spinning spindle. The gearbox is only supposed to shift when stationary. I added the comparator so that it has to wait till the spindle winds down before shifting gear.
I tried %IF0<5 but that didn't work. Then I tried %IF0=0, but even once the spindle stops and that value stablises to 0, that line wont go active.
I would appreciate any assistance on what my syntax error is here.
Cheers,
Mark
I have a two speed back gear on the Schaublin 125CNC, and want to select high/low with a momentary switch at present.
This latching ladder was working, until I added the comparators.
The problem using only the "spindle on" inhibit, was selecting a gear change with a running spindle cocked the ladder, and as soon as you commanded the spindle off, the gear change occurred with a still spinning spindle. The gearbox is only supposed to shift when stationary. I added the comparator so that it has to wait till the spindle winds down before shifting gear.
I tried %IF0<5 but that didn't work. Then I tried %IF0=0, but even once the spindle stops and that value stablises to 0, that line wont go active.
I would appreciate any assistance on what my syntax error is here.
Cheers,
Mark
Attachments:
Last edit: 05 Jan 2024 19:43 by RotarySMP.
Please Log in or Create an account to join the conversation.
05 Jan 2024 19:56 #289896
by spumco
Replied by spumco on topic Classic ladder comparator not working on the Schaublin back gear.
Does the pound sign belong in the comparison statement?
Maybe try:
%IF0=0
instead of
#%IF0=0
Maybe try:
%IF0=0
instead of
#%IF0=0
The following user(s) said Thank You: RotarySMP
Please Log in or Create an account to join the conversation.
05 Jan 2024 21:25 #289905
by RotarySMP
Replied by RotarySMP on topic Classic ladder comparator not working on the Schaublin back gear.
Great spotting thanks. I'll check that tomorrow. The comparator box has a pound sign in it by default. But you are right, the other examples I now see have it removed.
Cheer,
Mark
Cheer,
Mark
Please Log in or Create an account to join the conversation.
06 Jan 2024 10:32 #289947
by RotarySMP
Replied by RotarySMP on topic Classic ladder comparator not working on the Schaublin back gear.
That was it. Thanks. Now it works as expected.
The following user(s) said Thank You: spumco
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- ClassicLadder
- Classic ladder comparator not working on the Schaublin back gear.
Time to create page: 0.218 seconds