Markers, Bytes, Words, And Double Words; Plc Modules - HEIDENHAIN iTNC 530 HSCI Technical Manual

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

9.16 PLC Modules

9.16.1 Markers, bytes, words, and double words

July 2013
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 583.)
If the iTNC does not execute a module correctly, it sets M4203 and transmits
an error code in W1022. You can then evaluate M4203 and W1022 in order to
display an error message. If desired, the errors of PLC modules can be logged
in a special log book (see "Logs" on page 1286).
M4203
Error status for PLC module
W1016
PLC module that was last processed
incorrectly
W1022
Error status of the last called PLC
module
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.
The iTNC 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 iTNC 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 code:
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 target block too long
9.16 PLC Modules
Set
Reset
NC
NC/PLC
NC
NC
NC
NC
1849

Advertisement

Table of Contents
loading

Table of Contents