Hello
Guest
it is
March 28, 2024, 04:56:15 PM
Guest
Login
Register
Menu
Home
Help
Search
Calendar
Members
Members
View the memberlist
Search For Members
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
General Mach Discussion
/
Mach3 outputs and inputs for loader robot
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: Mach3 outputs and inputs for loader robot (Read 848 times)
0 Members and 1 Guest are viewing this topic.
fixittt
289
Mach3 outputs and inputs for loader robot
«
on:
September 13, 2021, 11:03:03 AM »
I have a guy asking me how a parts loading robot could be used with Mach3.
The idea is that an output is triggered when the part it done to trigger the robots routine. When it is done unloading a loading a new part, they need an input trigger to have mach3 rerun the Gcode.
Does anybody have an idea how to make this happen? This is outside of my wheelhouse. So I am looking for suggestions.
Logged
Graham Waterworth
2,668
Yorkshire Dales, England
Re: Mach3 outputs and inputs for loader robot
«
Reply #1 on:
September 13, 2021, 05:11:42 PM »
You can create some M codes to turn on and output and then wait for the input etc.
Logged
Without engineers the world stops
fixittt
289
Re: Mach3 outputs and inputs for loader robot
«
Reply #2 on:
September 22, 2021, 12:26:20 PM »
lets pretend that I am an idiot. What would an example of something like this look like?
Logged
Graham Waterworth
2,668
Yorkshire Dales, England
Re: Mach3 outputs and inputs for loader robot
«
Reply #3 on:
September 23, 2021, 08:05:02 AM »
This could be the end of your main program:-
G00 X250. Z250.
M1025 (call robot)
M1026 (do op2)
M1027 (do op3)
Etc
M30
The macro could look like this and be stored in the macro folder for the profile in use.
M1025.m1s
Activatesignal(OUTPUT1)
' Wait for ack
While (Not IsActive(INPUT1))
Sleep(15)
Wend
end
You then set up more macros to do the operation.
Logged
Without engineers the world stops
fixittt
289
Re: Mach3 outputs and inputs for loader robot
«
Reply #4 on:
September 24, 2021, 10:36:53 AM »
Graham,
Thank you sir for your time and knowledge.
I am going to see if I can get something mocked up and trigger outputs.
Again, thank you. This is for a client of mine and I have never had to do something like this before.
Logged
Print
Pages:
1
Go Up
« previous
next »