Home

User`s Manual of ISaGRAF Embedded Controllers

image

Contents

1. Tu Sitio de Automatizaci n Connecting 1 8KE4 8 MTCP Ethernet I O Wincon 8x3 7 8x36 amp Wincon 8x47 8x46 supports I 8BKE4 MTCP amp i 8KE8 MTCP ethernet I O since Wincon ISaGRAF driver version 3 32B Please visit below web site One Wincon 8xx7 8xx6 can connect max 24 nodes of Ii 8KE4 8 MTCP The Ethernet I O scan time of 3000 6000 Ch for one W 8x47 8x46 is about 30 to 40 ms If connecting less than 10 nodes of I 8KE4 8 MTCP the Ethernet I O scan time is about 20 ms However it still depends on how big complex of your logic program The Ethernet I O scan time of one W 8x36 8x37 is about twice of the W 8x47 8x46 That means W 8x36 8x37 is slower than W 8x47 8x46 when connecting Ethernet I O Configure1 W 8x47 8x46 Dual Ethernet version connecting Modbus TCP IP I O in a safe local private network PC HMI SCADA Advantage Modbus TCP IP I O are in local amp private network Not accessible by other machine in the public network W 6x47 6x46 Two Ethernet version NS 205 To public network aot Please connect Modbus TCPIIP V0 to LAN1 ere Ns 208 Model I 8KE4 MTCP G Ae ve Baran TA jiji in ma ma i a l i Mod el l SKE4 MTCP G Model I 8KE4 MTCP G Model I SKE8 MTCP G One Wincon can connect up to 24 nodes of i SKE4 MTCP or i8KE8 MTCP Configure2 W 8x47 8x46 Dual Ethernet connecting Modbus TCP IP I O in both two ports PC HMI SCADA Advantage
2. If the 2nd amp 3rd Leds below the Five 7 Segment Led is always blink it means this i 86KE4 8 MTCP is not configured well by the Modbus utility Step 3 Please connect i8ke I O complex equipment in your IsaGRAF project Please enter the IP address of the related i 8KE4 8 MTCP If the Wincon has connectted more than one i 8KE4 8 MTCP you should connect more i8ke as below ISaGRAF T3 1 0 connection Hi a o ES E Es do 6 _ _ The only one boolean input channel of the i8ke indicates its communication state True means Wincon connecting this 8KE4 8 MTCP well while Fasle means communication timeout or break Step 4 Please map ISaGRAF internal variables to the related Modbus O address of the I 8KE4 8 MTCP by using below functions Example program Wdemo_ 30 amp Wdemo_ 31 at W 8xx7 CD ROM Set boolean variable as i8KE4 8 MTCP ethernet I O i8ke b IP_ ADR_ 10_ B_ Parameters IP_ Message IP address of the related i8KE4 8 MTCP for example 192 168 100 123 ADR __ Integer DI or DO address from 0 to 267 the related DI or DO Modbus address No in the i8KE4 8 MTCP IO Boolean True Input False Output B_ Boolean The internal boolean vairable name return Q Boolean True Ok False parameter error Set Integer variable as i8KE4 8 MTCP ethernet I O i8ke n IP_ ADR_ IO N_ XO_ YO X1_ Y1_ Parameters IP_ Message IP address of th
3. degree to become engineering value of 2700 13720 Please set XO _ YO 6448 32767 X1_ Y1_ 2700 13720 4th example i 87024 set range_type as 4 to 20 mA i 87024 s output value is O to 32767 User may want to scale 4 20 mA to become engineering value of 0 5000 rom Please set XO_ YO 0 32767 X1_ Y1_ 0 5000 Set REAL variable as i8KE4 8 MTCP ethernet I O i8ke f IP_ ADR_ 1O_ F_ XO_ YO_ XF1_ YF1_ Parameters IP_ Message IP address of the related i8KE4 8 MTCP for example 192 168 100 123 ADR __ Integer Al or AO address from 0 to 127 the related Al or AO Modbus address No in the i8KE4 8 MTCP IO Boolean True Input False Output F REAL The internal REAL vairable name x0 Integer original value of the analog Input Output board XO_ DO NOT equal to YO_ Valid range is 32768 lt X0_ lt 32767 YO_ Integer original value of the analog Input Output board XO DO NOT equal to YO_ Valid range is 32768 lt YO lt 32 6 7 XF 1 REAL Engineering value after scalling XF1_ DO NOT equal to YF1_ YF1 REAL Engineering value after scalling XF1_ DO NOT equal to YF1_ return Q_ Boolean True Ok False parameter error 1st example i 8017h set range_type as 10 V i 8017h s input value is 32768 to 32767 User may want to scale 0 10 V to become engineering value of O 1000 Psi Please set XO_ YO 0 32 767 XF1_ YF1_ 0 0 1000 0 2nd ex
4. to become engineering value of 270 0 1372 0 Please set X0_ YO 6448 32767 XF1_ YF1_ 270 0 1372 0 info logic bus com mx Alcalde 1822 Col Miraflores C P 44270 Guadalajara Jal www logicbus com mx MX 01 33 3854 5975 y 3823 4349 USA 001 619 884 94 93 San Diego CA Office
5. address from 0 to 127 the related Al or AO Modbus address No in the i8KE4 8 MTCP True Input False Output Network address No for the 1st element of the Variable Array 1 to 8191 valid range is 1 255 ADR_ Num_ cant not larger than 128 amount of REAL in the Variable Array to set as ethernet IO For example Ri 0 11 has size of 12 You may set NUM_ as 1 to 12 original value of the analog Input Output board XO_ DO NOT equal to YO_ Valid range is 32768 lt XO_ lt 32 6 7 original value of the analog Input Output board XO_ DO NOT equal to YO_ Valid range is 32768 lt YO lt 32 6 7 Engineering value after scalling XF1_ DO NOT equal to YF1_ Engineering value after scalling XF1_ DO NOT equal to YF1_ True Ok False parameter error 1st example i 8017h set range_type as 10 V i 8017h s input value is 32768 to 32767 User may want to scale 0 10 V to become engineering value of O 1000 Psi Please set XO_ YO _ 0 32 767 XF1_ YF1_ 0 0 1000 0 2nd example i 8024 set range_type as 0 to 20 mA i 8024 s output value is 0 to 32767 User may want to scale 4 20 mA to become engineering value of 0 3000 rpm Please set X0_ YO_ 6553 82767 XF1_ YF1_ 0 0 3000 0 3rd example i 8 7018R set range_type as Thermo Couple K type 270 to 1372 degree celsius i 87018R s input value is 6448 to 32767 User may want to scale 270 1372 degree
6. lf one cable LAN1 or LAN2 is break The other one still works W 8x47 8x46 Two Ethernet version F i il 1 i i ik Model I 8KE4 MT CP G MARE ILS Model I 8KE4 MTCP G Model l 8KE8 MTCP G E A i Model I SKE4 MTCP G One Wincon can connect up to 24 nodes of i SKE4 MTCP or i8KE8 MTCP Configure3 W 8x37 8x36 One Ethernet version connecting Modbus TCP IP I O This configure doesn t have the advantage of configure 2 And if the NS 208 is connected to public network then it doesn t have the advantage of configure 1 PC HMI SCADA W 8x37 8x36 One Ethernet version d 3 Model l 8KE4 MTCP G k i 1 x l y Pr i 1 _ Model l SKE4 MTCP G Model Il 8KE4 MTCP G Model I SKE8 MTCP G One Wincon can connect up to 24 nodes of I GKE4 MTCP or i8KE8 MTCP How to use Step 1 The first step is to assign an unique IP address to all of the i8KE4 8 MTCP Please power off the i8KE4 8 MTCP short its INIT to INIT COM and then power it up Then please run 7188xw exe on PC 7188xw exe is burned in l 8000 CD ROM or can be download Press some lt Enter gt and then type ip to view the current IP setting Then type in for example ip 192 168 2 70 to set an IP address to it To set mask address please type in for example mask 255 255 255 0 Step 2 The second step is to configure all of the connecting
7. U3 03 5o if the 000E unit does not receive any commands during the ne a timer interval the analog digital output module will set the channels DE OE by safe value pa OF 07 At the same time the L2 led will flash ne mg 4 rs User may enable the 87K DI Counter if you have plugged i 87K D I module in the i 8KE4 8 MTCP Every Digital Input channel pf the i 87K module have a DI Counter value The max rate can be accepted is 100 Hz The DI Counter value is a 16 bits value 0 to 32767 and then from 32768 to 1 Hex is from 0000 0001 to 7FFF 8000 8001 to FFFF then back to 0000 The DI Counter value is a A I value with a Modbus address HJ Modbus Utility Fer 1 68 loj x Fie Windows Clenttoole Setting Help _ Status Er z mj E ig B h izz A oet 7K Ol counter Set87K DI counter enable disableok ok _Seta7KDIcourerenablejsanieok Load Daye Monitor Log pale I SKE4 WNetiD 1 87K DI Counter 1000 10 Connect M Cho For 87K series modules the Vv DI channels can hawe both Online Mode Ethernet Disconnect 1 Bl M Ch2 2 Low speed counter Ch3 lt 1 00Hz Write to DO can clear the M Chd counter value M Cho l Che l Che DI Mapping DO Mapping Al Mapping AQ Mapping ies Input Ries Wadi ee haa Pale Comment lc O0 00 1 6 7052 40 Low Speed Counter Note Every i8KE4 8 MTCP with new plugged IO board should be configured at least once by Modbus utility
8. ample i 8024 set range_type as 0 to 20 mA i 8024 s output value is 0 to 32767 User may want to scale 4 20 mA to become engineering value of 0 3000 rpm Please set X0O_ YO_ 6553 382767 XF1_ YF1_ 0 0 3000 0 3rd example i 87018R set range_type as Thermo Couple K type 270 to 1372 degree celsius i 87018R s input value is 6448 to 32767 User may want to scale 270 1372 degree to become engineering value of 270 0 1372 0 Please set X0_ YO 6448 32767 XF1_ YF1_ 270 0 1372 0 4th example i 87024 set range_type as 4 to 20 mA i 87024 s output value is O to 32767 User may want to scale 4 20 mA to become engineering value of 0 5000 rom Please set XO_ YO 0 32 67 XF1_ YF1_ 0 0 5000 0 Set boolean Variable Array as i8KE4 8 MTCP ethernet I O i8ke_b a IP_ ADR_ 1O_ NetW_ Num_ Parameters IP_ Message IP address of the related i8KE4 8 MTCP for example 192 168 100 123 ADR __ Integer DI or DO address from 0 to 267 the related DI or DO Modbus address No in the i8KE4 8 MTCP IO Boolean True Input False Output NetW_ Integer Network address No for the 1st element of the Variable Array 1 to 8191 Num _ Integer valid range is 1 255 ADR_ Num _ cant not larger than 264 amount of Boolean in the Variable Array to set as ethernet IO For example Bi 0 15 has size of 16 You may set NUM_ as 1 to 16 ABC 0 7 has size o
9. ange is 32768 lt YO lt 32 6 7 Engineering value after scalling X1_ DO NOT not equal to Y1_ Valid range is 30000 lt X1_ lt 30000 Engineering value after scalling X1_ DO NOT not equal to Y1_ Valid range is 30000 lt Y1_ lt 30000 True Ok False parameter error 1st example i 8017h set range_type as 10 V i 8017h s input value is 32768 to 32767 User may want to scale 0 10 V to become engineering value of O 1000 Psi Please set X0O_ YO 0 32767 X1_ Y1_ 0 1000 2nd example i 8024 set range_type as 0 to 20 mA i 8024 s output value is 0 to 32767 User may want to scale 4 20 mA to become engineering value of 0 3000 rpm Please set X0O_ YO_ 6553 82767 X1_ Y1_ 0 3000 3rd example i 87018R set range_type as Thermo Couple K type 270 to 1372 degree celsius i 87018R s input value is 6448 to 32767 User may want to scale 270 1372 degree to become engineering value of 2700 13720 Please set XO _ YO 6448 32767 X1_ Y1_ 2700 13720 Set REAL Variable Array as i8KE4 8 MTCP ethernet I O i8ke_f_a IP_ Parameters IP_ ADR_ IO_ NetW_ Num X0_ YO_ XF1_ YF1_ return Qu ADR_ Message Integer Boolean Integer Integer Integer Integer REAL REAL Boolean 10_ NetW_ Num_ XO_ YO_ XF1_ YF1_ IP address of the related i8KE4 8 MTCP for example 192 168 100 123 Al or AO
10. e related i8KE4 8 MTCP for example 192 168 100 123 ADR __ Integer Al or AO address from 0 to 127 the related Al or AO Modbus address No in the i8KE4 8 MTCP IO Boolean True Input False Output N_ Integer The internal Integer vairable name X0_ Integer original value of the analog Input Output board XO_ DO NOT not equal to YO_ Valid range is 32768 lt XO_ lt 32 6 YO Integer original value of the analog Input Output board XO DO NOT not equal to YO_ Valid range is 32768 lt YO lt 32 6 X1 Integer Engineering value after scalling X1_ DO NOT not equal to Y1_ Valid range is 30000 lt X1_ lt 30000 Y1 Integer Engineering value after scalling X1_ DO NOT not equal to Y1_ Valid range is 30000 lt Y1_ lt 30000 return Q_ Boolean True Ok False parameter error 1st example i 8017h set range_type as 10 V i 8017h s input value is 32768 to 32767 User may want to scale 0 10 V to become engineering value of O 1000 Psi Please set X0O_ YO_ 0 32767 X1_ Y1_ 0 1000 2nd example i 8024 set range_type as 0 to 20 mA i 8024 s output value is O to 32767 User may want to scale 4 20 mA to become engineering value of 0 3000 rpm Please set X0O_ YO_ 6553 82767 X1_ Y1_ 0 3000 3rd example i 8 018R set range_type as Thermo Couple K type 270 to 1372 degree celsius i 87018R s input value is 6448 to 32767 User may want to scale 270 1372
11. f 8 you may set NUM_ as 1 to 8 return Q_ Boolean True Ok False parameter error Note 1 To declare a ISaGRAF version 3 4 or 3 5 Variable Array please add 2 more lines on the top of the isa ini file in the ISaGRAF sub directory C ISAWIN EXE And then when you open the ISaGRAF workbench there will be a DIM area you can assign in the Dictionary declaration windows inside c isawin exelisa ini adds 2 lines DEBUG arrays 1 Set integer Variable Array as i8KE4 8 MTCP ethernet I O i8ke_n_a IP_ ADR_ Parameters IP_ Message ADR_ Integer lO_ Boolean NetW_ Integer Num_ Integer XO __ Integer YO Integer X1 Integer Y1_ Integer return Q Boolean 10_ NetW_ Num_ X0_ Y0_ X1_ Y1_ IP address of the related i8KE4 8 MTCP for example 192 168 100 123 Al or AO address from 0 to 127 the related Al or AO Modbus address No in the i8KE4 8 MTCP True Input False Output Network address No for the 1st element of the Variable Array 1 to 8191 valid range is 1 255 ADR_ Num_ cant not larger than 128 amount of Integer in the Variable Array to set as ethernet IO For example Ni 0 31 has size of 32 You may set NUM_ as 1 to 32 ABC 0 7 has size of 8 you may set NUM_ as 1 to 8 original value of the analog Input Output board XO_ DO NOT not equal to YO_ Valid range is 32768 lt XO_ lt 32 6 original value of the analog Input Output board XO DO NOT not equal to YO_ Valid r
12. i8KE4 8 MTCP by running Modbus utility The Modbus utility is burned in the l 8000 CD ROM or can be download ify Modbus Utility O Linking TnaGRAF 3 5 O MERTU ICP DAS Utilities for kag RAF _ METCF Baat kai FJ Modbus Utility Every i8KE4 8 MTCP with new plugged IO board should be configured at least once by Modbus utility If the 2nd amp 3rd Leds below the Five 7 Segment Led is always blink it means this i 8KE4 8 MTCP is not configured well by the Modbus utility Choos Conboller x Please choose controller MHodbus TCP Enter the correct IP of the i8KE4 8 MTCP on the Modbus utility and then click on Connect Ifthe i8KE4 8 MTC is well connectted You will see the Modbus address assigned in the i 8KE4 8 MTCP For example D I starting from 0 to A I starting from 0 to Modbus Utility Yer 1 6 8 E 5 xj File Windows Chenttool Setting Help i gg m y Controller a Communication wode Disconnect HH Modbus Utility Ver 1 6 8 Fie Windows Clenttoole Setting Help pats ih a 4 I 8KE4 NetliD 1 8S K B K Diaital Fower On alue Safe Value 10 0 0 109 Connect Online Mode Ethernet Disconnect O x status j el Modbus firmware version v1 6 6 Aug 10 2006 Exit et OI Contig F S F Cho M Chi M Ch M Ch3 M Chd M Ch5 l Ch l Ch DO Mapping Al Mapping AO Mapping Dueital Tr
13. ips Txxxx Comment a l 8077 0 0 40 Digital Module l 2077 0 1 40 igital Module l 8077 0 40 Digital Module l 8077 0 d 40 igital Module l 8077 0 4 40 Digital Module l 8077 0 z 40 igital Module l 2077 0 G 40 igital Module l 8077 0 T 1 0f1 1 n 40 Digital Module MA inital hdl of b There is a Watchdog setting for the i KE4 8 MTCP The default value is disable the watchdog You may enable it by assigning a Watchdog timer value for example from 10 to 60 seconds This will automatically set the Digital outputs and Analog outputs of the i SKE4 8 MTCP to a pre defined Safe Value when the Ethernet communication between the Wincon and the i 8KE4 8 MTCP is break If you check the Ch0O to of the Safe Value it means to set these Channels to have a safe value of ON if you un check it it means the related channel has safe value of OFF The Safe value function only works when you assign a value larger than zero to the Watchdog timer and the communication is break Ea Modbus Utility Yer 1 6 8 5 x File Windows Clenttoole Settmge Help pA Al I 8KE4 NetiD 1 SKS 7K Diattal Bi Contig i Set C Fower On alue Safe Value 10 0 0 109 Connect x Online Mode Ethernet Disconnect p ki aa E Digital Input Txxx Watchdog Timer sec Binge O0 00 01 01 02 02 WOT will reset after the S000E receving commands

Download Pdf Manuals

image

Related Search

Related Contents

Un risque à mieux prévoir. Bulletin semences de la FNAMS, n  AquaChem v.4.0 User`s Manual - swstechnology.com archive  ISTRUZIONI D`USO  Rexel RM31605  F_取扱説明書ABS樹脂・メタクリル樹脂・AS樹脂  UNIVERSITE D` ETE 2013 - Consulat Général de France à Boston  小型動力ポンプ付積載車  

Copyright © All rights reserved.
Failed to retrieve file