Hello Guest it is April 24, 2024, 05:11:42 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sensongroup

Pages: 1
1
G-Code, CAD, and CAM discussions / Writing a Gcode
« on: June 20, 2012, 03:24:58 AM »
I am trying to write a gcode/mcode sequence to do the following:

1. Run a motor on X axis until it hits a limit switch and stops (I'm using a limit switch input on a breakout board to operate an optical sensor).
2. Then dwell for 2 seconds and then activate a relay on Y output for 2 - 3 milliseconds then dwell for 2 seconds.
3. Then activate a relay on Z output for 2 - 3 milliseconds then dwell for 2 seconds and then repeat the procedure again.

Can anyone help as I'm new to the whole Mach3 scene and would appreciate any help.

Pages: 1