It works great setting up the limit inputs as HOMEALL and SLAVEDHOMEINPUT. But now I loose my limit switch functionality.
I believe this can be done by editing the cncm.hom file. I poked around in the macros, but the answer was not obvious.
I assume it involves modifying the code below to point at different inputs? I couldn't find the documentation for the hashtag values (#21401, etc.)
Could someone point me in the right direction?
Thanks.
Code: Select all
;
-------------------------------------------------------------------------------
; Filename: mfunc71.mac - Axes Home Tripped Check (Used in Paired Axes Auto Squaring)
; M71 macro
; Description: Checks axes for tripped home.
; Notes:
;-------------------------------------------------------------------------------
;#21301-#21308 - Home axes 1-8
;#21401-#21408 + Home axes 1-8
#103 = 0 ;1 = Paired axis configuration error.
#115 = 0 ;DEFINE <AXIS_LIMIT_TRIPPED>
#111 = 0 ;DEFINE AXIS_1_LIMIT_ASSIGNED>
#112 = 0 ;DEFINE AXIS_2_LIMIT_ASSIGNED>
#113 = 0 ;DEFINE AXIS_3_LIMIT_ASSIGNED>
#114 = 0 ;DEFINE AXIS_4_LIMIT_ASSIGNED>
#100 = 0; Time to display M225 message in seconds. 0 = Wait for Cycle Start
#101 = 3; Time to display temporary messages
DEFINE <AXIS_1_HOME_PLUS> #21401
DEFINE <AXIS_2_HOME_PLUS> #21402
DEFINE <AXIS_3_HOME_PLUS> #21403
DEFINE <AXIS_4_HOME_PLUS> #21404
DEFINE <AXIS_1_HOME_MINUS> #21301
DEFINE <AXIS_2_HOME_MINUS> #21302
DEFINE <AXIS_3_HOME_MINUS> #21303
DEFINE <AXIS_4_HOME_MINUS> #21304
DEFINE <CONFIGURATION_ERROR> #103
DEFINE <AXIS_1_LIMIT_ASSIGNED> #111
DEFINE <AXIS_2_LIMIT_ASSIGNED> #112
DEFINE <AXIS_3_LIMIT_ASSIGNED> #113
DEFINE <AXIS_4_LIMIT_ASSIGNED> #114
DEFINE <HOME_SWITCH_TRIPPED> #115