
34 HyTechWorks©2013 – V3.1
code("G0 Z5")
While IsMoving()
Sleep(100)
Wend
code("G0 X10 Y15 A90")
This script execute homing like before. After homing is finished, it first fast moves
Z axis to coordinate 5. After Z axis movement is finished, it fast moves to 10 on X
axis, 15 on Y axis with 90 on A axis at the same time. After edit the script, save it
to the system by operating menu “File” -> “Save”. Clicking “REF ALL HOME” can
run the saved script. If homing needs to be run from a GCode file, save above
script to a mXXX.m1s file (i.e. m299.m1s) under Mach3/Macros/Mach3Mill
directory.
More settings are needed to get homing working properly.
Operating the main menu “Config”->”Ports and Pins” and click on page “Input
Signals”. Put green ticks in “X Home”, “Y Home”, “Z Home” and “A Home” row’s
“Enabled” column if homing is required on X/Y/Z/A axis. Their “Port #”, “Pin
Number” and “Active Low” should be set according to physical connections
(referring to chapter “Shape and Connections”, section “Control Inputs”). If the
inputs are low level effective, put green ticks in “Active Low” columns.
Comentários a estes Manuais