HEIDENHAIN TNC 306 Technical Manual User Manual

Page 508

Advertising
background image


3/97

TNC406/TNC 306

Update Information No. 11

1-9

The coordinate system is first shifted in X/Y/Z and then rotated about the Z axis. The rotation
results in an automatic shift in C.

The control takes the data for the two blocks from the PLC. When EL CALL or WP CALL is
executed the programmed name and an identifier are transferred to the PLC. Then the NC sets
the S strobe (M2044). The PLC can then decide which of the two blocks is to be executed in
order to operate an EWIS robot system, for example. After the electrode, workpiece or pallet has
been changed, the data of the electrode or workpiece must be available in the PLC in the word
markers starting with D628. Then the acknowledgment marker M2481 must be set in the PLC
for a PLC scan. The NC takes the EL CALL and WP CALL data from the PLC and resets the
strobe M2044. Now the corresponding calculations are made (compensation/shift/rotation) and
executed. The datum-shift data of the workpiece are always relative to pallet datum, which must
agree with the manual preset.

It is recommended that after an EL CALL/TOOL CALL with a block L X... Y... C... the

electrode be moved to a compensated position for further machining, since the electrode
shifting movements are rotated depending on the C position. This means that for all erosion
processes in which the electrode must move in the proper direction, the compensated C
position must first have been reached.

Marker assignment:
M2044

S strobe (special function EL CALL, WP CALL set/reset NC)

M2481

Reset S strobe (set/reset PLC)

B600 ... B623

Data NC --> PLC

B600

Identifier: 1 = EL CALL, 2 = WP CALL

B601 ... B603

Free

B604 ... B619

16-byte ASCII string EL name or WP Name

B620

Number of tilts for identifier 2

B621 ... B623

Free

B624 ... B655

Data PLC --> NC

B624 ... B627

Free

B628 ... B651

Data for identifier 1 (EL CALL) or identifier 2 (WP CALL)
Identifier 1:

Identifier 2:

D628

Compensation X

Shift X

D632

Compensation Y

Shift Y

D636

Compensation Z

Shift Z

D640

Compensation C

Rotation C

D644

Undersize

D648

Radius

B652 ... B655

Free

• FN14

With numbers 300...499, PLC dialogs 0 to 199 are accessed during FN 14 (PLC error messages).
FN14: ERROR = 0..299

Display: "FN14: ERROR CODE 0...299"

FN14: ERROR = 300..499

Display: Text from PLC chip

• FN15

With numbers 0...199, PLC dialogs 0...199 are accessed during FN 15 (PLC error messages).
FN15: PRINT 0..199

Output to RS-232: Text from PLC chip

FN15: PRINT 200

Output to RS-232: special character ETX

FN15: PRINT Q1..Q255

Output to RS-232: content of the Q parameter

Advertising
This manual is related to the following products: