136ff, 4 plc modules 7-136, 1 marker, byte, word, doubleword 7-136 – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 597: 4 plc modules
![background image](https://www.manualsdir.com/files/815340/content/doc597.png)
7-136
TNC 407/TNC 415/TNC 425
4 PLC Modules
01.98
4 PLC Modules
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 Marker, Byte, Word, Doubleword
4.1.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