Noob 1st Post - EMC and Pneumatic Roboarm
26 Apr 2010 10:37 #2715
by Rick G
Replied by Rick G on topic Re:Noob 1st Post - EMC and Pneumatic Roboarm
To start sorting things out.
You might try setting up one of the direction pins (such as x ) to one solenoid. The direction pin will go positive in one direction and negative in the other. So if the G code tells x to make a positive move then the pin could be activated until the G code tells x to go negative. Also you can manually turn a pin on and off + from the screen or G code with M3 M5 spindle on and off.
Rick G
You might try setting up one of the direction pins (such as x ) to one solenoid. The direction pin will go positive in one direction and negative in the other. So if the G code tells x to make a positive move then the pin could be activated until the G code tells x to go negative. Also you can manually turn a pin on and off + from the screen or G code with M3 M5 spindle on and off.
Rick G
Please Log in or Create an account to join the conversation.
26 Apr 2010 11:05 #2716
by BigJohnT
Replied by BigJohnT on topic Re:Noob 1st Post - EMC and Pneumatic Roboarm
Now I understand what you have. It is set up to do predetermined moves. Something like this is not controlled with G-Code. Usually a PLC controls this type of machine. Basically you fire a solenoid and wait for the limit switch to say that you have arrived then fire the next solenoid and wait for it's limit switch and so on till the sequence is complete. A couple of ways to control this is to use Classicladder or M100-199 user defined commands.
John
John
Please Log in or Create an account to join the conversation.
26 Apr 2010 11:22 #2717
by Rick G
Replied by Rick G on topic Re:Noob 1st Post - EMC and Pneumatic Roboarm
After you sort out what each solenoid does by testing the pins, as John pointed out you could possibly use hal and the user defined codes within your G code to make simple and complex moves.
Rick G
Rick G
Please Log in or Create an account to join the conversation.
Time to create page: 0.066 seconds