@jay_s_uk I have a switch wired from io3.in to gnd on the IO3 connector. (The same way as on IO0-2, that I use for homing end stops)
When moving I have tried to toggle the switch several times, which should create both falling and rising edge signals.
Best posts made by MiguelDK
-
RE: Emergency stop
-
RE: Emergency stop
@MiguelDK I discovered that I missed a " in the end of the M950 definition.
With this corrected, I am able to make the T0 work (Hard emergency stop)
But with T1 (Pause function) it doesn't seem to effect the movement at all.
Any ideas on how to make this work?
Is there any way to read status of the IO pins using G-CODE? -
RE: Emergency stop
@jay_s_uk I am using the controller as a robot controller, not as a 3D printer. So I primarily use the G28 and G1 commands using the USB/Serial port.
The robot is inside an enclosure with a door with access for users. The switch connected to input 3, will work as a door switch to detect whenever the door is open.
The robot are normally controlled from a remote location.
Therefore I'd like the robot to pause and perhaps perform a series of G-codes whenever somebody opens the door.