-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.hal
37 lines (30 loc) · 1.54 KB
/
io.hal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This file was created with the 7i96 Wizard on Mai 12 2020 09:04:04
# If you make changes to this file your screwed
# GPIO
# hm2_7i96.0.gpio.000 : Axis X Positiv Limit Switch
# hm2_7i96.0.gpio.001 : Axis X Negativ Limit Switch
# hm2_7i96.0.gpio.002 : Axis Y Positiv Limit Switch
# hm2_7i96.0.gpio.003 : Axis Y Negativ Limit Switch
# hm2_7i96.0.gpio.004 : Axis Z Negativ Limit Switch
# hm2_7i96.0.gpio.005 : Axis Z Positiv Limit Switch
# hm2_7i96.0.gpio.006 :
# hm2_7i96.0.gpio.007 :
# hm2_7i96.0.gpio.008 : E-Stop feedback
# X Axis Limit / Home switches
net max-limit-joint-0 joint.0.pos-lim-sw-in <= hm2_7i96.0.gpio.000.in_not
net min-limit-home-joint-0 joint.0.neg-lim-sw-in <= hm2_7i96.0.gpio.001.in_not
net min-limit-home-joint-0 joint.0.home-sw-in
# Y Axis Limit / Home switches
net max-limit-home-joint-1 joint.1.pos-lim-sw-in <= hm2_7i96.0.gpio.002.in_not
net max-limit-home-joint-1 joint.1.home-sw-in
net min-limit-joint-1 joint.1.neg-lim-sw-in <= hm2_7i96.0.gpio.003.in_not
# Z Axis Limit / Home switches
net max-limit-home-joint-2 joint.2.pos-lim-sw-in <= hm2_7i96.0.gpio.004.in_not
net max-limit-home-joint-2 joint.2.home-sw-in
net min-limit-joint-2 joint.2.neg-lim-sw-in <= hm2_7i96.0.gpio.005.in_not
# E-Stop
net estop halui.estop.activate <= hm2_7i96.0.gpio.008.in_not
# Power on Master Contactor
net power_on halui.machine.is-on => hm2_7i96.0.ssr.00.out-00
# Power on VFD + Watercooling Pump Contactor
net power_on => hm2_7i96.0.ssr.00.out-01