Home
User`s Manual of ISaGRAF Embedded Controllers
Contents
1. real rdn_t timer TMP RDN_N Mode Integer TMP RDN _F Real1 Real TMP RDN_T Timert Timer TMP RDN_B B1 Boolean end_if Please refer to Wdemo_ 18 in W 8xx7 CD ROM napdos isagraf wincon demo or ftp ftp icodas com pub cd winconcd napdos isagraf wincon demo wdemo_18 pia Controller Redundancy May 21 2006 Copyright By ICP DAS 5 20 2 Wincon 8xx7 CPU Redundant Plus I 87K I O amp Modbus RTU Devices Note When using this function in controller of W 8x47 8x46 you may connect a cross ethernet cable between these two W 8x47 8x46 s LAN2 port Then you don t need a Ethernet switch between them refer to Appendix F to Enable LAN2 The W 8x47 8x3 7 Redundant CPU solution can also support Modbus IO device as below At least one l 7000 or I 87K Remote IO should be connected in COM3 RS485 Redundant Master Redundant Slave 1 8142 8144 RS 485 COM5 to COM14 Please place Mbus_ xxx function blocks on the third position as below Please refer to Chapter 8 for using Modbus RTU devices saGRAF WDEHMO 24 Program File Make Project Toole Debug Options Help S H SM Ham amp Mi Ooh Aag Begin Sequential controwlT fol mode i Let Please place Mbus_xxx function fe mode 2 Rich blocks on the third position fc3 mode 3 Blink Begin Mbus Jo Ladder Diagram Note Please refer to Appendix E of Wincon Getting Started ISaGRAF PA
2. C manual for setting COM5 to COM 14 in the I 8142 8144 RS 485 expansion board Controller Redundancy May 21 2006 Copyright By ICP DAS 6 And please connect mbus or mbus _asc in the IO connection windows aw SaGRAF TESTI I O connection File Edit Tools Options Help alem tl FRAS Lo a mwj ref 107 m port_no 5 See eee Specify which RS 485 port is for ae oat linking to Modbus RTU devices mmn stop bit 1 COM5 to COM14 6 m timeout 500 iv am rdn RDN_ip n gt M_or amp w Es RDN ip2 n 4 Lo mm mbus A com_port n am busf000b gt remot Note 1 Redundant solution doesn t support Modbus RTU device in RS 232 ports since RS 232 is one to one connection Two Wincon can not link to one Modbus RTU device by RS 232 2 The Modbus device can be RTU or ASCII format listed as section 8 3 3 Multi ports Modbus IO can also work in redundant solution Please refer to section 8 4 Example Please refer to Wdemo_25 in W 8xx7 CD ROM napdos isagraf wincon demo or ftp ftp icodas com pub cd winconcd napdos isagraf wincon demo wdemo_25 pia Controller Redundancy May 21 2006 Copyright By ICP DAS T 20 3 Wincon 8xx7 CPU Redundant Without I O Note When using this function in controller of W 8x47 8x46 it is better to connect a cross ethernet cable between these two W 8x47 8x46 s LAN2 port Then you don t need a Ethernet switch between th
3. Chapter 20 Controller Redundancy 20 1 Wincon 8xx7 CPU Redundancy Plus I 87K I O Note 1 When using this function in controller of W 8x47 8x46 you may connect a cross ethernet cable between these two W 8x47 8x46 s LAN2 port Then you don t need a Ethernet switch between them refer to Appendix F to Enable LAN2 2 One or more PC HMI can connect to the Modbus RTU slave RS485 port of these two redundancy controllers at the same time please refer to section 20 4 If setting Modbus RTU slave ports in COM5 to COM14 of the W 8x47 8x46 Appendix G of the Wincon Getting Start ISaGRAF PAC manual these Modbus RTU slave ports will reply to the PC SCADA or HMI s request only when the controller is redundancy active This means only one controller will response to the PC HMI via Modbus RTU RS485 protocol at any time W 8x47 8x3 7 supports Redundant CPU solution as below figure since driver version of 3 24 Redundant Master Redundant Slave Controller Redundancy May 21 2006 Copyright By ICP DAS 1 Operations principle 1 Two Wincons can use its COM3 RS485 to connect to one group of RS 485 remote lOs The IO can be the I 87K4 5 8 9 extension base plus many I 87K IO modules or the l 7000 series remote IO Please refer to Chapter 6 for description of remote I O 2 All outputs should be configured as RS 485 remote outputs while inputs can locate at slot 1 through slot 7 I 8K or I 87K IO modules or con
4. U slawe pork e256 bl We atten backup SRAM for l 5887 sms Short Whessage Service Udp in Setup NUDPVIP socket vip Permissive IP via Modbus TOPAIP s107 6D amp 7D0 for the 186 G EG 116 401 amp EDO for the 186G EG 119 FD amp 7D0 for the 186G EG 0S 240 600 20 for 71 88KG EG s303 104 140 6D0 401 for FIBER G EG related port is well RTU Slave Port2 5 defines the COM Port bled t a number to enable Value can be 0 5 6 7 or 8 Rtu_ Slave Ports 0 a8 Baud Port3 19200 staan reserved 0 cat Atu_Slave_Port4 0 Baud Port4 19200 muaj reserved 0 Cancel ddi Note m tu_slaw B remot n Lan Library The 4 ch boolean inputs indicate the C Boards i Equipments Value of 0 means not enable it Baud rate setting can be 600 1200 2400 4800 9600 19200 38400 57600 115200 False disabled Controller Redundancy May 21 2006 Copyright By ICP DAS 12
5. e mr tcl nee mth be m HEA EE fc n Please DO NOT re compile this project if you just A steci n change the Link Setup setting If you re compile the project you need to re download the same project to Master AND Slave Begin GO FRefk Ladder Diagram Please connect rdn in the IO connection window first as below Please set the correct Master IP address and Slave IP address For W 8x4 7 it is better to use IP address of the LAN2 port Please set Remote_ O_type to 1 if the remote IO is I 8 7K and l 7000 RS485 IO At least one Remote IO should be connected in COM3 RS485 when type 1 type 2 is reserved for future Modbus TCP IP IO not available before June 30 2006 Controller Redundancy May 21 2006 Copyright By ICP DAS 2 ov 8aGERAF TESTI 190 connection File Edit Tools Options Help B pSrPrn tl FAE o aj bout ref 15A ma Master IP 10 0 0 103 mm Slave IFP 10 0 0 104 nua Remote 10 type 1 4 ima reserved 0 mut Type 1 87K and I 7000 RS485 I O e Type 2 reserved for future usage NUE bm rdn 0000 B RDN ip y n maa reserved 0 gt Mors ru ol is Active 8 rE RDN_ipe mn p an bus7O00b The boolean input channel return True if this C remot ae controller take the control of remote IO i m ISaG GRAF TESTI I 70 connechon File Edit Tools ptons Help S gt BeOem ELIFAS o El bus ref 156 ol is Master 3 The integer inpu
6. em refer to Appendix F to Enable LAN2 W 8x47 8x3 7 supports Redundant CPU solution without I O as below Redundant Master Ebus via Ethernet W 8xx7 or 7188EG or 1 8x37 Redundant Slave The two redundant Wincon should be set as Ebus Slave One of the other W 8xx7 or 7188EG or I I 8x37 must set as Ebus Master Others set as Ebus Slave Operations principle 1 Two redundant Wincons should be set as Ebus Slave 2 At run time only the Redundant Msater controller can handle the command coming from the SCADA system 3 When Master controller is dead the slave controller will take over the command handling from the SCADA system 4 If Master is alive again it will take back the control 5 The synchronous data is exchanged via the ethernet cable between the Master amp slave controller If you are using Wincon 8x4 Wincon that has two ethernet ports it is better to use one cross cable to link from Master controller s LAN2 port to Slave controller s LAN2 port 6 Redundant change over time lt 100ms Data sychronization time lt 75ms Controller Redundancy May 21 2006 Copyright By ICP DAS 8 20 4 Connecting PC HMI to Modbus RTU RS485 ports PC or HMI with RS 485 Modbus RTU Master protocol supported for example Touch 506L can link to the COM5 to COM14 RS 485 Modbus RTU slave port of the two redundancy controllers at the same time as below Only the redundancy Active one will reply to the PC HMI at a
7. ential e main sfc controll OUT_1 tor sfc fc2 7 All Remote IO function blocks should be placed on the top tc3 The second program should be RDN_ Data which call the RDN_ xx functions at the first PLC scan cycle Begin SO FRKoFK Ladder Diagram All redundant synchronous data should be set in the first PLC scan cycle by using the following functions However not necessary for the digital inputs amp analog inputs in slot 1 to 7 or in the RS 485 I 7K amp I 87K IO they are automatically updated Only the output and other important internal data should be set as synchronous data RDN B RDN F RDN_N RDN_T Boolean_variable_name REAL variable name Integer variable name Timer_variable_name TO ON AN Controller Redundancy May 21 2006 Copyright By ICP DAS 4 For example if RDN_init then RDN_ init is decalred with a initial value of True RDN_init False only do it once Please set Output channels of l 7000 amp I 87K IO as synchronous data Not necessary for Input channels of l 7000 amp I 87K IO they are automatically updated TMP RDN B OUT_1 TMP RDN B OUT 2 TMP RDN _B OUT_ 3 TMP RDN B OUT 4 TMP amp RND_init is declared as Boolean internal variable TMP RDN _B OUT_5 Boolean TMP RDN B OUT 6 TMP RDN B OUT 7 TMP RDN B OUT 8 set other synchronous data by using rdn_b bool rdn_n integer rdn_f
8. figured as RS 485 remote inputs 3 At least one l 7000 or I 87K Remote IO should be connected in COM3 RS485 4 At run time only the Redundant Msater controller handles the RS485 command of the remote I O The slave controller just standby 5 When Master controller is dead the slave controller will take over the control to remote IO 6 If Master is alive again it will take back the control of remote IO 7 The synchronous data is exchanged via the ethernet cable between the Master amp slave controller If you are using Wincon 8x4 7 Wincon that has two ethernet ports it is better to use one cross cable to link from Master controller s LAN2 port to Slave controller s LAN2 port 8 Redundant change over time lt 500ms Data sychronization time lt 75ms Example program Wdemo_ 18 for both Master IP 10 0 0 103 amp Slave IP 10 0 0 104 controller The program in the Master and Slave controllers are identical wdemo_18 Please DO NOT re compile this project if you just change the Link Setup setting or the projects CRC value in Master and Slave may be different Master amp Slave s project must be the same one _ TRaGRAF WDOEHMO 18 Programs ol x Fie Make Project Toole Debug Optons Help D ESK Dam SMe On Ra Begin TA LAUR ATA 7000 amp 87K 10 function block Ayould be on the top RDN Data Redundant variable data should pel Link setup e 2nd top place sequential z main sfc control OUT_1 to 4 by Mod
9. ny time Please refer to Appendix E amp G of the Wincon Getting Start ISaGRAF PAC manual for setting up the Modbus RTU slave ports at COM5 to COM14 Only the Active controller will reply to the PC or HMI via RS RECUMBENT MASI 485 Modbus RTU protocol COM3 RS 485 Redundant Slave j g142 8144 RS 485 COM5 to COM14 Setting as Modbus RTU Slave port I PC or HMI Controller Redundancy May 21 2006 Copyright By ICP DAS 9 Appendix E Using Expansion RS 232 or 485 or 422 Wincon can expand 10 more COM ports in its slot 1 to 5 by using below modules I 8112 2 channel RS232 I 8114 4 channel RS232 I 8142 2 channel RS422 485 I 8144 4 channel RS422 485 i 8142i 2 channel isolated RS422 485 Before user can use them please configure them By Wincon utility first Please plug them in slot 1 to 5 and then run Wincon utility Com then click on New Card Wizard and then Slot Scan and then click on Save new Module and Reset the Wincon WinCon Utility 1 for W 8X4x Ver 2 1 3 0 Save Registry System Contig Suto execute Version Update Update tom About WinCon Utility 1 Testing Serial Touch Change ComPort 9 Disable eit Card Wizard Ver 0 92 OKR x Elo COMIC Resource Card Name Cynapro COMO f Slot1 Bi Egalax COMO i Slate e144 slots Parallel Communication Module Slate rt slots soto Slot fo Regis
10. t channel in M_or_S indicate this controller is 1 Master or 2 Slave or 0 IP Error ES mm rdn ta RDN _ip n Bm Mors RDN_ip2 a Controller Redundancy May 21 2006 Copyright By ICP DAS 3 ov SaGER AF TESTI 140 connection File Edit Tools Options Help B P gt BPrmn tl FAE mun ref 15C The two digital Inputs sas Master _IP2 10 0 0 105 indicate which IP is active 5 Slave IP2 10 0 0 106 to communicate to the cmoun other redundancy cmoun controller reserved 0 Setting Master_IP2 amp Slave_IP2 will make the W HIT 8x47 8x46 work continuously even when the ethernet _ guon cable of IP1 is break or damaged The redundancy 9 system will automatically switch to the OK route if mm rdn 7 enable the Master_IP2 amp Slave_ IP2 The route can RDN_ip ne be leM o nu Master_IP1 to Slave_IP1 B t RDN_ip2 n Master_IP1 to Slave_IP2 a Master_IP2 to Slave_IP1 Master_IP2 to Slave _IP2 In the project please must place the l 87xxx function blocks and the l 7xxx function blocks on the top The second program should be RDN_ Data which call the RDN _xx functions at the first PLC scan cycle ISaGEAF WDOMO 18H Programs x File Make Project Took Debug Option Help O ea ee Begin A 7000 amp 8FK IO function block should be on the top F RDN Data Fedunttestyariable data should be placed on the 2nd top place sequ
11. try for Factory Setting Registry Save New Module It will take few minute to create registry for new Module een must be reset to active devices Reset Syetem Reset System Mow Controller Redundancy May 21 2006 Copyright By ICP DAS 10 After the configuration succeed The COM port No for the expansion board is COM5 to COM14 in the ISaGRAF definition The relation between WinCE and ISaGRAF definition for COM10 to COM14 is ISaGRAF MSP11 COM10 MSP2 COM11 MSP4 COM13 MSP5 COM14 MSP3 COM12 New Card Wizard Ver 0 92 OK Resource Slot je142 sot p m mE o Slot Scan Registry Registry for Factory Setting Save New Module Factor Default Pin assignment of i 8142 8144 8142i i 8112 8114 J Te Oi 014 TxO1 O1 Rx O1 Rx O1 aa RTSi CG RTS1 CTS 1 O CTS1 a so RS 422 R 5 405 311z and 114 D1 RS485 D1 RS485 RS232 s signal GND is Pin 4 or 7 Note 1 Please refer to section 8 4 of ISaGRAF User s Manual for multi ports Modbus Master 2 Please refer to Appendix A 4 of ISaGRAF User s Manual for COM OPEN COM_READ functions to read write COM ports Controller Redundancy May 21 2006 Copyright By ICP DAS 11 Appendix G Setup More Modbus RTU Salve Ports The Wincon 8xx7 8xx6 can setup up to five Modbus RTU slave ports in COM2 or COM3 or in COM5 COM6 COM7 COM68 multi serial ports in slot 1 or 2 refer to appendix E since the dri
12. ver version of 3 25 Note 1 Modbus RTU slave port 1 can be COM2 or COM3 which can be set on the Wincon s monitor by mouse refer to appendix A 2 2 User may enable 2nd 3rd 4th or 5th Modbus RTU slave port in COM5 COM6 COM or COMB only No support other COM port number 3 Before using this function please make sure COM5 COM6 or COM COM8 does exist and well configured refer to appendix E 4 Via 2nd 3rd 4th or 5th Modbus RTU slave port user may use ISaGRAF to Debug Set_val to the controller however user can not Stop Download Update the ISaGRAF program 5 To Debug Set_val Stop Download Update the ISaGRAF program please use Ethernet port or Modbus RTU slave port 1 COM2 or COM3 if enabled COM5 to COM68 is not for ISaGRAF to Stop Download Debug How to setup Please connect Rtu_slav in the ISaGRAF IO connection window as below Re compile the project and download to the Wincon via Ethernet or first Modbus RTU port if it is enabled SaGRAF T1 Programs q Ioj x File Make Project Toole Debug Options Help A HB iatl axr kR on SaGRAF Ti AO connection Ioj x File Edit Tools Optons Help alesan ttl FR S Select board equipment i q xX mbus_asc Modbus ASCII master mmicon Connect MMICON by Com or Corr oa Atul Slave Port 5 Baud Porte 19200 modem pe Set Password of Com4 Modern tdn Redundant System For incon itu slav 2nd Sth Modbus AT
Download Pdf Manuals
Related Search
Related Contents
Manual del producto Baixar Arquivo PDF pdf - 1438 Ko Cables Direct Cat6 Patch Samsung ED65C دليل المستخدم Copyright © All rights reserved.
Failed to retrieve file