Download Technical Manual TNC 360

Transcript
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
PS K/B/W/D
PS K/B/W/D
CM 9000
1st Marker of the block to be copied (start address)
1st Marker of the target address for copying
Length of the marker block
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
PS K/B/W/D
PS K/B/W/D
CM 9001
1st Byte of the block which is to be copied (start address)
1st Byte of target address for copying
Length of the block in Bytes
If the block is not copied correctly, marker M3171 will be set.
8/95
TNC 360
4 PLC Modules
7-103