7 – 52 HEIDENHAIN Technical Manual TNC 426, TNC 430
17 #Type
M992 18 /r MG_closed_loop M[8]
M992 19 /c MG_1_clamp_mode_activ M &MG_closed_loop + 0
M993 20 /c MG_2_clamp_mode_activ M &MG_closed_loop + 1
M994 21 /c MG_3_clamp_mode_activ M &MG_closed_loop + 2
M995 22 /c MG_4_clamp_mode_activ M &MG_closed_loop + 3
M996 23 /c MG_5_clamp_mode_activ M &MG_closed_loop + 4
M997 24 /c MG_S_clamp_mode_activ M &MG_closed_loop + 5
25
M3982 26 MG_active_PWM_axis M[8]
M3982 27 /c MG_active_PWM_axis_1 M &MG_active_PWM_axis + 0
M3983 28 /c MG_active_PWM_axis_2 M &MG_active_PWM_axis + 1
M3984 29 /c MG_active_PWM_axis_3 M &MG_active_PWM_axis + 2
M3985 30 /c MG_active_PWM_axis_4 M &MG_active_PWM_axis + 3
M3986 31 /c MG_active_PWM_axis_5 M &MG_active_PWM_axis + 4
M3987 32 /c MG_active_PWM_axis_S M &MG_active_PWM_axis + 5
33
34 #Type
B4088 35 BG_MPAxis.x_CA_PA B[6]
B4088 36 /c BG_MPAxis.0_CA_PA_1 B &BG_MPAxis.x_CA_PA + 0
B4089 37 /c BG_MPAxis.1_CA_PA_2 B &BG_MPAxis.x_CA_PA + 1
B4090 38 /c BG_MPAxis.2_CA_PA_3 B &BG_MPAxis.x_CA_PA + 2
B4091 39 /c BG_MPAxis.3_CA_PA_4 B &BG_MPAxis.x_CA_PA + 3
B4092 40 /c BG_MPAxis.4_CA_PA_5 B &BG_MPAxis.x_CA_PA + 4
B4093 41 /c BG_MPSpin.0_CA_PA_S B &BG_MPAxis.x_CA_PA + 5
42
43
44 #Type W
W4086 45 WG_MP10_Active_Axis
W4084 46 WG_servo_enable_internal_servo
W4082 47 WG_Active_PWM_Axis
48
49 #Type
W4068 50 WG_motor_temp W[6]
W4068 51 /c WG_motor_temp_1 W &WG_motor_temp + 0
W4070 52 /c WG_motor_temp_2 W &WG_motor_temp + 2
W4072 53 /c WG_motor_temp_3 W &WG_motor_temp + 4
W4074 54 /c WG_motor_temp_4 W &WG_motor_temp + 6
W4076 55 /c WG_motor_temp_5 W &WG_motor_temp + 8
W4078 56 /c WG_motor_temp_S W &WG_motor_temp + 10
57
58 *+----------------------------------------------------+
59 *| Error-Marker |
60 *+----------------------------------------------------+
61
62 #Type
M4800 63 PN_error_mod_9167 M4800
M4801 64 PN_error_mod_9002 M4801
M4802 65 PN_error_mod_9005 M4802
M4803 66 PN_error_mod_9161 M4803
M4804 67 PN_error_Submit_Queue_Full M4804
M4805 68 PN_error_not_used_M_function M4805
M4806 69 PN_error_9171_Spi_Pos M4806
M4807 70 PN_error_servo_activ M4807
M4808 71 PN_error_Temp_powersupply M4808
M4809 72 PN_error_I2T_caution M4809
M4810 73 PN_error_modul_9xxx_Supervision M4810
M4811 74 PN_error_utilization_motor M4811
M4812 75 PN_error_motor_temp M4812
M4813 76 PN_error_I2T_limitation M4813
M4814 77 MG_Function_On M4814
K15 78 KG_Error_Modul_9200 K+15
K16 79 KG_Error_Modul_9220 K+16
K17 80 KG_Error_Modul_9210 K+17
K18 81 KG_Error_Modul_9202 K+18
M4815 82 PN_Error_gear_switching M4815
M4816 83 PN_Error_spindle_zero M4816
84
85 *+----------------------------------------------------+
86 *| Timer Counter definition |
87 *+----------------------------------------------------+
88
89 #type T
90 * This Timer must be in this sequenze
T0 91 TS_1_clamping 0
T48 92 TR_1_clamping &TS_1_clamping + 48
T1 93 TS_2_clamping 1
T49 94 TR_2_clamping &TS_2_clamping + 48
T2 95 TS_3_clamping 2
T50 96 TR_3_clamping &TS_3_clamping + 48
T3 97 TS_4_clamping 3
T51 98 TR_4_clamping &TS_4_clamping + 48
T4 99 TS_5_clamping 4
T52 100 TR_5_clamping &TS_5_clamping + 48
T7 101 TS_M_func_delay 7
T55 102 TR_M_func_delay &TS_M_func_delay + 48
T8 103 TS_1_servo_supervison 8
T56 104 TR_1_servo_supervison &TS_1_servo_supervison + 48
T9 105 TS_2_servo_supervison 9
PLC program example