summaryrefslogtreecommitdiff
path: root/configs/by_interface/parport/stepper/sim_pinout.hal
blob: 5697a5ac0d8d15063bf40d7d460d7ffa944326ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# standard pinout config file for 3-axis steppers
# using a parport for I/O
#
# first load the parport driver
loadrt hal_speaker
#
# next connect the parport functions to threads
# write outputs last
addf speaker.0.write base-thread 1
#
# finally connect physical pins to the signals
net Xstep => speaker.0.pin-03-out
net Xdir  => speaker.0.pin-02-out
net Ystep => speaker.0.pin-05-out
net Ydir  => speaker.0.pin-04-out
net Zstep => speaker.0.pin-07-out
net Zdir  => speaker.0.pin-06-out

# create a signal for the estop loopback
net estop-loop iocontrol.0.user-enable-out => iocontrol.0.emc-enable-in

# create signals for tool loading loopback
net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
net tool-change-loop iocontrol.0.tool-change => iocontrol.0.tool-changed