Server Parameters

<< Click to Display Table of Contents >>

 

Server Parameters

Users can change Bilateral Tables of ICCP Servers at run time to add or modify Tags. However, if users want to remove Tags, the Server must be set to Offline mode.

 

Adding or Changing Tags

Use calls to UpdatePointDatabase and UpdateDeviceDatabase Tags. If these Tags already exist, these parameters are updated. If these Tags do not exist, a new point is then created. At the end of this process, execute a call to the SaveDatabase Tag.

 

Removing, Adding, or Changing Tags

If a removal operation is needed, a sequence of steps must be performed, according to the options described next.

 

Option 1: Driver Starts in Offline Mode

1.Select the Start Offline (Allows Runtime Configuration) option.

2.Set the ICCP Server to Offline mode by writing the value "1" to the ICCP.ServerOffline Tag, according to the next example.

Write -1, 0, 0, 3, Array("ICCP.ServerOffline", 1)

 

3.Configure the ICCP.StartOffline Tag with the value "0". This Driver creates the Server component, because it is now in Online mode. However, this Server component is still in Offline mode, due to the previous step, according to the next example.

Write -1, 0, 0, 3, Array("ICCP.StartOffline", 0)

 

4.Execute calls to UpdatePointDatabase and UpdateDeviceDatabase Tags. As the database is empty, all items must be inserted.

5.Execute a call to the SaveDatabase Tag.

6.Set the ICCP Server back to Online mode by writing the value "0" to the ICCP.ServerOffline Tag, according to the next example.

Write -1, 0, 0, 3, Array("ICCP.ServerOffline", 0)

 

Option 2: Driver Starts in Online Mode

1.Deselect the Start Offline (Allows Runtime Configuration) option. This configuration disconnects all communication channels, both Clients and Servers, according to the next example.

Write -1, 0, 0, 3, Array("ICCP.StartOffline", 1)

 

2.Repeat the next steps of the procedure to start in Offline mode.

Was this page useful?