Plc Modules; Markers, Bytes, Words, And Double Words - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

7.15 PLC Modules

7.15.1 Markers, Bytes, Words, and Double Words

December 2001
A number of PLC modules are available for PLC functions that are very difficult
or even impossible to perform with PLC commands alone. You will find
descriptions of these modules under the corresponding functions. (See
"Overview of Modules" on page 5 – 3)
If the TNC runs a module unsuccessfully, it sets marker 4203. You then can
evaluate this marker to display an error message.
Module 9000/9001Copy in the marker or word range
Modules 9000 (markers) and 9001 (byte/word/double) copy a block with a
certain number of markers or bytes, beginning with the start address, to the
specified target address. For module 9001 the length should always be
defined in bytes.
The TNC copies sequentially, beginning with the first memory cell. Therefore
the function is not ensured if the source block and the target block overlap and
the source block begins at a lower address than the target block. In this case
the TNC overwrites the overlapping part of the source block before the
copying process.
Call:
PS
B/W/D/K <Number of the 1st marker in source block>
PS
B/W/D/K <Number of the 1st marker in target block>
PS
B/W/D/K <Length of block in markers>
CM
9000
PS
B/W/D/K <Number of the 1st word in source block>
PS
B/W/D/K <Number of the 1st word in target block>
PS
B/W/D/K <Length of block in markers>
CM
9001
Error recognition:
Marker
Value
Meaning
M4203
0
Markers, bytes, words, or double words were copied
1
Error code in W1022
W1022
1
Operand address invalid
2
Address too high or block too long
4
Programmed source or destination block too long
PLC Modules
7 – 177

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents