Plc Modules; Copy In Marker Or Word Range - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

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
<Number 1st marker source block>
PS
B/W/D/K
<Number 1st marker destination block>
PS
B/W/D/K
<Length of block in markers>
CM
9000
Transfer in marker range
or
PS
B/W/D/K
<Number 1st byte source block>
PS
B/W/D/K
<Number 1st byte destination block>
PS
B/W/D/K
<Length of block in bytes>
CM
9001
Transfer in word range
Error status after call: M3171 =
7-136
TNC 407/TNC 415/TNC 425
0: Block was transferred
1: Error conditions see above
4 PLC Modules
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