Beruflich Dokumente
Kultur Dokumente
Operators view process data received from a SCADA server using a View node. Should the SCADA server become unavailable, process data can become unavailable to the operator at the View node. SCADA failover increases the availability of data to the View node and minimizes the amount of time that data is unavailable. It does this by allowing the View node to connect to more than one SCADA server. By recognizing multiple paths to the data, FIX32/iFIX can switch from one path to another automatically, improving overall system availability for critical operations. Switching from one connection to another is known as failover. The backup SCADA server feature allows you to connect a View node to both primary and backup SCADA servers, or SCADA server pair, that are connected to the same PLC. This feature provides two paths to the same process data instead of just one. The View node establishes and maintains the connections to both the primary and backup SCADA servers, either of which can be the active serverthe node with which the View node is currently communicatingor non-active SCADA server. When the connection to the primary SCADA server is lost, FIX32/iFIX automatically fails over to the backup SCADA server. Sometimes SCADA failover and SCADA redundancy are used interchangeably. Unfortunately, this may cause customers to think that the feature synchronizes tag values between PDB files. This, of course, is not the case. The only synchronization that takes place is with alarm acknowledgement. Failover actually accomplishes two things; alarm acknowledgments are synchronized and View nodes can fail over to another SCADA in the event of connection loss or needed downtime.
In this example, to configure VIEW1 for failover, perform the following: 1. Open VIEW1s SCU file and choose Configure->Network. 2. In the Network Configuration dialog box that opens up, add SCADA1 as a remote node. 3. Click to highlight the SCADA1 entry in the Configured Remote Node list box, and choose the Configure button. This displays the following dialog box shown below. Notice how SCADA2 is entered as the backup node. 4. Save SCU changes.
The only configuration needed on SCADA1 and SCADA2 (if you want alarm acknowledgements to be synchronized) is to fill in the Partner SCADA field in the SCU. To fill in this field on SCADA1 and SCADA2, perform the following: 1. Open the SCU on SCADA1 and choose Configure->SCADA. 2. Enter SCADA2 in the Partner SCADA field and click Ok button. 3. Save SCU changes. 4. Perform steps 1 through 3 on SCADA2, but instead enter SCADA1 in the Partner SCADA field. The purpose of the Partner SCADA field is that it tells the SCADA to establish a connection with its partner to exchange alarm information and to synchronize alarm acknowledgements. If you require that SCADA1 and SCADA2 function as View nodes as well, only the following would need to be configured on SCADA2: 1. Open SCADA2s SCU file and choose Configure->Network. 2. In the Network Configuration dialog box that opens up, add SCADA1 as a remote node. 3. Click to highlight the SCADA1 entry in the Configured Remote Node list box, and choose the Configure button. Enter SCADA2 as the backup node and click Ok. Click Ok again in the Network Configuration dialog box. 4. Save SCU changes.
In this example, to configure the View /PACKER1/PACKER2 nodes for failover, perform the following on each: 1. Open the SCU file and choose Configure->Network. 2. In the Network Configuration dialog box that opens up, add LGCL_ND1 as a remote node. 3. Click to highlight the LGCL_ND1 entry in the Configured Remote Node list box, and choose the Configure button. This displays the following dialog box shown below. 4. Save SCU changes.
If you need to synchronize alarm acknowledgments on PACKER1 and PACKER2, fill in the Partner SCADA field in the SCU. To fill in this field on PACKER1 and PACKER2, perform the following: 1. Open the SCU on PACKER1 and choose Configure->SCADA. 2. Enter PACKER2 in the Partner SCADA field and click Ok button. 3. Save SCU changes. 4. Perform steps 1 through 3 on PACKER2, but instead enter PACKER1 in the Partner SCADA field. The purpose of the Partner SCADA field is identical to the same field in FIX32 in that it tells the SCADA to establish a connection with its partner and synchronize alarm acknowledgement information.
NSD tag fields differ slightly between the FIX32 and iFIX products. Make sure to consult the electronic books for each product on NSD tag usage. These books also provide examples of how to programmatically control failover. In addition to providing NSD fields, GE Fanuc supplies diagnostic displays you can use with FIX32/iFIX. These displays are pre-built pictures with links that reference the diagnostic NSD fields. By using these displays, you can quickly display diagnostic information for any View node. FIX32 supplies the following diagnostic displays. These displays are provided in the Picture path of your View node. You need to modify these pictures to reference your local node name (replace all instances of the word LOCAL with your View node name): NSD.ODF - a network status display showing the local node name, each incoming connection, each outgoing connection, and each connection's status. This display always shows the primary node name even if the backup node is the active node. NSDREDUN.ODF - a network status display showing the information in NSD.ODF plus the names of the active node, the primary node, and the backup node. iFIX supplies a diagnostic display that contains links referencing diagnostic NSD fields. This display, called NetworkStatusDisplay.GRF, allows you to view the local node name, each incoming connection, each outgoing connection, and each connection's status. This display always shows the logical node name even if the backup node is the active node. The NetworkStatusDisplay.GRF file is provided in the Picture path of your iClient. You need to modify this file to reference your local node name by replacing all instances of the word THISNODE with the name of your View node. Make sure to replace all instances of THISNODE in the VBA code as well in the picture. If you need to view diagnostic data on the SCADA nodes, iFIX supplies two pictures; LocalAsBackup.grf (to be used on the backup SCADA), and LocalAsPrimary.grf (to be used on the primary SCADA). You cannot use NetworkStatusDisplay.GRF on SCADA nodes.
contain a full set of alarms from the non-active node. These alarms are in the summary queue but are marked as hidden until that node becomes active. The ALMSTAT.EXE Utility in the FIX32/Dynamics root directory can be used to configure the alarm queues. Run ALMSTAT.EXE from the run prompt and press Q. The Alarm Queue sizes should be increased if an OVER condition exists in the ALMSTAT.EXE Utility. You should not optimize your Alarm Queues by just bumping them up to the maximum of 9999. The larger you make your queues the more memory is allocated to them. The proper way is to set the queues to the maximum of 9999 on both SCADA nodes and restart. Then, force all your alarms in each database and view the ALMSTAT utility. The peak column will display the maximum number of alarms coming into each queue. The key is to get the queue slightly higher than the peak displayed in the utility. A simpler method in adjusting the alarm queue sizes would be to simply count the total number of tags in the PDB that can alarm, and multiply this value by 2. Then adjust your queues accordingly with the result.