Installation manual
CNC 8055
CNC 8055i
CONCEPTS
7.
SOFT: V02.2X
·375·
Additive coupling between axes
The following example assumes that the Z axis is motorized and that the W axis is a DRO axis. The
W axis is coupled with the Z axis.
;
;* COMPENSATION OF THE W AXIS MOVEMENT WITH PLCOFZ *
;
;R73 - Operation mode
;R74 - previous POSW
;R75 - current POSW
;R76 - Resulting PLCOFZ
;R77 - previous PLCOFZ
;
; ### FIRST CYCLE ###
CY1
() = CNCRD(POSW,R74,M9)
END
;
; ### MAIN PROGRAM ###
PRG
REA
() = CNCRD(OPMODA,R73,M9)
NOT B0R73 = JMP L17
; The W axis is only compensated in execution
() = CNCRD(POSW,R75,M9)
= CNCRD(PLCOFZ,R77,M9)
= SBS R75 R74 R76
= SBS R77 R76 R76
= MOV R75 R74
= CNCWR(R76,PLCOFZ,M9)
= JMP L18
L17
() = CNCRD(POSW,R74,M9)
L18
END