14.1.2 Additional Configuration

To use the Xpanel Data Server feature, you must configure the associated SCADA project as well.

Configuring ATIVA-SCADA

a) In UltimateAccess, select [Tools] – [I/O Device]. Press [New Device] to bring up the [I/O Device Selection] window as shown below. Select ‘ATIVA-XPANEL Ethernet’ and designate a name for the device.

b) In the next window, press [Add Station] to configure the Xpanel device. Press [IP Addr.] to enter the target device’s IP address. You may also choose the scan time, time out, and a description for the device.

Item

Description

Station Name

Enter a name for the station. Special characters are not allowed.

Station Type

Select the device type of the target station. Different options will be available depending on which protocol you selected in the [I/O Device Selection] window.

Station No.

Assign a station number if required by the protocol.

IP Addr.

Assign the IP address of the device.

#1-1 IP Address

Specify the main IP address for the device.

#2-2 IP Address

Specify a secondary IP address for the device. This field is optional.

#2-1 IP Address

Specify a primary backup IP address for the device. This field is optional.

#2-2 IP Address

Specify a secondary backup IP address for the device. This field is optional.

Scan Time

Specify the frequency with which SCADA will update tag values from the HMI.

Time Out

Specify the length of time which SCADA will treat as a broken communication.

Description

Enter a description of the station.

c) Press the [Add COM Block] button to assign a data block for the communication. If you do not add a COM block for each desired memory block (D for Data, S for String), SCADA will be unable to read the requested data from the HMI.

Item

Description

Block No

Assign a number to identify the COM block.

Address

Choose the starting address for the COM block. Choose ‘D' for data memory or 'S’ for string memory. This address corresponds to the addresses 0-4999 specified in the [Data Server] window in XpanelDesigner.

Word

Choose the number of words to read from the HMI. If you wish to read more than 128 words from the HMI, you must create additional COM blocks. For example, if the starting address is D1000 and the 'Word' setting is 128, you will be able to access addresses D1000-D1127.

Scan

Set the frequency with which SCADA will read/write data from the HMI. This value cannot be less than the value chosen in the [Station] configuration window.

d) Go to the [COM Port] tab and enter the local PC’s IP address. For most users, this will be '0.0.0.0'.

e) Register a real tag whose address lies within the COM block data range.

f) To check that the tag value is being read, you can create a dynamic tag by choosing [Draw] – [Tag Value(S)] and clicking on the graphic page. Choose the real tag which you created in the last step.

g) Execute ATIVAX to check the operation. If the connection is successful, the tag value (0 by default) will be displayed. If the connection is unsuccessful, question marks “???“ will be displayed instead.

Â