
HyTechWorks©2013 – V3.1 33
menu “Operator”-> “Edit Button Script”. The click on flashing “REF ALL HOME” to
bring up the homingscript edit window.
DoButton(22), DoButton(23), DoButton(24), DoButton(25), DoButton(26),
DoButton(27) are used to execute auto zero on X/Y/Z/A/B/C axis. The above
script execute homing on Z axis, then Y axis, then X axis and finally A axis.
DoOEMButton(133), DoOEMButton(134), DoOEMButton(134) are used to reset
X/Y/Z encoder. For the machine without encoder, these 3 line of script can be
removed. More code can be added to the script to suit a specific machine. For
example, a fast move to a predefined coordinate, i.e. (10, 15, 5, 90) is required
after homing. The script looks like this.
DoButton(24)
DoButton(23)
DoButton(22)
DoButton(25)
While IsMoving()
Sleep(100)
Wend
Kommentare zu diesen Handbüchern