4. Configuration
4.4. Quantum Hot-Standby PAC Station
4.4. Quantum Hot-Standby PAC Station
This chapter describes the configuration from Unity Pro of the key parameters of Quantum Hot-Standby system. The configuration of an Ethernet ring dedicated to field devices and Profibus network is also illustrated.
This chapter describes the configuration from Unity Pro of the key parameters of Quantum Hot-Standby system. The configuration of an Ethernet ring dedicated to field devices and Profibus network is also illustrated.
4.4.1 Architecture 4.4.1 Architecture
As seen in the previous chapters, our architecture comprises a Quantum Hot-Standby system linked to:
As seen in the previous chapters, our architecture comprises a Quantum Hot-Standby system linked to:
•
2 Ethernet rings via NOE modules•
2 Ethernet rings via NOE modules•
a Profibus network via a PTQ module•
a Profibus network via a PTQ module•
a Remote I/O station•
a Remote I/O station4.4.2. Hardware Configuration
The hardware setup used in this guide is illustrated below. It is composed of a Hot-Standby CPU, 2 Ethernet modules 140 NOE 771 11 for the management of the control and field networks. A 140 PTQ PDP MV1 module handles the Profibus network. The control of the Remote I/O station is performed by RIO Drop Head 140 CRP 931 00 and RIO Drop End communicator 140 CRA 931.00 modules.
4.4.3. CPU Configuration
In Unity Pro, from the Configuration tab, we define the address range used for the application (State RAM).
For a Hot-Standby application, it is recommended to check the “Online modification in RUN” option. This allows, while staying online, to add or to delete discrete or analog modules, and parameters modification.
Note: This option is supported only with a firmware version v2.0 ir12 or earlier for the CRP module and with a firmware version v2.0 ir6 or earlier for the CRA module.
The following screenshot sums up the CPU configuration:
4.4.4. Hot-Standby Configuration
In the Hot-Standby tab of the CPU configuration, we set the Hot-Standby runtime parameters.
CPUs Run Mode
In the Run Mode area, we define which PAC will be the Primary at the system power up. If the 2 PACs are declared “Online", the PAC with the lower MAC address takes the Primary role.
Controller A, select Online
Controller B, select Online
Logic Mismatch
This parameter defines the PAC mode if a program mismatch is detected between the Primary and the Standby.
Select Offline
Keypad
The Invalidate Keypad parameter allows inhibiting keypad commands sent from the Hot-Standby menu.
Do not select the option
Swap Address
This parameter allows CPU memory swapping in case of a switchover.
Non-Transfer Area
This area is defined by the user. Words located in this area will not be transferred to the Standby PAC. This area is used for specific operations performed by the Primary and must not impact the Standby.
For our application, we set a 2000 words zone from %MW100.
HSBY Configuration Options on RIO bus
The implementation of a Quantum Hot-Standby system implies the use of CRP modules. Therefore, if I/O devices over Ethernet are used, the No RIO drop option has to be selected.
Once a RIO drop is declared, the No RIO drop is automatically grayed
4.4.5. RIO Configuration
It is important to set up properly the Drop hold up time parameter. This is the maximum time the RIO bus can be offline before triggering an exception event (1200 ms by default).
In configuration part, right click on Remote IO Quantum Drop and select Open.
4.4.6. Ethernet Modules – 140 NOE 771 11
This part describes the NOE modules configuration to set up the communication with the SCADA system and the Ethernet devices.
Controller Ethernet Network
Only the IP configuration has to be set in order to set up the communication between the SCADA system and the NOE module. No specific service is required.
IP Configuration
IP address: 172.20.101.10
Subnetwork mask: 255.255.0.0
Devices Ethernet Network
This module is dedicated to communicate with I/O devices such as ATV71, TesysT, Advantys STB, Quantum, M340 and so on.
The I/O scanning service is used for I/O device communication.
The NOE module communicates with the I/O devices via an Ethernet ring managed with MRP. The configuration of the ring is the same as the one described for the control network (see chapter 4.2)
IP Configuration
IP address: 172.20.104.1
Subnetwork mask: 255.255.0.0
Module Utilities
The I/O Scanning service drives the communication between the module and the I/O devices.
From Module Utilities area, select Yes for IO Scanning.
IO Scanning
Set up of the I/O Scanning lines associated with I/O devices:
- Switch SW10:
ATV71: 172.20.104.10
STB: 172.20.104.11
ETG100: 172.20.104.12
- Switch SW11:
ATV71: 172.20.104.20
STB: 172.20.104.21
- Switch SW12:
Quantum: 172.20.104.22
M340: 172.20.104.34
A summary of the I/O Scanning configuration is presented on the following screenshot:
4.4.7. Profibus Module – 140 PTQ-PDPMV1
PTQ-PDPMV1 is a Profibus DP communication module. Its configuration is made through the Prosoft configuration software and transferred into the module via a serial or Ethernet link.
This software is used to configure the Profibus master/slaves and also to map the I/O variables. It also allows importing variables and structures associated with the project.
Prosoft Configuration Builder (PCB)
Creation of a new project:
from PCB, Click on File and Select New
right Click on Default Module and select Choose Module Type
in Product Line Filter area, select PTQ
choose module type PTQ-PDPMV1
select Enable Hot-Standby
click on OK
PTQ Profibus Master DPV1 configuration
From PTQ module created, in the tree list, right click on PTQ Profibus Master DPV1 and select Configure
Type “7” in the text zone Slot Number. This value corresponds to the slot number in which the PTQ module is located on the Quantum rack.
Mapping of Unity Pro I/O variables: We fill in the fields Output Start Register and Input Start Register with the address values used in Unity Pro:
Intput Start Register: 1025 (%IW) (size: 768) Output Start Register: 4097(%MW) (size: 768)
Ethernet port speed is set to 100MB/full-duplex.
Note: In our Hot-Standby configuration, we connect the 2 PTQ modules with an Ethernet cross cable. This link allows network and modules monitoring via a UDP mailer.
In the case of the PTQ modules linked using an Ethernet switch, the Duplex/Speed Code parameter must be set to Auto-negotiate.
In the case of the PTQ modules linked using an Ethernet crossover cable, the Duplex/Speed Code parameter must be set to 100Mb/full-duplex.
Profibus DP configuration
The following table describes the configuration of the Baud Rate and the Host Delay time of the bus.
Step Action
1
From Profibus DP, right click on Configure.
2
Click on Configure Profibus Button
3
From the Bus Configuration Windows, Right Click on the picture Master HSBY and select Object properties
4
From the tab PROFIBUS, after having configured the master address, configure the Baud Rate, Profile and Host Delay Time.
- Baud Rate: 1500kBit/sec (en fonction de la technologie des esclaves configurés sur bus)
- Profile: User defined - Host Delay Time: 300ms
Click on OK
5 The setup is now complete
Variables and Variable Structures export
From the PDPMV1 Profibus Master Setup window, the mapping of the variables can be displayed and export files of these variables can be created. This file has to be imported in Unity Pro later.
Step Action
1
In the Processor Network Memory Map area, Click on Show Unity Map.
2
From Unity Memory Map Window, click on Export Processor Files, and save the .xsy file in the directory of your choice.
3 Close the windows Unity Memory Map and PDPMV1 Profibus Master Setup.
Loading of the Profibus configuration into the PTQ module
The serial port of the module is used to perform the transfer, the procedure is detailed in the table below:
Step Action
1
Right Click on PTQ-PDPMV1-HSBY and select Download From PC to Device.
2 Connect the serial cross cable on the PC and the PTQ module.
3 Select the connection type (Ethernet or Serial).
4
The transfer is performed only if the Quantum CPU is in Stop mode.
Therefore, set the PAC in Stop mode using the keyboard on the CPU and click on DOWNLOAD.
5
Once the transfer is complete in the first module, a message box prompts you to connect the cable on the second module. Click on OK when the cable is properly plugged.
Note: Set back the configured PAC in Run Mode and set the PAC to be configured in Stop mode (See step 4).
6
The transfer is now complete. Click on OK.
Save and Close the PCB application.
You can now import in Unity Pro the variables file (.xsy) you created with PCB.