2
« on: December 12, 2012, 11:34:15 AM »
Hi industriald,
I'm not quite sure what the problem is, so I'm going to describe setting up an input and an output step by step.
Maybe you forgot one detail.
Here is an example for the emergency stop:
We are using the digital input 0 in this example.
Connect 24V to the switch (normal closed) and the switch to pin 1 (Digital In 0 +)
Connect 0V / GND to pin 14 (Digital In 0 -)
(see attached schematics)
To make mach3 react to the input, we configure the E-Stop Port/Pin to Port 10 (CSMIO/IP) and Pin 0 (Digital IN 0).
We set the pin to "active low" since the E-Stop is normally closed.
(see attached screenshot)
Configure Output for Spindle ON / OFF
Mach Provides 6 Digital Outputs for various functions.
We can define two outputs for the spindle, for Clockwise and Counterclowise operation.
First we have to define which of the six outputs we want to use. We use Output #1 for both directions in this example.
This can be done in "Config -> Ports & Pins -> Spindle Setup -> Relay Control" (See attached screenshot)
Now we have to configure which CSMIO Pin the "Output #1" should be mapped to.
We use Digital Output 0 in this example. (Port 10, Pin 0) (See attached screenshot)
Hope this helps.
BT