Home

User`s Manual of ISaGRAF Embedded Controllers

image

Contents

1. 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 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 driver 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 downl
2. 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 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 RDN _B OUT_1 RDN_B OUT 2 Boolean RDN B OUT_3 RDN B OUT 4 TMP amp RND_init is declared as Boolean internal variable RDN B OUT_5 TMP TMP TMP TMP TMP TMP TMP TMP RDN B OUT 6 RDN B OUT_7 RDN B OUT 8 set other synchronous data by using rdn_b bool rdn_n integer rdn_f 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 0 2 Wincon 8xx7 CPU Redundan
3. 5 The synchronous data is exchanged via the ethernet cable between the Master amp slave controller If you are using Wincon 8x47 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 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 any 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 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
4. 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 Config SuUto execute Version Update Lom About Winton Utility 1 Testing Serial Touch Change ComPort 9 Disable it Card Wizard Ver 0 92 OKF x Elo COMIC Resource Card Name Cynapro COMO f Slot1 Bi Egalax COMO i Sotz E144 sota o Parallel Communication Module Slat rt slots 0 soto Slot fo Registry for Factory Setting Registry Save New Module It will take few minute to create registry for new Module Sy must be reset to active devices Reset Syetem Reset System Mow 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 Card Name Resource Slot E 142 Slotz2 Slots F sot 0 slots ooo m m Slote Slot Slot Scan Registry Registry for Factory Setting Save New Module Factor Default Pin assignment of I 8142 8144 8142 I 8112 8114 J Te Oi 014 TxO1 O1 Rx O1 Rx O1 aa RTSi CG RTS1 CTS 1 O CTS1 a so
5. or 2 Slave or 0 IP Error e mm rdn ta RDN _ip n Gm Mors RDN_ip2 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 0 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 ISaGRAF 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 sequential e main sfc controll OUT_1 tor sfc fc2 7 All Remote IO function blocks should be placed on the top tc3
6. de 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 oe SaGER AF TESTI 190 connection File Edit Tools Options Help B apSrPrn te FAE o aj pim ref 15A ma Master IP 10 0 0 103 mm Slawe IP 10 0 0 104 out Remote IO type 1 4 ima reserved 0 mal Type 1 87K and l 7000 RS485 I O EE Type 2 reserved for future usage ANE pm rdn 0000 oo B ADN_ip y n naa reserved 0 gt Mors ru ol is Active ta RDN _ip m p am bus7000b The boolean input channel return True if this C remot we controller take the control of remote IO i m ISaG GRAF TESTI I 70 connection File Edit Tools ptons Help B gt Bem LIFA Lo El bus ref 156 ol is_Master 3 The integer input channel in M_or_S indicate this controller is 1 Master
7. eout 500 iA am rdn RDN_ip n gt M_or 5 ro tf RDN ipe nm EE mm mbus A com_port n am bus O000b 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 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 them 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 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 lf Master is alive again it will take back the control
8. fo logicbus com mx www logicbus com mx Alcalde 1822 Col Miraflores C P 44270 Guadalajara Jal MX 01 33 3854 3975 y 3823 4349 USA 001 619 884 94 93 San Diego CA Office
9. gured 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 project s CRC value in Master and Slave may be different Master amp Slave s project must be the same one _ TRaGRAF WDOEHMO 18 Programs Oo 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 Mo
10. i Tu Sitio de Automatizaci n 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 ee Redundant Slave 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 confi
11. oad to the Wincon via Ethernet or first Modbus RTU port if it is enabled SaGRAF T1 Programs E 0 x File Make Project Tool Debug ptions Help Amsa nai Arya age am ISaGRAF T1 I O connection O x File Edit Tools Options Help alesan ttl FR S Select board equipment E x mbus_asc Modbus ASCII master mmicon Connect MMICON by Com or Corr modem pe Set Password of Com4 Modern rdn Redundant System For Wincon m Rtu Slave Port 5 Baud Porte 19200 Rtu_ Slave Ports 0 sas Baud Port3 19200 staan reserved 0 cat Atu_Slave_Port4 0 Baud Port4 19200 reserved 0 Cancel itu slay znd Sth Modbus ATU slave pork e256 _5TWE atten backup SRAM for los 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 FIBRE G EG related port is well RTU Slave Port2 5 defines the COM Port a eae number to enable Value can be 0 5 6 7 or 8 Value of 0 means not enable it Baud rate setting can be 600 1200 2400 4800 9600 19200 38400 57600 115200 di Note m tu_slaw B remot n Lan Library The 4 ch boolean inputs indicate the C Boards reserved reserved 0 i Equipments False disabled in
12. t 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 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 PAC manual for setting COM5 to COM 14 in the I 8142 8144 RS 485 expansion board And please connect mbus or mbus _asc in the IO connection windows ov SaGERAF TESTI 140 connection File Edit Tools Options Help B PBem tli RR Specify which RS 485 port is for Modbus RTU devices ro aj aus ref 107 wd E o wak COM5 to COM14 t baud 9600 mn char 8 4 mn parity 0 oma stop bit 1 E m tim

Download Pdf Manuals

image

Related Search

Related Contents

Smeg CR305B1 Instruction Manual  Please Click here to the Instructions PDF File  TPS9 UsersManRevB.pmd  Minox Bl 8x56BR  User manual  

Copyright © All rights reserved.
Failed to retrieve file