Home
Win-GRAF-User-Manual-english V1.01
Contents
1. IX10 8 is_ Passive_ready BOOL Input LI IXIO 9 is Active LAN1 ok BOOL Inout O IX10 10 is_ Passive _LAN1_ ok BOOL Input LI 1X10 11 BOOL Input E v gt 4 gt lO Drivers _NewSpyt RDN control Variables Retain and timer B Ch O is_Main_ Active Ch 1 is _Backup_ Active Ch 2 is_Main_ready Ch 3 is_Backup_ready Is the Main PAC rotary switch 7 active now TRUE Active FALSE Passive Is the Backup PAC rotary switch 9 active now TRUE Active FALSE Passive Is the Main PAC ready If Ch 2 returns FALSE The possible reason could be the following 1 The Ethernet cable LAN2 between Main and Backup PAC is broken 2 The Main PAC is dead or damaged 3 The rotary switch of the Main PAC is not set at 7 Is the Backup PAC ready If Ch 3 returns FALSE The possible reason could be the following 1 The Ethernet cable LAN2 between Main and Backup PAC is broken 2 The Main PAC is dead or damaged 3 The rotary switch of the Main PAC is not set at 9 Ch 4 is_first_cycle_just_after_switch For Active PAC only Ch 5 is Main LAN1_ ok Ch 6 is_Backup_LAN1_ ok Ch 7 is_Alive_port_ok Ch 8 is_Passive_ready Ch 9 is_ Active _LAN1_ok True Now is in the first cycle just after switching False Now is not in the first cycle after switching Is the LAN1 port of the Main PAC ok TRUE OK FALSE Fail or Ethernet cable is disconnected Is the LAN1 port of the Backup PAC ok TRUE OK
2. Zj iDCS 8830 series I O ry LAN1 LAN2 a Be LAN1 LAN2 Note LAN1 PAC LAN1 iDC 8830 LAN2 iDC 8830 Normal Ethernet Cable LAN2 PAC Ethernet Crossover Cable Alive Port RS 232 Crossover Cable Note Each pair of redundant I O modules that plugged into the iDCS 8830 must have the same model numbers 5 Two PACs are equipped with other Modbus RTU ASCII I O modules COM4 _ _ _ r 7 AR k k Gye a me tM series I O LAN1 NS 408 M 7000 I O R5 485 Note LAN1 Normal Ethernet Cable LAN2 Ethernet Crossover Cable Alive Port RS 232 Crossover Cable COM3 COM4 RS 485 Data to Data Data to Data 6 It can also equip with two or more kinds of I O modules such as item 2 to 5 The Win GRAF redundant system is composed by two PACs Users need to set one PAC s rotary switch to 7 called Main PAC and set the other one to 9 called Backup PAC Do not use two Main PACs or two Backup PACs to make up a redundant system Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 3 16 2 Important Communication Ports and Installation Notes The Win GRAF redundant PACs require the following three communication ports to communicate with each other 1 Alive Port The Win GRAF redundant PACs use one RS 232 Port as the Alive Port also called Heart beat Port This Alive Port must use a RS 232 crossover cable or NULL Modem Cable which link with each other as the foll
3. demo_RDN_1 Two XP 8xx8 CE6 PACs using their COM3 to connect three DCON I O modules Win GRAF AR RS 408 NS 408 Win GRAF PAC N Public iP Port LAN1 D D Miain 7 Back E US i D ackup 9 Sa AS 7 Alive Port RS 232 RS 485 Replication Port LAN2 I 87064W 1 87018ZW 9600 8 N 1 No Checksum Addr 2 9600 Addr 3 9600 Data format 2 s compliment I 7065D Addr 4 9600 Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 17 In the demo _RDN_1 demo project as the figure above before linking I 7000 and I 87KW DCON remote I O modules users need to configure each of I O modules by using DCON Utility Refer the description in Chapter 8 and visit the DCON Utility web page to download the software and user manual www icpdas com products dcon introduction htm Please restore and open this demo project for more details and refer Section 16 3 1 for I O Board settings 16 5 What Kinds of Data Can be Automatically Backed up to the Passive PAC In the Win GRAF redundant system not all of the data in the Active PAC can be automatically backed up to the Passive PAC What Can be Backed Up Automatically The user s Win GRAF applications The execution step of programs Value of variables Private data of Function Block instance The PAC s RTC Real Time Clock time Retain memory SS SS a Schedule control configuration refer Chapter 17
4. FALSE Fail or Ethernet cable is disconnected True The communication of the Alive Port is ok False The communication of the Alive port fails or the Passive PAC is dead or damaged Is the Passive PAC ready now If Ch 8 returns FALSE The possible reason could be the following 1 The Ethernet cable LAN2 between Main and Backup PAC is broken 2 The Passive PAC is dead or damaged 3 The rotary switch setting of the Passive PAC is incorrect Is the LAN1 port of the Active PAC ok TRUE OK FALSE Fail or Ethernet cable is disconnected Ch 10 is_ Passive LAN1_ok Is the LAN1 port of the Passive PAC ok Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS TRUE OK FALSE Fail or Ethernet cable is disconnected 16 7 demo_RDN_1 To connect DCON I O modules via PAC s COM3 RS 485 tht 140 Boards alo 9 DCON Properties Port Baud rate 9600 sZ EMabled 0 Connect DCON O modules by Watchdog timevat 5000 Checksum_enabled 0 PAC s COM3 and the Baud rate Delay ms between polls 0 Reserved 0 is 9600 Reservyedl 0 Reserved 0 Reservyed3 0 j pez 9 DCONG 10 i redundance Eili tedundancy rs485 Setting Description 11 1 redundancy _ rs483 Properties fon properties N 8 1 Choo Port Ho 3 ChOO_ Timeout 30 stop bit aT P Open COMS3 and set the les to N 8 1 Chol Timenet 30 Ch02 Port No 0 timeout as 30 seconds Ch0
5. Scope Input Registers 1 2000 H SS Initial values 25 Z3 NewSpyt _ Request Slave Unit Address Nbltem Activation Period ms Period on error Timeout ms Number of trials x Mfd Binding Configuration lt 2 gt Read Input Bits 1 1 12 Periodic 50 5000 1000 1 3q Global defines _ lt 15 gt Write Coil Bits 1 1 6 On Change O 0 1000 1 4 Variables lt 1 gt Read Coil Bits 1 1 6 Periodic 50 5000 1000 1 Types gt 4 a NewSpyt 10 Drivers PAC Time p RDN control Retain and timer Variables it 3 Click NewSpy1 to open the spy list now the Main PAC is Active EEREN ee ee E MAS UL w Workspace OOO XewSpyt spl 3 P demo_rdn_3 RUN g Name Value Description is_ Suas feady RU e E N SETTE A 55 Proorams ates The Main PAC is Active 3 PAC_Time gt TRUE 3 RDN_control is Backup_ready TRUE 1 Retain_and_timer is_first_cycle_just_after_switch Watch for debugging is_ Main_L4N1_ok TRUE Soft Scope is_Backup_LANT_ok TRUE It allows to switch PAC control right only when the Passive PAC is ready is_Alive_port_ok Pa 3 is_Active_L4N1_ok UE 2g Global defines is_Passive_L4N1_ok TRUE oS Variables DINT_1 Setup as Retain variable in the program Retain_and_timer A Types DINT_2 Setup as Retain variable in the program Retain_and_timer REAL_1 Setup as Retain variable in the program Retain_and_timer REAL 2 Setup as Retain variable in the program Re
6. can view or add variables in the Variable window refer Section 2 3 name omare oerion aaa a i a Set it as TRUE to set up new system time Used in the PAC_Time program They are used to set the PAC s system time Used in the Retain_and_timer program Set them as retain variables TMR_1 TIME Timer TMR_2 TIME TRUE Retain variables are well set up tain_d BOOL retain done Boot FALSE Not set up yet N hi he fi f Li on _line_change_cycle DINT mme o means this is the first cycle just after On Line It It used to return the Retain status 00 to return the Retain status Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 9 16 3 3 Introduction of the demo_RDN_2 Demo Project This project includes one LD program and one ST program LD Program PAC_Time It used to get set the system time of PAC amp Get current Time of the PAC Kj OO set Set_new time to TRUE to set new time to PAC Inst_TIME_GET Set_new _time Inst_TIME_SET R1 FE TIME_GET l j Fit p ear_to set Year gt ear Month to set Month Month Day to set Day Dayt Hour to e WeekDay Minute to set Hour Second to set Minute Reset Set_ne_time toFSLSE Set_nevy_time R3 R Second LD Program RDN_control When an error occurs on the Active PAC s LAN1 and if the Passive PAC is ready and its LAN1 is healthy then the Active PAC will wait for a short time to reboot
7. description for more details Enable Redundancy in the PAC redundancy The following PAC support redundancy P 8xx8 CE6 P 9xx8 CE6 WP 5248 Parameters Active_IP The redundant system provides a public IP address for some HMI SCADA to communicate Note DO NOT set the last digit value of the Active_IP as O or 254 or 255 It should be in 1 to 253 Passive_IP Auto means the LAN1 IP address of the current Passive PAC it will be automatically set as Active_IP 1 e g if the Active IP is set as 192 168 71 37 the Passive_ P will automatically set as 192 168 71 38 Mask The most common settings are either 255 255 255 0 or 255 255 0 0 depends on the network environment Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 6 After linking the i_ redundancy in the I O Boards window it will auto add 12 BOOL input channels in the Variables window that can be used to display the current state of the redundant system Variables He 4 Y Name r ST pe Dir Attrib Syb Initvalue User Tag Description B IX10 i redundancy A 1x10 0 is_Main_Active BOOL Input C NAN Iie Bankin Nation BOOL Input C is Backup Active BOOL Input C 1x10 3 is_Backup_ready Se cat lX10 4 I1s_first_cycle_just_afty Double click it to add a variable IX10 5 is Main LAN1_ok N10 6 lt is Backup LAN1 ok Mame to each channel lIX10 7 is_Alive_port_ok BOOL Input a
8. the Main PAC will automatically reboot and give control right to the Backup PAC OOO0 HewsSpyi spl Description Now the Backup PAC is Active Mame Value is Man Active FALSE TRUE gt is Backup Active is Main ready TRUE is Backup ready TRUE is first cycle just ater swatch FALSE is Main LAN ok is Backup LAN ok TRUE is Alive portok TRUE Plug in the Main PAC s LAN1 is Passive ready TRUE cable to return TRUE i Active LANT ok TRAUE is Passive LANT ok F ae l ee 3700 After switching control right to the 3 9 Backup PAC all retains value are not zi changed and the timer is still ticking tH5m3s526m To tick TMA FALSE Set TRUE to start ticking timer To stop TMA_1 FALSE Set TRUE to stop the ticking of timer ET 050 COMM err 130 0 Mo eror comm ok Communication eror of the ET 7060 ET7050 DO 0 ReadBack TRUE Non zero means error i Non zero means error ET7050 DO 1 ReadBack FALSE _ ET7050 CO 2 ReadBack FALSE Relay O 5 of the ET 7060 ET7050 CO 3 ReadBack TRUE m pha acc ET 050 DO 4 ReadBack FALSE Set ET 7050 Dox as TRUE ETFO50 00 5 ReadBack TRUE the ET 7050_DOx ReadBack ET 0S0 DOU TRUE will return TRUE if the ET USO FALSE ET 7050 communication is ok ET7050 DO 2 FALSE ET7050 DO 3 TRUE Relay 0 5 of the ET 7060 ETOSO DO 4 FALSE Relay O 5 of the ET 7060 ET AO50_D0_5 Relay 07 5 of the ET 060 4
9. 2 168 7138 mm 255 255 255 0 ET 7000 1 0 g EX 192 168 71 37 cc occ r F ir per de fo A O EX 192 168 71 128 255 255 255 0 IAG Win GRAF PAC ANA Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 4 PAC Installation Notes Very Important 1 Before power up PACs make sure one PAC s rotary switch is set to 7 and the other one is set to 9 The redundant system will be crazy due to the wrong settings 2 When installing the Win GRAF redundant system at the application field make sure the following three cables are connected properly connect all required cables such as RS 485 before power up PACs If user power up PACs before connecting these three communication cables the redundant system will be out of control A Connect both PAC s Alive ports by using a crossover cable B Connect both PAC s LAN2 ports by using an Ethernet crossover cable Do not use any Ethernet Switch Hub between LAN2 ports C Connect both PAC s LAN1 ports to an Ethernet switch by using a normal Ethernet cable 3 If only one healthy PAC of the redundant system is working properly at the application field do not power off or shut it down Before user power up the other PAC that will be installed into the system follow the step1 and step2 as mentioned above to set up it first Win GRAF RS 408 NS 408 Win GRAF PAC Active IP 1 i Passive J j HMI Alive Port RS 232 Connect to Replicatio
10. 2 Timeout 30 Ch0O3_ Port_No 0 Ch03 Timeout 20 Ch04 Tamsout 30 imeout Ch05_Port_No 0 i_redundancy_rs485 is used to Choe erg check if the RS 485 port of the Passive PAC can receive data v Ch06_Timeout 30 Setting Description i redundancy rs485 Detect the RS 485 port state of the passive PAC of a redundant system The following PAC support redundancy P 8xx8 CE6 2P 9xx8 CE6 WP 5248 Important Notice 1 Please must also use the i_ redundancy or the i_redundancy_rs485 will not work 2 The i_redundancy_rs485 will only open the related RS 485 ports to receive data in the passive PAC It doesn t send any data 3 The i_redundancy_rs485 is used to detect whether the Passive PAC s RS 485 port can receive data Parameters ChoO_Port_No Ch15 Port_No The used RS 485 port number of the Passive PAC Can be 0 or 1 to 33 depends on the PAC model Set O means disable it Ch00O_Timeout Ch15_ Timeout The unit is second Can be 1 to 60 seconds If there is no data received in the timeout interval of the related RS 495 port the status will reset as FALSE 16 ch Boolean Inputs It used to represent state of RS 485 ports in the passive PAC TRUE The related RS 485 port open ok and can receive data FALSE The related RS 485 port open fail or receive no data in the timeout interval Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 8 16 3 2 Declaring Variables demo_RDN_2 Users
11. 71 128 255 255 255 0 Backup 9 Win GRAF PAC 1 Refer the ET 7000 manual to set up the IP address and required settings refer Section 5 2 1 Manual http ftp icodas com pub cd 6000cd napdos et7000 et7200 document 2 Open and download the demo_RDN_3 project Before downloading set the communication IP refer Section 2 3 5 Communication Parameters to the current LAN1 IP of the Active PAC refer Section 16 4 Test demo programs step 2 to 4 Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 15 In the I O Drivers window here we enable a Modbus TCP Master to connect an ET 7050 module Modbus TCP Slave Addr 1 and create some data blocks to read write the DI and DO data refer Section 5 2 Users can open this demo_RDN_ 3 project for more details File Edit View Insert Project Tools Window Help a i a Ser eee nee ma a a GE So Ge All Workspace iO Drivers i demo _rdn 3 Tip MODBUS Master To enable a Modbus TCP Master to a Lj Exception programs meee pen MODBUS 192 168 71 128 502 Programs g H B lt 2 gt Read Input Bits 1 1 12 connect an ET 7050 module and Pae PAC_Time lt 15 gt Write Coil Bits 1 1 6 create some data blocks to read write fs Be RDN_control H B lt 1 gt Read Coil Bits 1 1 6 st Retain_and_timer g Jee MODBUS Slave the DI DO data refer the Section 5 2 i L3 Watch for debugging g ge Server Slave number 1 BB Soft
12. 8 255 1 502 192 168 71 37 502 3 Recompile the demo _RDN_2 project and then download it to the Active PAC refer Section 2 3 4 and Section 2 3 5 for details After that the LAN1 of the Active PAC will be automatically set as the Active IP i e 192 168 71 37 in this example program refer Section 16 3 1 and the LAN1 of the Passive PAC will be set as the Active IP 1 i e 192 168 71 38 automatically PCIFETCE5SB1 OK PCIFETCESB1 OK IP Information IPv Information IF Information IPv6 Information Internet Protocol TCP IP Static Internet Protocol TCP IP Static Address Type Address Type IP Address 192 168 71 37 IP Address 192 168 71 56 Subnet flask 255 255 255 0 Default Gateway The LAN1 IP and Mask of the Active PAC after running the demo_RDN_ 2 Subnet Mask 255 255 255 0 The LAN1 IP and Mask Rt ofthe Passive PAC 4 Right now Win GRAF will show Communication error because the current Active PAC IP e g 192 168 71 37 and the communication IP settings on the workbench e g 192 168 255 1 are not on the same network domain So stop the connection and change the communication IP of this demo _RDN_2 project to 192 168 71 37 refer Section 2 3 5 Communication Parameters and then check if the PC s IP is on the same network domain e g 192 168 71 x Then this project will always link to the Active PAC whenever the user wants to debug it or ch
13. A 2 last state TRUE TRUE ticking FALSE sleep FALSE Set TRUE to start ticking timers Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 14 7 Make sure the Passive PAC is ready i e is Passive Ready is TRUE remove the LAN1 cable of the Main PAC or turn off and on restart the Main PAC Wait for a short time refer the RDN_ control program the Main PAC will automatically reboot and give control right to the Backup PAC Now Then the Active PAC belongs to the Backup PAC and all the values you set before still exist and the Timer is still ticking is_ Main_Active FALSE DIN T_1 DIMNT_2 is Main ready FAEAL_1 is Backup ready TRUE FEAL 2 99 5 iz frst cycle just after switch is active TMA_1 is_ Main LANT ok TMA 1 last state TRUE is_ Backup LAN1_ok TRUE To_tick_TMA_1 FALSE Alwe portok TRUE To_stop_TMA_1 FALSE TMR_2 is Active LANT ok TRUE TMA 2 last state ad is Passive LAN1_ok To tick TMA 2 FALSE Note After that plug in the LAN1 cable of the Main PAC and then later both the status of is Main _LAN1 and is Passive LAN1 variables will become TRUE demo_RDN_3 Two XP 8xx8 CE6 PACs using their LAN1 to connect a ET 7050 Modbus TCP I O module through the Ethernet switch Alive Port RS 232 RS 408 Win GRAF NS 408 Active IP EX 192 168 71 37 5 255 255 255 0 Main 7 Active IP 14 EX 192 168 71 38 ET 7050 I O f 255 255 255 0 12 ch DI 6 ch DO Addr 1 EX 192 168
14. Chapter 16 Redundancy 16 1 Features and Architecture The ICP DAS Win GRAF PAC XP 8xx8 CE6 series support redundancy One redundant system is composed by two Win GRAF PACs that one PAC s rotary switch is set to 7 means Main PAC and the other one is set to 9 means Backup PAC When one of them is damaged or crashed or need to release its control right by user defined event the PAC control right will automatically switch to the healthy one Features of the Win GRAF redundancy 1 Better safety There are three communication cables LAN1 LAN2 and Alive Port connected between two PACs The redundant system will still control the process well even if one or two cables are broken or disconnected As long as one of the three communication cables is fine the Win GRAF redundant PACs can still work well with the process 2 Unique Public IP The Win GRAF redundant system provides a unique public IP address for SCADA HMI to access it without needing to determine which one is the Active IP 3 Easy maintenance If one of the redundant PACs is damaged someday after starting the process you can remove the damaged one Note Do not shutdown or dismounting the other healthy PAC keep it running And then take another spare Win GRAF PAC with the same model or a repaired PAC without downloading the Win GRAF application simply adjust its rotary switch to a proper position and then connect all required communication cables e g LAN1 LAN2 Alive po
15. What are NOT Backed Up Automatically The following are the most common items that cannot be automatically backed up to the Passive PAC 1 The status of Timer variable Ticking or Sleeping 2 Files in the Active PAC e g files located in the path system_disk or Micro_SD or files not belong to the Win GRAF applications such as C VB net C and Soft GRAF applications These files cannot be backed up automatically So all of them should be pre installed in a spare or repaired PAC before mounting this PAC in the redundant system Exclusive of user designed Win GRAF application and schedule control configuration which can be backed up automatically 3 If using the COM _OPEN function to open the serial port it will not be automatically opened again after switching PAC control right 4 The PAC s EEPROM memory cannot be backed up automatically All the items which unable to back up automatically users can use the following similar procedures to deal with them Refer the Retain and_timer program in the demo _RDN_2 project if is first_cycle just_after_switch then Just in the cycle after switching Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 18
16. and then the other PAC will take the control right Switch to Passive PAC if Passive is ready and ts LAN is ok however Active LANT communication has problem i Active LAN ok Inst_Tor iz Passive ready iz Passive LAN ok i TON En PAC REBOOT G ST Program Retain_and_timer on_line_change_cycle is declared as DINT nonezero means it is in the cycle jsut after doing on line change retain_done is declared as BOOL and inited as FALSE tmp_bool is declared as BOOL on_line_change_ cycle GetSysInfo _SYSINFO_CHANGE_CYCLE if retain done FALSE or is_first_cycle_just_after_switch TRUE or on_line_change_cycle lt gt 0 then retain_done TRUE just do it one time tmp_bool Retain _Var DINT_1 1 retain a DINT variable tmp_bool Retain Var DINT_2 2 tmp_bool Retain_Var REAL_1 3 retain a REAL variable tmp_bool Retain Var REAL 2 4 Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 10 if Retain variables havn t been inited yet use default value if DINT_1 lt 1000000 or DINT_1 gt 1000000 or DINT_2 lt 2000000 or DINT_2 gt 2000000 or REAL 1 lt 9 9E10 or REAL_1 gt 9 9E10 or REAL 2 lt 9 9E10 or REAL_2 gt 9 9E10 then DINT 1 0 DINT 2 0 REAL_1 0 0 REAL 2 0 0 end _if end_if is_first_cycle_just_after_switch TRUE just in the cycle after switching FALSE other cycle if is_first_cycle_just_a
17. ange it Stop the connection Communication Settings Note If the user wants to set the T5 Runtime timeout value default 3 seconds see Section 2 3 5 E g Set the IP to 192 188 41 3 902 192 168 71 37 502 10 which means the timeout is 10 seconds 192 168 255 1 502 132 168 71 37 502 Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 13 5 After re connecting with the PAC click NewSpy1 to open the spy list window and you can see the current Active PAC is the Main PAC Note Redundancy Don t switch control right if the Passive PAC is not ready i e is Passive ready Redundancy is not enabled in the runtime FALSE because it cannot receive the Refresh redundant data from the Active PAC Running as active runtime The user can click the Redundancy Y Passive runtime is alive button to switch control right for testin g Running as passive runtime File Edit View Insert Project Tools Window Help An PE Sh Ga BK KOO 8 Te te CO B30 eS Workspace HOOD HewSpyt spl P demo_rdn_2 RUN Name Value Description E LI Exception programs Hour 12 J Programs Minute 35 Ge PAC Time Second 21 23e RDN_control is_M ain Active TRUE The Main PAC is active ST Retain and_timer is Backup Active L Watch for debugging is_Main_ready The Main PAC and Backu p PAC E Sots is_ Back d are See Se Aapa ans are ready and their LAN1 are
18. fter_switch then The Timer ticking state is not auto redundant So we have to process them here Ticking timer in the cycle just after switching if its last state is ticking if TMR_1_ last_state then tStart TMR_1 end_if if TMR_2_last_state then tStart TMR_2 end_if end_if Timer operation if To_tick_TMR_1 then To_tick_TMR_1 FALSE tStart TMR_1 TMR_1_last_state TRUE end_if if To_tick_TMR_2 then To_tick_TMR_2 FALSE tStart TMR_2 TMR_2_last_state TRUE end_if if To_stop TMR_1 then To_stop_TMR_1 FALSE tStop TMR_ 1 TMR_1_last_state FALSE end_if if To stop TMR_2 then To_ stop _TMR_2 FALSE tStop TMR_2 TMR_2_last_state FALSE end_if Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 11 16 4 Test Demo Programs demo_RDN_2 Two PAC XP 8xx8 CE6 without connecting any I O modules Win GRAF RS 408 NS 408 Win GRAF PAC Alive Port Rotary Switch RS 232 i ee ee ee 1 Hardware installation using XP 8xx8 CE6 as an example Refer Section 16 2 PAC Installation notes make sure three communication ports of the PAC have been connected properly and the rotary switch is set to 7 Main PAC or 9 Backup PAC 2 If there is no redundancy app in the redundant system yet that is no control right switching procedures start the Main PAC 7 first and then start the Backup PAC 9 in that case the Active PAC will be the Main PAC Late
19. g XP 8xx8 CE6 as an example Note The Win GRAF redundant PACs support RS 485 RS 422 expansion boards I 8142i 1 8144i plugged into their local slot Please don t use other kinds of I O modules LAN1 1 Two PACs without I O modules Rotary switch HMI SCADA RS 408 NS 408 COM4 RS 232 485 F Win GRAFPAC COM2 RS 232 COM3 RS 485 7 aa Alive Main Port Backup LAN2 Rotary switch 7 j RS 232 J Rotary switch 9 Note LAN1 Normal Ethernet Cable LAN2 Ethernet Crossover Cable Alive Port RS 232 Crossover Cable 2 Two PACs are equipped with DCON I O modules Win GRAF PAC cOM4 RS 485 87K8 9 1 7000 I O 87xxxW 1 0 23 m RS 408 HMI SCADA conz W Backup NS 408 I 87K8 9 1 7000 1 0 RS 485 I 87xxxW 1 0 Note LAN1 Normal Ethernet Cable LAN2 Ethernet Crossover Cable Alive Port RS 232 Crossover Cable COM3 COM4 RS 485 Data to Data Data to Data 3 Two PACs are equipped with Modbus TCP I O modules HMI SCADA RS 408 NS 408 Win GRAF PAC Alive Port RS 232 Other Modbus TCP Devices ET 7000 series O Note LAN1 Normal Ethernet Cable LAN2 Ethernet Crossover Cable Alive Port RS 232 Crossover Cable Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 2 4 Two PACs are equipped with iDCS 8830 I O modules This type of achievement provides both CPU and I O module redundancy HMI SCADA RS 408 NS 408 Win GRAF PAC ii iDCS 8830 series 1 O
20. n Port LAN2 Active IP 4 Only the Active PAC i e PAC got the control right can run the Win GRAF application The Passive PAC will not run the Win GRAF application It simply receives the redundant data from the Active PAC and wait for getting control right in the future Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 5 16 3 Description of Win GRAF Demo Projects The shipping CD of the Win GRAF PAC provides these three demo projects demo_RDN_1 zip demo _RDN_2 zip and demo_RDN_3 zip related to the redundant system Refer Chapter 12 to restore these files into the Win GRAF Workbench demo _RDN_1 Two XP 8xx8 CE6 PACs using their COM3 to connect three DCON 1 0 modules demo _RDN 2 Two XP 8xx8 CE6 PACs without connecting any I O module Two XP 8xx8 CE6 PACs using their LAN1 to connect a ET 7050 Modbus TCP I O demo_RDN_3 module through one Ethernet switch The following sections will describe the demo_RDN_2 program 16 3 1 I O Board Settings demo_RDN_2 demo_RDN_3 To use redundancy in the PAC first link the i_redundancy in the I O Board window Refer Chapter 4 322 1 0 Boards Active IP 1921687137 6 Passive IP aui Aaa stk oO ateway_ IP disa os E Reservedl lt 0 Note DO NOT set the last digit value of the Active_IP as 0 or 254 or 255 It should be in 1 to 253 ote Using the Slot 9 or later i Refer the
21. oo m Initial values is_first_cycle_just_after_switch Za NewSpy is Man LANT ok working properly tia Binding Configuration is_Backup_L4N1_ok a 3g Global defines is_Alive_port_ok TRUE w Variables is_Passive_ready TRUE The Alive Port RS 232 nE Types is_Active_L N1_ok TRUE communication is ok Enf assve LANL oK EGE The Passive PAC is ready DINT_1 0 NNT i The Active and Passive PAC s REAL 1 0 0 LAN1 are working properly REAL 2 0 0 TMR_1 tHOs TMA _1_last_state TRUE ticking FALSE sleep To_tick_TMR_1 Set TRUE to start ticking timer To_stop_TMF_1 Set TRUE to stop the ticking of timer TMR_2 tH Os TMF _2_last_state TRUE ticking FALSE sleep To_tick_TMR_2 Set TRUE to start ticking timer2 To_stop_TMR_2 Set TRUE to stop the ticking of timer2 6 Enter values for DINT_1 DINT_2 REAL_1 and REAL _1 variables and then set the To_tick_TMR_1 and To_tick_TMR_2 as TRUE it will auto reset to FALSE to start the TMR_1 and TMR_2 ticking Now the status of TIMER will change from FALSE to TRUE DIN T 1 Setup as Retain variable in the program Retain _and_timer DIN T 2 Setup as Retain variable in the program Retain _and_timer FEAL_1 variable in the program Retain and_ tinier REAL 2 variable in the program Retam_and_timer TMA_1 tH os9 rns TMA _1_last_ state TRUE TRUE ticking FALSE sleep es Set TRUE to start ticking timer To_stop TMA_1 Set TRUE to stop the ticking of timeri THA_2 PT Tesco TH
22. owing figure Main PAC Backup PAC Alive Port TXD TXD RS 232 2 Replication Port The Win GRAF redundant PACs use their Ethernet Port LAN2 as a Replication Port Both PAC s LAN2 ports use an Ethernet crossover cable to transfer redundant data Do not use any Ethernet Switch or Hub between them otherwise it may cause an error or timeout The LAN2 ports are based on fast Ethernet and dedicated Ethernet ports in order to avoid collisions So don t connect any external devices Switches and Hubs to these two PAC s LAN2 MAPA AN The LAN2 port uses an Ethernet crossover A UTA cable connected directly between two PAC Do not use a normal Ethernet cable 3 Public IP Port The Win GRAF redundant PAC s Ethernet Port LAN1 must connect an Ethernet Switch via a normal Ethernet cable After that it can be used to communicate with SCADA HMI or connect and control external Modbus TCP I O modules devices or other Ethernet devices The LAN1 port can switch its IP address automatically If the PAC is Active the LAN1 IP address will switch to the Active _IP address which defined in the user s Win GRAF project And if the PAC is Passive the LAN1 IP address will switch to the Active _IP 1 address automatically The SCADA HMI can use the Active _IP address to communicate with the Win GRAF redundant system When Y LAN1 HMI RS 408 Alive Port switching SCADA NS 408 S R5 232 w pz j Active Passive EX_19
23. r users can run the Win GRAF driver on a PAC s monitor to see which one is the Active PAC PAC side P Oxx8 CE6 driver Version 1 01 Sep 11 2014 Te e This PAC is the Active PAC Project demo_sw 107 Extra_port None It will appeal blank if this is the Passive PAC Ed win GRAFA P axxo CEG Elapsed time 0 0 15 0 Fassive Ready Add DLL provider here Add DLL version here Add Your DLL information here Win GRAF Driver 1 First look up the LAN1 IP address of the current Active PAC factory defaults IP 192 168 255 1 Mask 255 255 255 0 refer Section 1 3 and make sure that your PC is on the same network domain e g IP 192 168 255 x PCIFETCESB1 OK IP Information JPy6 Information Internet Protocol TCP IP Static Address Type IP Address 192 168 255 1 Subnet Mask 255 255 255 0 Default Gateway Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 12 2 At the first time to download the Win GRAF redundancy application users Must modify the communication IP address refer Section 2 3 5 Communication Parameters to the LAN1 IP address of the current Active PAC Communication Settings TS Runtime v Note If the user wants to set the timeout value default 3 seconds see Section 2 3 5 E g Set the IP to 192 168 255 1 502 s Communication IP address 192 168 255 1 502 10 which means the timeout is 10 seconds 1192 16
24. rt and I O Make sure that the original healthy PAC is still working properly and then power up the spare PAC Then the healthy PAC will automatically copy the Win GRAF app and all its redundant data to that new PAC which is just online It is easier for maintenance and installation the operator don t have to worry about whether to install the Win GRAF app because the healthy PAC will automatically do it for the new online PAC Exception Except the Win GRAF app if there are a few apps such as the C VB net C app or Soft GRAF HMI app running in the redundant system these apps need to pre installed to the spare Win GRAF PAC or a repaired PAC before installing this PAC to the redundant system 4 Easy to design the application The user has to do is design the application program Not necessary to specify what data should be redundant between two PACs The Win GRAF redundant system will automatically deliver them to the other PAC 5 Users can design some safety in the app For example if the Active PAC s LAN1 is disconnected causes the SCADA unable to connect to ora RS 485 Port is disconnected or damaged and so on The user s app can test these events and then switch control right to the other healthy PAC 6 1 O Redundancy If the user chooses iDCS 8830 series I O both the PAC and I O modules can support redundancy Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 1 The architecture of the Win GRAF redundant system usin
25. tain_and_timer TMF_1 To_tick_TMF_1 Set TRUE to start ticking timer To_stop_TMF_1 FAES Set TRUE to stop the ticking of timer ET 7050_COM_err 0 No error comm ok Communication error of the ET 7060 ET 050_DO_0 ReadBack Relay_0 5 of the ET 7060 ET 050_D0_1_ReadBack Relay_0 5 of the ET 7060 ET 050_ DO_2 ReadBack Relay_0 5 of the ET 7060 ET 050 _ DO_3 ReadBack Relay_0 5 of the ET 7060 ET 7050_DO_4 ReadBack Felay_0O 5 of the ET 7060 ET 050_D0_5 ReadBack Relay_0 5 of the ET 7060 ET7050_D0_0 Relay_0 5 of the ET 7060 ET7050_D0_1 Relay_0 5 of the ET 7060 ET7050_D0_2 Relay_0 5 of the ET 7060 ET7050_D0_3 Relay _0 5 of the ET 7060 ET7050_D0_4 i Relay _0 5 of the ET 7060 ET7050_D0_5 Relay_0 5 of the ET 7060 y zi 44 gt N He ewSpvi 10 Drivers PAC Time RDN control Retain and timer variables 5 i z 4 Enter some values for these retain variables DINT_1 DINT_2 REAL_1 and REAL 2 and set To_tick_TMR_1 as TRUE to start Timer If set ET 7050 Dox as TRUE the ET 7050_DOx_ReadBack will return TRUE If disconnect the Ethernet cable from the ET 7050 module the ET 7050 COM_error will return a non zero value that means communication error Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 16 16 5 Make sure the Passive PAC is ready i e is Passive Ready is TRUE remove the LAN1 cable from the Main PAC or turn it off and on restart and wait a short time refer the RDN_ control program
Download Pdf Manuals
Related Search
Related Contents
instrucciones para el usuario de la lavavajillas 8-8121-2 Instruction Sheet v1 取扱説明書 AS71PPZ2W AS63PPZ2W STIGA PARK Calidou plus Intel MPI999WSGE1 development software Sony VCT-14 User's Manual Consulta pública sobre os cenários de evolução Compaq 515 Notebook PC Compaq 516 Notebook PC Copyright © All rights reserved.
Failed to retrieve file