CTI 2572 Installation and Operation Guide
69
DataShare to produce every 10 seconds, and use the command to trigger production on a particular
event.
Offset Description Hex Decimal
0 Error Word 0000 0
1 Command (Trigger DataShare Producer) 0x2F02
2 Connection Number (19241 – 19248)
3 Option bits (Reserved – Set to 0) 0000 0
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 0x2F02.
Connection Number – Connection Number must match to the connection number in the
corresponding S
TART PRODUCER INSTANCE command block.
Protocol Manager Number - The number for this Protocol Manager is 0x2F
Option Bits – Reserved for Future Use. Set to 0.
Start Consumer Instance
This command starts one instance of a consumer.
Offset Description Hex Decimal
0 Error Word 0000 0
1 Command Code (Start DataShare Consumer) 2F03
2 Connection Number 19241-19248
3 Protocol Manager Number 002F
4 Option Bits
5 Data ID (1 - 65565)
6 MSW: Destination V Memory Address
7 LSW: Destination V Memory Address
8 Data Length in Words (1 - 512)*
9 Starting Data Word in Data Block (1 - 512)
10-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 0x2F03.
Connection Number – Connection Number must be within specified range and unique.
Protocol Manager Number - The number for this Protocol Manager is 0x2F
Option Bits – When bit 15 (0x02) is set, the lower 16 bits of the DataShare sequence number is
written to the first PLC V memory Destination address. The first data word is written in the second
location and other data words are offset by one.