How to disable manual movement to axis
- aleksamc
- Topic Author
- Offline
- Platinum Member
- Posts: 567
- Thank you received: 65
CNC will move big saw. Saw will rotate 90 degree to X and to Y axis.
So I need to make such logic:
- when saw in X direction AND turned on - forbid to move in Y directio.
- same forbid for X direction if saw will be in Y direction.
How to do this? What pins should I operate to forbid movement?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
- Posts: 7778
- Thank you received: 2075
You can of course use HAL code to limit external jogging, but to limit GUI jogging would require custom GUI code.
Chris
Please Log in or Create an account to join the conversation.
- aleksamc
- Topic Author
- Offline
- Platinum Member
- Posts: 567
- Thank you received: 65
So you mean I need to make custom GUI?
Ok, I will try that. Thanks
Please Log in or Create an account to join the conversation.
- Himarc3D
- Offline
- Premium Member
- Posts: 119
- Thank you received: 49
Better you learn to code yourself but untill you get it you can run using relays.
Elegant, fancy codes you will try to see and learn usually are hard to troubleshoot and maybe the machine downtime will be high, youll spend more time coding/troubleshooting instead making money
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
- Posts: 7778
- Thank you received: 2075
If the motor is a servo then that is not going to work at all - you lose PID control.
It's also not friendly to the user - and easy to screwup linuxcnc's idea of where it's at.
Yes a customized screen would be the best course.
Some screens are easier to customize then others.
Please Log in or Create an account to join the conversation.
- Himarc3D
- Offline
- Premium Member
- Posts: 119
- Thank you received: 49
I guessed he use 3 phase motor for the saw and the servos is to control the axes. Nice to kwon new machines come with servo to run the saw.
Here at the shop we have 3 old bandsaw machines and for the saw is running 3phase, the oldest one dont have VFD and use 200V logic with just bunch of relays this machine maybe have 35 years old now and no downtime, circuit is simple but just cut the other have automatic length feeder, counter, memory etc
Please Log in or Create an account to join the conversation.
- Himarc3D
- Offline
- Premium Member
- Posts: 119
- Thank you received: 49
Please Log in or Create an account to join the conversation.
- aleksamc
- Topic Author
- Offline
- Platinum Member
- Posts: 567
- Thank you received: 65
Or you can use relay logic circuit (not classic ladder) many machinery still working just using relays.
Better you learn to code yourself but untill you get it you can run using relays.
Elegant, fancy codes you will try to see and learn usually are hard to troubleshoot and maybe the machine downtime will be high, youll spend more time coding/troubleshooting instead making money
Previously I made such think. I remade automation of old CNC machine to Logo Siemens small PLC and Relays. Analog input to servos I made with analog potentiometers and stepping with voltage deviders.
It was funny and fast. But here I want to make such thing with remaking cnc to linuxcnc control.
Servos has one small disadvantage:
If you give them 0V to control input, they will still move, nevertheless how you configured "BIAS", it will move 1mm per minute but move.
When you use CNC control with PID regulator, bias will be always compensated.
Please Log in or Create an account to join the conversation.
- Himarc3D
- Offline
- Premium Member
- Posts: 119
- Thank you received: 49
I was thinking you are talking different thing, just want stop the blade induction motor, good Cmorley come to enlighten us and i dont messes your stuff.
What are you doing?
You dont use induction motor to control speed, you need precision to stop your saw?
So many machine types
Please Log in or Create an account to join the conversation.
- aleksamc
- Topic Author
- Offline
- Platinum Member
- Posts: 567
- Thank you received: 65
In this one I want to change concept.
I was made like this in example
Please Log in or Create an account to join the conversation.