How to control Relay using EMC2?
- leezheng2008
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
20 Dec 2011 17:39 #15903
by leezheng2008
How to control Relay using EMC2? was created by leezheng2008
Hi, everyone:
How are you doing!
I am doing a project using EMC2 to control four stepper motors and three relays.
I use G-Code to control linear motion of XYZA axis. When X axis arrives at certain position, the relays has to be enabled, which means has to receive a voltage more than 3.3v(1 logic).
Pin2 to pin9 is used to control the three axises, pin1,14,16,17 could be used as output which is enough.
The question is how to output logic 1 when G-Code run to a certain line?
Any help is appreciated, thank you!
Regards
Joe
How are you doing!
I am doing a project using EMC2 to control four stepper motors and three relays.
I use G-Code to control linear motion of XYZA axis. When X axis arrives at certain position, the relays has to be enabled, which means has to receive a voltage more than 3.3v(1 logic).
Pin2 to pin9 is used to control the three axises, pin1,14,16,17 could be used as output which is enough.
The question is how to output logic 1 when G-Code run to a certain line?
Any help is appreciated, thank you!
Regards
Joe
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 18061
- Thank you received: 4872
20 Dec 2011 17:47 #15904
by PCW
Replied by PCW on topic Re:How to control Relay using EMC2?
Please Log in or Create an account to join the conversation.
- leezheng2008
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
21 Dec 2011 04:10 #15918
by leezheng2008
Replied by leezheng2008 on topic Re:How to control Relay using EMC2?
Thank you very much!
I am reading the materials.
I am reading the materials.
Please Log in or Create an account to join the conversation.
Time to create page: 0.068 seconds