HEIDENHAIN TNC 426 PB/M Technical Manual page 904

Table of Contents

Advertisement

PLC program example
34 *+---------------------------------------------------+
35 *| Define PLC outputs
36 *+---------------------------------------------------+
37 *
38 #type
O0
39
O1
40
O2
41
O3
42
O4
43
44
O7
45
O8
46
O9
47
O10
48
O11
49
50
O15
51
52
M991
53 /c O_Gear_Range_1
M990
54 /c O_Gear_Range_2
30 #else
31
32 #endif
33
34
35 *+----------------------------------------------------+
36 *|
37 *+----------------------------------------------------+
38
39 #ifdef $280470$
40
41 #else
42
43 #endif
44 EXTERN initialization
45
46 USES M_Funct.Src
47 EXTERN M_Function
48
49 USES Ref_Endl.Src
50 EXTERN reference_endswitch
51
52 USES DircBut.Src
53 EXTERN Manuel_button_funcktion
54
55 USES Axis.Src
56 EXTERN NC_Axis
57
58 USES Spindle.Src
59 EXTERN spindle_function
60
61 USES Gear.Src
62 EXTERN Gear_Changing
63
64 USES HelpDiag.Src
65 EXTERN Axis_Supervision
66
67 Uses Softkeys.Src
68 Extern PLC_Soft_keys
69
70 *+----------------------------------------------------+
71 *|
72 *+----------------------------------------------------+
73
74 #ifdef First_PL
0 PS K0
75
1 CM 9002
76
2 L M4203
77
3 S M4801
78
79 #endif
80
5 L M4172
81
6 O M4173
82
7 O M4174
83
8 CMT INITIALIZATION
84
85
10 CM M_FUNCTION
86
87
December 2001
O_1_axis_enable
O_2_axis_enable
O_3_axis_enable
O_4_axis_enable
O_5_axis_enable
O_1_clamping
O_2_clamping
O_3_clamping
O_4_clamping
O_5_clamping
O_Spindle_servo_enable
#define /g
GLB_IO.Def
list of include files
USES Initi470.Src
USES Initi472.Src
PLC-program
PS
K+0
CM
9002
L
NP_M4203_error_Modul_9xxx
S
PN_error_mod_9002
L
NP_M4172_1_PLC_after_power_on
O
NP_M4172_1_PLC_after_compile
O
NP_M4172_1_PLC_after_MP_edit
CMT
initialization
CM
M_Function
PLC Program Example
|
O0
O1
O2
O3
O4
O7
O8
O9
O10
O11
O15
M &I_gear_range_1
M &I_gear_range_2
|
|
7 – 55

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents