36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
#NOTE include appropriate postgui-axis-[XYZ].hal here for each axis used
|
|
|
|
net constraints-ok <= match_all.out => motion.enable
|
|
|
|
net resetall mm_xacc.reset mm_xvel.reset mm_yacc.reset mm_yvel.reset mm_zacc.reset mm_zvel.reset mm_aacc.reset mm_avel.reset pyvcp.resetmm
|
|
|
|
loadrt time
|
|
loadrt not
|
|
addf time.0 servo-thread
|
|
addf not.0 servo-thread
|
|
net prog-running not.0.in <= halui.program.is-idle
|
|
net cycle-timer time.0.start <= not.0.out
|
|
net cycle-seconds pyvcp.time-seconds <= time.0.seconds
|
|
net cycle-minutes pyvcp.time-minutes <= time.0.minutes
|
|
net cycle-hours pyvcp.time-hours <= time.0.hours
|
|
|
|
net pxacc mm_xacc.max pyvcp.pxacc
|
|
net pxvel mm_xvel.max pyvcp.pxvel
|
|
net nxacc mm_xacc.min pyvcp.nxacc
|
|
net nxvel mm_xvel.min pyvcp.nxvel
|
|
|
|
net pyacc mm_yacc.max pyvcp.pyacc
|
|
net pyvel mm_yvel.max pyvcp.pyvel
|
|
net nyacc mm_yacc.min pyvcp.nyacc
|
|
net nyvel mm_yvel.min pyvcp.nyvel
|
|
|
|
net pzacc mm_zacc.max pyvcp.pzacc
|
|
net pzvel mm_zvel.max pyvcp.pzvel
|
|
net nzacc mm_zacc.min pyvcp.nzacc
|
|
net nzvel mm_zvel.min pyvcp.nzvel
|
|
|
|
net paacc mm_aacc.max pyvcp.paacc
|
|
net pavel mm_avel.max pyvcp.pavel
|
|
net naacc mm_aacc.min pyvcp.naacc
|
|
net navel mm_avel.min pyvcp.navel
|