Welcome, Guest. Please login or register.
Did you miss your activation email?
September 21, 2018, 08:50:30 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  G-Code, CAD, and CAM
| |-+  G-Code, CAD, and CAM discussions
| | |-+  Help: setup G-code associated with limit switch
Pages: 1   Go Down
Author Topic: Help: setup G-code associated with limit switch  (Read 972 times)
0 Members and 1 Guest are viewing this topic.

Offline Offline

Posts: 1

View Profile
« on: July 09, 2017, 03:21:51 PM »

Hello, Need some help tip here.
I'm trying to setup to allow the spindle to do tube rolling expansion.
Because of the inconsistent feed rate, I'm using actuator cylinder to replace my z-axis.

Is it possible to program G-code associated with the limit switch?
I want to setup the spindle to act in the following sequence:

Spindle spin clockwise
Cylinder relay stroke on (custom M101)
Stop spindle rotation when the limit switch(Z++) is triggered. 
Spindle spin counter-clockwise
Cylinder relay stroke off (custom M102)

Any idea how to code it?  Huh

Pages: 1   Go Up
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!