It is often useful to have a few button inputs on a machine. The simplest
way to get these are to use a few input pins on the FluidBoard. However,
since these are commonly used for probing, alarms and endstops, it is
advisable to use a separate input board for user inputs (through the UART
connector). Pendants are a good example of this.
We here only discuss physical connections on the input pins.
Wiring
Wire inputs to the input terminals of the board. The input terminals
are isolated and opto-coupled, and can handle 5v inputs. In most cases,
one side of the push button is connected to a GND, and the other to an
input.
Do not wire any 5v terminal to the isolated 5v terminal of the inputs,
and do not wire the GND of the inputs to any other GND. This will
void the isolated output and can cause damage.
|
x |
y |
z |
a |
b |
c |
stop |
probe |
input |
gpio.41 |
gpio.40 |
gpio.39 |
gpio.38 |
gpio.18 |
gpio.48 |
gpio.16 |
gpio.17 |
We recommend using the 'stop' input for the emergency stop.
Configuration
The configuration of inputs is per input. Depending on NPN or PNP, you
might need to use :low
as a flag on the gpio, to invert the input.
For example:
control:
safety_door_pin: gpio.17
reset_pin: NO_PIN
feed_hold_pin: gpio.48:low
cycle_start_pin: NO_PIN
macro0_pin: gpio.18:low
macro1_pin: NO_PIN
macro2_pin: NO_PIN
macro3_pin: NO_PIN
estop_pin: gpio.16