7 – 60 HEIDENHAIN Technical Manual TNC 426, TNC 430
________________________________ Local Symbols _______________________________
INPUTS : 8 M3200
LB:233
INPUT_BIT0 : 9 M3200
=:223
INPUT_BIT1 : 10 M3201
=:225
INPUT_BIT2 : 11 M3202
=:227
INPUT_BIT3 : 12 M3203
=:229
INPUT_BIT4 : 13 M3204
=:231
1
2 *+----------------------------------------------------+
3 *| Direction button |
4 *| jog mode |
5 *| NC-Start |
6 *| NC-Stop |
7 *| rapid-button |
8 *+----------------------------------------------------+
9
10 GLOBAL Manuel_button_funcktion
11
M3200 12 #define ML_XYZ45_Plus M[8]
M3200 13 #define /c ML_1_Plus M &ML_XYZ45_Plus + 0
M3201 14 #define /c ML_2_Plus M &ML_XYZ45_Plus + 1
M3202 15 #define /c ML_3_Plus M &ML_XYZ45_Plus + 2
M3203 16 #define /c ML_4_Plus M &ML_XYZ45_Plus + 3
M3204 17 #define /c ML_5_Plus M &ML_XYZ45_Plus + 4
18
M3208 19 #define ML_XYZ45_Minus M[8]
M3208 20 #define /c ML_1_Minus M &ML_XYZ45_Minus + 0
M3209 21 #define /c ML_2_Minus M &ML_XYZ45_Minus + 1
M3210 22 #define /c ML_3_Minus M &ML_XYZ45_Minus + 2
M3211 23 #define /c ML_4_Minus M &ML_XYZ45_Minus + 3
M3212 24 #define /c ML_5_Minus M &ML_XYZ45_Minus + 4
25
237 LBL MANUEL_BUTTON_FU 26 LBL Manuel_button_funcktion
238 L I147 27 L I_NC_Stop
239 AN M3993 28 AN MG_T_I_N_supervision
240 = M4560 29 = PN_M4560_NC_STOP_0_activ
30
242 L I148 31 L I_rapid_button
243 = M4561 32 = PN_M4561_rapide
33
245 L I3 34 L I_feed_enable
246 = M4563 35 = PN_M4563_feed_enable
36
248 L I146 37 L I_NC_Start
249 = M4564 38 = PN_M4564_NC_start
250 = M4562 39 = PN_M4562_axis_button_latch
40
252 L M4150 41 L NP_M4150_manuel_mode
253 O M4151 42 O NP_M4151_electronic_handwhell
254 O M4155 43 O NP_M4155_reference_mode
255 O M4156 44 O NP_M4156_Softkey_Manual_Operation
256 CMT INPUT_KEYBOARD 45 CMT Input_keyboard
257 CMT JOG_DIRECTION_BU 46 CMT Jog_Direction_Button
258 EM 47 EM
48
260 LBL INPUT_KEYBOARD 49 LBL Input_keyboard
261 L I133 50 L I_1_axis_Plus
262 = M3200 51 = ML_1_Plus
263 L I134 52 L I_2_axis_Plus
264 = M3201 53 = ML_2_Plus
265 L I135 54 L I_3_axis_Plus
266 = M3202 55 = ML_3_Plus
267 L I136 56 L I_4_axis_Plus
268 = M3203 57 = ML_4_Plus
269 L M3981 58 L I_5_axis_Plus
270 = M3204 59 = ML_5_Plus
60
272 L I128 61 L I_1_axis_Minus
273 = M3208 62 = ML_1_Minus
274 L I129 63 L I_2_axis_Minus
275 = M3209 64 = ML_2_Minus
276 L I130 65 L I_3_axis_Minus
277 = M3210 66 = ML_3_Minus
278 L I131 67 L I_4_axis_Minus
279 = M3211 68 = ML_4_Minus
280 L M3980 69 L I_5_axis_Minus
281 = M3212 70 = ML_5_Minus
282 EM 71 EM
72
PLC program example