EasyManua.ls Logo

HEIDENHAIN MANUALPLUS 620 - 8.41 PLC Modules; 8.41.1 Markers, bytes, words, and double words

HEIDENHAIN MANUALPLUS 620
1818 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1752 HEIDENHAIN Technical Manual MANUALplus 620
8.41 PLC Modules
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 599.)
If the control processes a module incorrectly, it sets the marker
NN_GenApiModuleError (M4203). You can evaluate this marker for
displaying an error message.
8.41.1 Markers, bytes, words, and double words
Module 9000/9001 Copy 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.
Constraints: The control 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 control 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
NN_GenApiModule
Error (M4203)
0 Markers, bytes, words, or double words
were copied
1 Error code in NN_GenApiModuleErrorCode
(W1022)
NN_GenApiModule
ErrorCode (W1022)
1 Operand address invalid
2 Address too high or block too long
4 Programmed source or target block too long

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Related product manuals