How to disable manual movement to axis

More
11 Dec 2020 22:32 #191690 by aleksamc
I want to make automation for CNC machine using 7i77 mesa board for analog servos.

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.

More
12 Dec 2020 19:42 #191771 by cmorley
You are talking about when in manual mode?

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.

More
13 Dec 2020 13:29 - 13 Dec 2020 18:12 #191858 by aleksamc
Yes, I talk about manual mode.

So you mean I need to make custom GUI?
Ok, I will try that. Thanks
Last edit: 13 Dec 2020 18:12 by aleksamc.

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 21:21 - 13 Dec 2020 21:23 #191907 by Himarc3D
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
Last edit: 13 Dec 2020 21:23 by Himarc3D.

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 21:30 #191909 by cmorley
Using relays to disconnect the motors from commands is like using a hammer.
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.

More
13 Dec 2020 22:10 #191915 by Himarc3D
I see, agree with your points.
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.

More
13 Dec 2020 22:30 #191916 by Himarc3D
I watched now videos machines using circular saw with servo driving the blade

Please Log in or Create an account to join the conversation.

More
14 Dec 2020 19:53 #191973 by aleksamc

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.

More
14 Dec 2020 21:56 - 14 Dec 2020 21:59 #191986 by Himarc3D
I see.
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
Last edit: 14 Dec 2020 21:59 by Himarc3D.

Please Log in or Create an account to join the conversation.

More
14 Dec 2020 22:43 - 14 Dec 2020 22:43 #191990 by aleksamc
I want to make cnc machine, because of use of servodrives. But this machine will be specialized for stone. I made such machines using PLC controllers.
In this one I want to change concept.
I was made like this in example
Last edit: 14 Dec 2020 22:43 by aleksamc.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.188 seconds
Powered by Kunena Forum