发布于 2013-04-18 22:40:08
1楼
Switching the coupling ON/OFF
CC_COPON()
CC_COPON([A1][A2][A3][A4][A5])
Switching the 1:1 coupling. Monitoring of tolerance window is active.
CC_COPONM()
CC_COPONM([A1][A2][A3][A4][A5])
Switching the 1:-1 coupling (mirror). Monitoring of tolerance window is not active.
A1 to A5 are axis names. These can be used to program either the machine axis names,
channel axis names or geometry axis names of the axis assigned to a coupling. In other
words, either the CC_Master axes or the CC_Slave axes or both can be programmed at the
same time. An alarm is output if an axis not involved in a coupling is programmed in A1-A5.
All defined couplings are switched on with CC_COPON() or CC_COPONM(). An active
coupling is displayed via the CC_Slave axis in axial VDI-Out byte:
DB31, … DBX97.1 (activate coupling)
If mirroring is active, it is displayed additionally in:
DB31, … DBX97.2 (activate mirroring)
A coupling can be disabled via the CC_Slave axis in axial VDI-Out byte:
DB31, … DBX24.2 (disable CC_Slave axis coupling)
This does not generate an alarm.
CC_COPOFF()
CC_COPOFF([A1][A2][A3][A4][A5])
As CC_COPON or CC_COPONM() except for the fact that no alarm is generated if A1 to A5
is used to program an axis that is not involved in a coupling.
An existing coupling can also be switched off via the axial VDI-In bit on the CC-Slave axis.
The coupling can be switched ON or OFF only if all axes involved are stationary.
借我三千虎骑,复我浩荡中华!饮马恒河畔,剑指天山西;碎叶城揽月,库叶岛赏雪;黑海之滨垂钓,贝加尔湖张弓;中南半岛访古,东京废墟遥祭华夏列祖。汉旗指处,望尘逃遁—— 敢犯中华天威者,虽远必诛!