7 – 56 HEIDENHAIN Technical Manual TNC 426, TNC 430
12 L W1032 88 L NP_W1032_reference_necessary
13 <> K0 89 <> K+0
14 O M4155 90 O NP_M4155_reference_mode
15 CMT REFERENCE_ENDSWI 91 CMT reference_endswitch
92
17 CM MANUEL_BUTTON_FU 93 CM Manuel_button_funcktion
18 CM NC_AXIS 94 CM NC_Axis
19 CM SPINDLE_FUNCTION 95 CM spindle_function
20 CM GEAR_CHANGING 96 CM Gear_Changing
21 CM AXIS_SUPERVISION 97 CM Axis_Supervision
22 CM PLC_SOFT_KEYS 98 CM PLC_Soft_keys
99
100 #ifdef First_PL
24 PS K0 101 PS K+0
25 CM 9005 102 CM 9005
26 L M4203 103 L NP_M4203_error_Modul_9xxx
27 S M4802 104 S PN_error_mod_9005
105 #endif
28 EM 106 EM
________________________________ Local Labels ________________________________
9002 : 9002
76
9005 : 9005
102
1
2 *+----------------------------------------------------+
3 *| Initialize PLC programm |
4 *+----------------------------------------------------+
5
6 GLOBAL initialization
7
B4067 8 #define /s BL_MPs_read_identify B
B4066 9 #define /s BL_Case B
W4080 10 #define /s WL_Index_Reg W
11
K0 12 #define KL_Off_Power_Fail K+0
K1 13 #define KL_On_Power_Fail K+1
14
29 LBL INITIALIZATION 15 LBL initialization
30 LN M3999 16 LN MG_one_marker
31 S M3999 17 S MG_one_marker
18
33 L M3998 19 L MG_zero_marker
34 R M3998 20 R MG_zero_marker
21
36 L M3999 22 L MG_one_marker
37 S M4572 23 S NP_M4572_enable_jog_mode_Posit
38 R M992 24 R MG_1_clamp_mode_activ
39 R M993 25 R MG_2_clamp_mode_activ
40 R M994 26 R MG_3_clamp_mode_activ
41 S M995 27 S MG_4_clamp_mode_activ
42 S M996 28 S MG_5_clamp_mode_activ
29
44 L M4300 30 L NP_M4300_PowerFailOn_MP4310.0_Bit_00
45 IFT 31 IFT
46 PS K1 32 PS KL_On_Power_Fail
47 ELSE 33 ELSE
48 PS K0 34 PS KL_Off_Power_Fail
49 ENDI 35 ENDI
50 CM 9167 36 CM 9167
51 PLW 37 PLW
52 <> K0 38 <> K+0
53 S M4800 39 S PN_error_mod_9167
40
55 L K255 41 L Motor_Temp_1
56 = W4068 42 = WG_motor_temp_1
57 L K255 43 L Motor_Temp_2
58 = W4070 44 = WG_motor_temp_2
59 L K255 45 L Motor_Temp_3
60 = W4072 46 = WG_motor_temp_3
61 L K255 47 L Motor_Temp_4
62 = W4074 48 = WG_motor_temp_4
63 L K255 49 L Motor_Temp_5
64 = W4076 50 = WG_motor_temp_5
65 L K255 51 L Motor_Temp_S
66 = W4078 52 = WG_motor_temp_S
53
68 RPLY B4067 54 RPLY BL_MPs_read_identify
69 <> K0 55 <> K+0
70 EMT 56 EMT
71 SUBM MPS_READ_SUBMIT 57 SUBM MPs_read_Submit
72 = B4067 58 = BL_MPs_read_identify
73 == K0 59 == K+0
74 S M4804 60 S PN_error_Submit_Queue_Full
75 EM 61 EM
62
PLC program example