beautypg.com

Plc modules for tnc 416/406, Copy in marker or word range (module 9000/9001) – HEIDENHAIN TNC 306 Technical Manual User Manual

Page 401

background image


3/2000

TNC 416/TNC 406/TNC 306

PLC Modules for TNC 416/406

7-111

4 PLC Modules for TNC 416/406

A number of PLC modules are available for PLC functions that cannot be executed or which are very
complicated to execute with PLC commands. The error status is displayed after execution of the
module in Marker 3171.

4.1

Copy in Marker or Word Range (Module 9000/9001)

Modules 9000 (Marker) and 9001 (Byte/Word/Double) copy a block with a certain number of markers
or bytes beginning from the start address to the specified target address.
For module 9001 the length should always be defined in bytes.

Constraints:
- Copying is sequential, starting with the first memory cell. This means that the function is not

guaranteed when the source and destination blocks overlap and the source block begins at a lower
address than the destination block. In this case the overlapping part of the source block is
overwritten before copying takes place.

Possible errors:
- A block of the defined length cannot be read from the defined address in the marker or word RAM

(address is too high or block is too long).

- A block of the defined length cannot be written to the defined address in the marker or word RAM

(address is too high or block is too long).

Call:

PS

B/W/D/K

PS

B/W/D/K

PS

B/W/D/K

CM

9000

Transfer in marker range

or

PS

B/W/D/K

PS

B/W/D/K

PS

B/W/D/K

CM

9001

Transfer in word range

Error status after call: M3171 =

0: Block was transferred
1: Error conditions see above

This manual is related to the following products: