Plc-modules, Module 9000: copy a marker-block, Module 9001: copy a word-block – HEIDENHAIN TNC 335 Technical Manual User Manual
Page 482: 74 plc modules

8/95
TNC 360
4 PLC Modules
7-103
7
4 PLC Modules
A range of PLC Modules is available for certain PLC functions that cannot be performed with the
PLC commands, or only in a complicated way. They are described below in more detail.
4.1 Module 9000: Copy a marker block
Module 9000 can be used to copy a block with a certain number of markers, beginning with the start
address, in ascending order to another marker range, beginning at a certain target address.
Care must be taken that the blocks do not overlap, and that there is adequate space for the copied
block after the target address.
Module call:
PS K/B/W/D
1st Marker of the block to be copied (start address)
PS K/B/W/D
1st Marker of the target address for copying
PS K/B/W/D
Length of the marker block
CM 9000
If the block is not copied correctly, marker M3171 will be set.
4.2 Module 9001: Copy a Word block
Module 9001 can be used to copy a block with a certain number of Bytes, Words or Doublewords,
beginning with the start address, in ascending order to another area, beginning at a defined target
address.
The length is always given in Bytes.
Care must be taken that the blocks do not overlap, and that there is adequate space for the copied
block after the target address.
Module call:
PS K/B/W/D
1st Byte of the block which is to be copied (start address)
PS K/B/W/D
1st Byte of target address for copying
PS K/B/W/D
Length of the block in Bytes
CM 9001
If the block is not copied correctly, marker M3171 will be set.