IBM CTI 2572 Network Card User Manual


 
CTI 2572 Installation and Operation Guide
70
NOTE:
When this option bit is set, the number of V memory words written will be 1 + the data length.
Data ID - This number identifies the data to be consumed. This number must match the Data ID of
one of the producers.
MSW: Destination Memory Address Most Significant Word of the address of the V memory block
to which the consumed data will be written. For addresses below 65,536, set this value to 0.
LSW: Source Memory Address - Most Significant Word of the address of the V memory block to
which the consumed data will be written.
Data Length - Specifies the number of data words to be consumed. You may choose to consume less
data than the amount produced.
Starting Data Word - Allows you to specify an offset into the block of data being produced. For
example, you may wish to ignore the first 100 words in the data block.
NOTE:
Use of the Starting Data Word, coupled with the Data Length Specification allows different PLCs to
consume different parts of the same produced message. For example. PLC A may produce 300
words of control data. PLC B may consume the first 100 words, PLC C the middle 100 words, and
PLC D the last 100 words. See Application Examples.
Close DataShare Instance
This command terminates the instance. The Connection Number may be re-used in a subsequent
instance.
Offset Description Hex Decimal
0 Error Word 0000 0
1 Command (Close DataShare Instance) 0x2F04
2 Connection Number (of instance to Close) 19241-19248
3 Option bits (Reserved Set to 0) 0000
4-15 Reserved, Set to 0
Error Word - will contain an error code if an error occurs. You should set this value to 0 each time
you trigger the command block to clear previous error codes.
Command Code The number for this command is 0x2F04.
Connection Number Connection Number of Instance you are closing
Option Bits - Reserved for future use.