Plc Program Example - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

10.3.2 PLC program example

In the following example the currently selected axis is evaluated so as to be traversed with the +/-
keys. (MP7640 = 4, MP7641 = 0 and MP7645.0 = 0).
Key on HR 322
+ key
- key
+ LED
- LED
;Main program
LBL 1
PS
K+9
CM
9035
PL
B0
L
K+0
B=
M2456
L
K$FF
B=
M2472
L
MO
ON
MO
R
O100
R
O101
R
O102
R
O103
R
O104
R
O105
R
O106
Case
BO
CM
10
CM
11
CM
12
ENDC
EM
LBL 10
LN
M2457
A
I170
S
M2456
R
M2472
S
O106
EM
LBL 11
Y-axis
.
EM
LBL 12
Z-axis
.
EM
LBL 13
Axis IV
EM
4-200
TNC 407/TNC 415/TNC 425
PLC input/output
I170
I169
O105
O106
Interrogate selected handwheel axis with module 9035
Delete the 8 markers for "Manual
Traverse" of axis X to IV
Set the 8 complement markers
PLC outputs O100
to O106 are deleted.
All LEDs are
turned off except the
LED of the selected axis.
Evaluation of selected handwheel axis
X-axis
Y-axis
Z-axis
X-axis
Unless X- is active
and + key is pressed,
traverses in
X+ direction.
LED on - key lights up.
10 Electronic handwheel
01.98

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents