beautypg.com

Sharing data among panels using data sharer, Pm designer operation manual – B&B Electronics WOP-2121V-N4AE - Manual User Manual

Page 90

background image

4

3

PM Designer Operation Manual

3-29

CHAPTER 3 CREATING PANEL APPLICATIONS

3.4.6. Sharing Data among Panels Using Data Sharer

The data sharer is a virtual device. It allows data sharing among up to 16 PM panels on an Ethernet or an RS485 network.
Each of the PM panels can have up to 256 words of data to share.

To set up the communication for the data sharing, create a direct link and select Data Sharer (UDP) or Data Sharer
(RS485) of PanelMaster as the connected device. The panel address that you can set in the Parameter page of the Link
Properties dialog box must be unique for each sharing panels as it is used to identify the shared data.

The communication driver for the link connecting to Data Sharer is responsible for broadcasting the panel's shared data on
the network. For example, if the panel address of a panel is 10 and the number of the link connecting to Data Sharer is 2,
the following Macro command will cause the communication driver to broadcast the corresponding data on the network.

2\P10.0 = MOV($u300, 30)

The communication driver receives the broadcasted shared data on the network automatically. It has a block of memory to
store the shared data. To access a word, use the following address, where m is the panel address and n is the word
number of that panel’s shared data.

Pm.n m=1~16;

n=0-255

To access a bit, use the following address, where b is a hexadecimal number representing the bit number in the specified
word.

Pm.n.b

m=1~16; n=0-255; b=0~f

The UDP is used for the data sharing on Ethernet.