- Posts: 1630
- Thank you received: 0
Classic ladder comparator not working on the Schaublin back gear.
2 years 9 months ago #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.
Attachment not found
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.
Attachment not found
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
Please Log in to join the conversation.
2 years 9 months ago #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
Please Log in to join the conversation.
2 years 9 months ago #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 to join the conversation.
2 years 9 months ago #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.
Please Log in to join the conversation.
Time to create page: 0.076 seconds
