IBM CTI 2572 Network Card User Manual


 
CTI 2572 Installation and Operation Guide
71
6.4. Master Controller Update Example
Application
One 505 PLC (PLC A) is used as a master controller, sending updates to three other 505 PLCs (PLC
B, PLC C, PLC D) as fast as possible. PLC A is configured as a DataShare producer with a
requested production rate of every scan. The remaining PLCs are configured as DataShare
consumers.
Assumptions
The master controller will produce 300 words of data, stored at V1000.
PLC B will consume the first 100 words, PLC C will consume the next 100 words, and PLC D
will consume the last 100 words. Note that the consumer command blocks illustrated below are
the same except for the starting data location
Each consumer will store the data in a V memory block starting at V2000.
You want the consumers to write the packet sequence number in the first data location.
Command Blocks
Start Producer – PLC A
Address Description Hex Decimal
V100 Error Word 0000 0
V101 Command Code (Start DataShare Producer)) 2F01 12033
V102 Connection Number 4B29 19241
V103 Protocol Manager Number 002F 47
V104 Option Bits 0000 0
V105 Data ID (1 - 65565) 0001 1
V106 MSW: Source V Memory Address 0000 0
V107 LSW: Source V Memory Address 03E8 1000
V108 Length of Data in Words (1 - 512) 0064 300
V109 Trigger Option (1 = timer, 2 = logic, 3 = scan) 0003 3
V110 Timer Interval (when Offset 9 = 1)
Scan Interval (when Offset 9 = 3)
0001 1
V111-115 Reserved, Set to 0 0000 0