Click the button on the screen; it should be flashing. The VB script editor will open, showing the current code.
If your machine has a dual-motor gantry (e.g., Y and A axes), the script can be modified to home them individually or together to square the gantry. This often requires separate home switches for each motor. Important Considerations
' --- Step 2: Disable slaving temporarily (optional, but safe) --- ' Uncheck "Slave Axis" in Config if needed, but we can home them together. ' Instead, we issue a simultaneous Ref to Y and A.
: RefCombination( 3 ) (Homes X and Y simultaneously; 1=X, 2=Y, 4=Z, 8=A. Sum the values to combine). 3. Adding Safety Pauses
To save time, you can home axes together using the RefCombination(n) command. The value n is the sum of the axis codes: X=1, Y=2, Z=4, A=8. RefCombination(3) . To home X, Y, and Z together: RefCombination(7) . 2. Adding a "Back Off" Move
Пожалуйста, подождите.
Click the button on the screen; it should be flashing. The VB script editor will open, showing the current code.
If your machine has a dual-motor gantry (e.g., Y and A axes), the script can be modified to home them individually or together to square the gantry. This often requires separate home switches for each motor. Important Considerations
' --- Step 2: Disable slaving temporarily (optional, but safe) --- ' Uncheck "Slave Axis" in Config if needed, but we can home them together. ' Instead, we issue a simultaneous Ref to Y and A.
: RefCombination( 3 ) (Homes X and Y simultaneously; 1=X, 2=Y, 4=Z, 8=A. Sum the values to combine). 3. Adding Safety Pauses
To save time, you can home axes together using the RefCombination(n) command. The value n is the sum of the axis codes: X=1, Y=2, Z=4, A=8. RefCombination(3) . To home X, Y, and Z together: RefCombination(7) . 2. Adding a "Back Off" Move