Home

User`s Manual of ISaGRAF Embedded Controllers

image

Contents

1. EAE HE WAD RBS IAM Baa ae O O Dd Olle cme OD SES a ET 7000 Web page Microsoft Internet Explorer 5 x AHE ja http 4 192 168 255 1 EJ ICP DAS htto wan icpdas com 4 Main Menu 0 Overview TS Configuration fa Network Setting l g Basic Settings Ea Module 1 0 Settings a Authentication O Web HMI gm Pair Connection CJ More Information Ethernet Settings Items Current Value IF 192 168 255 192 168 1179 Gateway 192 168 0 1 Mask 255 255 0 0 j255 255 255 0 DACP Enable Disable Web Server Lib Ver Version 113 Mar 26 2009 Minis ver Version 2 02 9 Please access the new IP Address after modifing the configuration e O agp E 7 Please use the new IP address to connect it after setting the new IP amp Mask If forget IP or Mask of the ET 7000 please refer to the section 1 3 of this document ae TOO Wek rece Hi r nft nternet Explorer O x Jee ICP DAS lt lt na http hana icpdas com n J Main Menu 00 Overview Welcome to the ET7000 Web configuratioi page H Configuration H Authentication Model Name ET 7017 ISaGRAF FAQ 113 Feb 25 2013 8 ICP DAS 2 Using Mbus_tcp amp Mbus_xxx function blocks to link ET 7000 Next connect the Mbus_ tcp in the ISaGRAF I O connection window please refer to the section 1 1 of this document Then use the suitable function block M
2. is the first channel value returned by the Mbus_tcp in the I O connection window It is the ID number of the Mbus tcp Please refer to the previous step 1 for detail information The first returned value in the right had side is the communication situation of the function block mbus _R True ok False fail Q wm NOT N2_ NB NS NOS WE WZ WB Wo Nid M11 lt 07 MBUS_TCP_ID1 10 10 ISaGRAF FAQ 113 Feb 25 2013 5 ICP DAS For another example write 1 Bit value to Modbus TCP IP slave device User can use function block Mbus_B_W or Mbus_wb Note When write 1 bit Mbus_b_w uses Modbus function code 5 But Mbus wb uses Modbus function code 15 When write 2 or more Bits Mbus_b_w and Mbus_wb are all using the Modbus function code 15 In the program below when M9 is set to True it will send the command once to set 1 bit value addr 100 as B01 B01 is an ISaGRAF Boolean variable Its value can be True or False If user wish to send the command continuously please directly set True to the parameter of ACTION_ The below sends the command just once when M9 is True MEUS B VY ok en J __ OOo MBUS _ TCP_ID1 100 Mg For more information please visit www icpdas com gt FAQ gt Software gt ISaGRAF gt Englich FAQ 101 How to read max 120 Words or max 60 Long Integers or max 60 Real values from
3. Mask 255 255 0 0 Please set your PC in the same domain of IP address ex set PC to IP 192 168 255 100 Mask 255 255 0 0 Then run the Internet Browser such as IE type in the IP address to connect the ET 7000 as the below screen Note The Dip Switch on the back of ET 7000 must be set to the Normal position First click Configuration gt Module I O Settings for the Channel setting then click Submit to set the setting lt A hitp 192 168 255 17 Microsoft Internet Explorer O x 483 192 168 255 1 j a BE Ota O n 2 E ALD Ka Username Admin ET 7017 Password Admin Case sensitive A348 1 we HEE HAET 2 http 192 168 255 1 e ICP DAS e htto Jiweana icp das com SS EJ Main Menu fa Overview Range 40427 EMS Configuration os cio e iov gt PCJ Network Settings i l l os 10W 10 zj L Basic Settings AY Authentication os 104 10W a A Web HMI Jos 1o 10w 0 Pair Connection ISaGRAF FAQ 113 Feb 25 2013 7 ICP DAS Note After changing the IP or Mask of ET 7000 user must link it by the new IP The PC must also set to the same domain with the new IP address If forget IP or Mask of the ET 7000 please refer to the section 1 3 of this document Next to set up the IP and Mask of the ET 7000 please click Configuration gt Network Settings After changing IP amp Mask click MODIFY_SETTING
4. of the User s Manual of ISaGRAF PAC Up to now Mbus_tcp supports the following Modbus read write function blocks Mbus_ R Setting CODE_ as Modbus function code 3 or 4 1 Read max 12 Word values 32768 32 67 2 Read max six 32 bit Integer values 2 147 483 648 2 147 483 647 must transform 2 words to one 32 bit Integer value using function block WD_LONG 3 Or read max 6 Real values 32 bit floating point must transform two words to one 32 bit Integer value using function block WD LONG then transform that 32 bit Integer value to one 32 bit Float value using function block INT REAL Setting CODE_ as Modbus function code 1 or 2 4 Read max 192 Boolean Bit values must transform one word to 16 Boolean values using function block WD _ Bit Ss as MBUS _R but with one extra setting PERIOD _ unit sec 1 600 Words per time or it supports Modbus function code 4 only please use another function block MBUS _R Mbus NR1 Same as MBUS _N_ R but with one extra PERIOD _ unit sec 1 600 Read words with a specified period time MBUS B R_ Read 8 Boolean Bit values True or False using Modbus function code 1 Each Modbus command requests 8 Bits if the device does not support 8 Bits per p Read words or bits with a specified period time Mbus N_R Read 8 Word values 32768 32767 using Modbus function code 3 Each Modbus command
5. 166 sas Device IP 192 166 1 180 cae Device NET ID 1 ame Timeout 2000 cae Min Yfait_Time 25 soe Port_No 502 cas Which LAN 0 sme Reserved 0 smn Reserved 0 sma Reserved 0 a Mbus Tcp ID Connect Ok a i ae Device_IP the IP address of the linked device Device_NET_ID the NET ID number of the device Usually is number 1 Timeout unit ms 0 001sec if got no response more than a period time set as timeout default is 2000 Min_Wait_Time unit ms the minimum waiting time before sending the next MBTCP command could be 10 60 000 Port_No the Modbus TCP IP port used by the device Normally is 502 Which_LAN 0 auto switch 1 always using LAN 2 always using LAN2 Mbus_tcp has four Integer inputs listed below The 1st Channel return a Mbus_tcp ID number the correct ID value is at least 1 000 001 Must use it to the input parameter of the SLAVE_ on the left side of mbus_ xxx blocks The 2nd Ch the connection situation of the current device 1 connecttd 0 not connectted The 3rd Ch reserved The 4th Ch reserved ISaGRAF FAQ 113 Feb 25 2013 ICP DAS 2 Edit the Mbus_ xxx function blocks to access to Modbus TCP IP slave devices After the step 1 about linking Mbus_ tcp next step is similar to the method listed in the Chapter 8 Linking The Controller To Modbus RTU amp Modbus ASCII Devices
6. 25W7 Mester Protocol TCP IP Slave VP 23W 7 a ET 7000 I O ISaGRAF FAQ 113 Feb 25 2013 l ICP DAS The following listed ISaGRAF driver version support up to 1000 mbus_ xxx function blocks amount sum of all Mbus_B_r Mbus B W Mbus N r Mbus N W Mbus R for each mbus_tcp or mbus_tc2 in one project While older driver version can support only 255 WP 8xx 7 driver Ver 1 57 or later VP 25W 7 23W 7 4137 driver Ver 1 49 or later XP 8xx7 CE6 driver Ver 1 37 or later WP 5147 driver Ver 1 04 or later XP 8xx ATOM CE6 driver Ver 1 02 or later The Mbus_ AR and Mbus_AW function blocks can reduce the Mbus code size Please refer to www icpdas com gt FAQ gt Software gt ISaGRAF gt English gt 161 Then make sure the I O complex equipment mbus_tcp and mbus_tc2 are installed in the PC ISaGRAF If not please download them from the following website www icodas com gt FAQ gt Software gt ISaGRAF gt English gt 113 Then follow the steps to install it to the PC ISaGRAF SA 18aGRAF Project Management Ioj x 1 SaGR AF Libraries File Edit Project Tools Uptons Help EE drechi ane File Edit Tools Options Help m t 80935w m 67 Import IL program H t coms Saal E Se Reference tl PT xP f CEB only SaGRAF Libraries File Edit Toole Options Help E comple cy 5 i 87054c tand te format x 87055 cpp i 67055c l
7. Linking ISaGRAF PAC to Modbus TCP IP Slave Devices By Modbus TCP Master Protocol By chun icpdas com ISaGRAF PAC WP 8xx7 and VP 25W7 23W7 and XP 8xx7 CE6 support Modbus TCP IP Master Protocol to link to various Standard Modbus TCP IP Slave devices using the following version drivers The following version supports Mbus_ tcp WP 8xx 7 driver Ver 1 14 or later VP 25W7 23W7 driver Ver 1 05 or later XP 8xx7 CE6 driver Ver 1 02 or later The following version supports Mbus_tcp and Mbus_tc2 WP 8xx7 driver Ver 1 23 or later VP 25W7 23W7 driver Ver 1 14 or later XP 8xx7 CE6 driver Ver 1 03 or later To send Modbus TCP commands with different NET ID number to the same Modbus TCP slave device please use the following ISaGRAF driver refer to the section 1 4 WP 8xx 7 driver Ver 1 52 or later VP 25W7 23W7 driver Ver 1 44 or later XP 8xx7 CE6 driver Ver 1 32 or later User may download the latest version of driver from http www icpdas com products PAC i 8000 isagraf link htm Each WP 8xx7 or VP 25W7 23W 7 or XP 8xx CE6 can link to up to 100 Modbus TCP IP slave devices Please make sure the driver version of PAC is consistent with the above listed versions Modbus TCP IP Master Application XP 8xx7 CE6 _ Modbus TCP IP Slave onnections l 7 PLC Modbus TCP IP Slave Meter WP 8xx7 ee TSaGRAF PAC me LPAC 7186 P EG I 7188EG iP 8x4 WP 8x47 Modbus TCP IP Modbus VP 2xW7 VP
8. Modbus RTU ASCII devices by using MBUS_XR or MBUS_XR1 function block for WP 8xx7 8xx6 and VP 25W7 23W 7 25W6 23W6 and Wincon 8xx 7 8xx6 only FAQ 096 Release Two C Function Blocks To Read Max 24 Words Or 384 Bits From Modbus RTU ASCII Devices FAQ 047 How to Read or Write Floating Point Values to Modbus RTU Slave device FAQ 046 How to Write 16 bits to Modbus RTU devices by Modbus function call No 6 FAQ 125 The XP 8xx 7 CE6 plus iDCS 8000 redundant system Users Manual of ISaGRAF PAC Chapter 8 User _Manual_ 8xx7 pdf or WP 8xx 7 CD napdos isagraf wp 8xx chinese_manu or VP 2xW7 CD napdos isagraf vp 25w 23w chinese_manu or http www icpdas com products PAC i 8000 getting_started_manual htm ISaGRAF FAQ 113 Feb 25 2013 6 ICP DAS 1 2 Using Mbus_tcp to Link ET 7000 I O Modules ICP DAS ET 7000 series supports Modbus TCP IP slave protocol and Web configuration WP 8xx7 or VP 2xW7 can link to several ET 7000 modules by using Mbus_tcp In theory a single WP 8xx7 or VP 2xW 7 can link to up to 100 pcs of ET 7000 modules For more ET 000 product information please visit the following website http www icpdas com products Remote_ O et 000 et 7000_ selection _guides htm 1 Using Internet Browser to setup ET 7000 module Each ET 000 must be configured via Internet Browser before its first usage ET 7000 series manufactured with the IP address 192 168 255 1
9. P 25W7 23W7 driver Ver 1 44 or later XP 8xx7 CE6 driver Ver 1 32 or later User may also refer to www icodas com gt FAQ gt Software gt ISaGRAF gt English gt 159 for one another demo program about the TGW 700 series The normal Modbus TCP slave device has only one NET ID number Then using the method listed in the section 1 1 is ok However some devices may have many NET ID numbers For example the Modbus TCP RTU gateway can have some NET ID numbers like the ICP DAS tGW 700 series gateway hitp www icodas com products Industrial pds tgw 700 htm To use such a Modbus TCP device well modify the mbus _ tcp gt Device NET ID as 0 ow SaGRAF CREATION I O connection File Edit Tools Options Help BB PBPm te EFAS mnj ref 168 mus Device IP 192 1686 1 160 m Timeout 1200 coe Mins Yrait_ Time 25 cous Port_No 502 coe Which LAN 0 son Reserved mwj Reserved 0 a mbus_tcp mn Reserved 0 B To_IP uo E o Devicet Connect_OK1 aa a Dl Then write a ST program as the following in front of all programs which have Mbus function blocks inside The ISaGRAF project must run this ST program before running any Mbus function block This ST program runs only once in the first PLC scan cycle It assigns proper ID numbers which will be used later inside the Mbus function blocks For example the following code assign the NET ID number 1 2 and 3 to the
10. and the ACTION_ must be filled in True The range of the Word value N1_ to N4_ of the left side is 32768 32767 These values are related to the AO channel range setting of the ET 7000 Please refer to each user manual of the ET 7000 products MBJS M Y Ok en i Whus_Tcep_IC1 MOT MO MOS Mod ISaGRAF FAQ 113 Feb 25 2013 12 ICP DAS 1 3 Forgetting the IP or Mask of ET 7000 what to do After changing the IP of the ET 7000 modules sometimes user will forget the set IP Using MiniOS7_ Utility can find out the set IP of the ET 7000 Please follow the pictures below Make sure your PC has installed the MiniOS7_ Utility or please download the lastest version from the website of http ftp icodas com pub cd 8000cd napdos minios utility minios _utility ICPD AS Mod bus Utility Flash Magic Ala Minis Utility Ver 3 20 ya Minis Utility Ver 3 20 7 New connection F2 Last Connecton AlHFe Distonmnect irl E Modified File Folder 2005 1071 File Folder 2005 1071 IP setting Exit Clear a a Alias TCP Broadcast os AEAEE E 205 255 255 0 132 ISaGRAF FAQ 113 Feb 25 2013 13 ICP DAS 1 4 How to send Modbus TCP commands with different NET ID number to the same Modbus TCP device To send Modbus TCP commands with different NET ID number to the same Modbus TCP Slave device please use the following ISaGRAF driver WP 8xx7 driver Ver 1 52 or later V
11. bus_ xxx to read or write the data in the ET 000 ow 8aGRAF TESTI1G I O connechon O x File Edit Tools Options Help a gt Seamn ELIFAS Device IP 192 168 1 179 Device NET ID 1 smn Timeout 2000 4 cmt Mins rait_Time 40 6 cous YWrhich LAN 0 m Reserved 0 mm Reserved 0 9 em mbus tep oun Reserved 0 A To_IP ro Mbus Tcp ID1 For DO channel of ET 7000 please use Mbus_WB function block The NUM_ parameter must assign in the exact DO channel amount of the ET 7000 can be 1 to 16 Assign the ACTION parameter with True and the ADDR with 0 If the ET 7000 has more than 16 DO channels using two Mbus_wb function blocks to control them and set one of ADDR to 0 set the other to 16 MBUS WWE Ok en 2 Mbus Tep IDi 7 SLAVE _ U4ADDR_ o NL RUE FACTION Fal Please assign False to the DO gt e ase channels that been not used ISaGRAF FAQ 113 Feb 25 2013 9 ICP DAS For DI channel of ET 7000 please use Mbus_R function block Assign the ADDR_ with 0 and assign the CODE with 2 The NUM _ parameter must assign in the exact DI channel amount of the ET 7000 can be 1 to 32 Each N1_ to N12 in the right hand side of the Mbus_R function block is a Word value range 32768 to 32767 Each Word value can be transformed to 16 DI channel values s
12. integer variable Device1 ID1 Device1 ID2 and Device1_ ID3 respectively The Device1 variable is the input variable which is connected to the Ch 1 of the mbus_ tcp Device1_ID1 Device1_ID3 are internal integers Mbus_Tcp_inited is a Boolean with an initial value FALSE if Mbus_Tcp_inited FALSE then Mbus_Tcp_inited TRUE Device1 ID1 Device1 1 Device1 ID2 Device1 2 Device1 ID3 Device1 3 end_ if ISaGRAF FAQ 113 Feb 25 2013 14 ICP DAS Then apply Device1_ID1 Device1_ID2 and Device1_ ID3 in the SLAVE _ parameter of the Mbus function block The following example shows the first Mbus_R is for the NET ID number 1 The second Mbus_R ts for the NET ID number 2 Ok gt Devicel ID1 0 4 g OK Devicel ID AT 0 AU 4 AUS ISaGRAF FAQ 113 Feb 25 2013 15 ICP DAS
13. o please use WD _BIT to transform Word to Boolean variable as the following pictures Note If the ET 7000 has more than 16 DI channels must use 2 words such as N1_ and N2 in the right side hus Top ID ISaGRAF FAQ 113 Feb 25 2013 10 ICP DAS For Al channel of ET 7000 please use Mbus_R or mbus24R function block Assign the ADDR_ with 0 and assign the CODE_ with 4 The NUM _ parameter must assign in the exact Al channel amount of the ET 7000 could be 1 to 12 while 1 to 24 for the Mbus24R The range of the Word value read from the right side is 32768 32767 This value is related to the Al channel range setting of the ET 7000 Please refer to the user manual of the ET 000 For example ET 7017 http www icpdas com products Remote_1 O et 7000 et 701 7 htm gt Software For instance if set the range of ET 7017 to 08 10 V to 10V its word value is mapping to 32768 32767 When input 5 V the Word value read from the right side is about 16383 if input 2 5 V the Word value is about 8192 Mbhus Top ib ISaGRAF FAQ 113 Feb 25 2013 11 ICP DAS For AO channel of ET 7000 please use Mbus_N_W function block The NUM _ W_ is assigned in the exact AO channel amount of the ET 7000 could be 1 to 4 If the AO channels are more than 4 please use two or more Mbus_N_W blocks to control them ADDR_ must be filled in 0
14. requests 8 Words if the device does not support 8 time or it supports Modbus function code 2 only please use another function block MBUS_R MBUS_BR1 Same as MBUS_B_R but with one extra setting PERIOD unit sec 1 600 Read value with a specified period time MBUS_N_W 1 Write max 4 Word 32768 32767 using Modbus function code 6 or 16 If NUM_ W is 1 use Modbus function code 6 If NUM_W_ is 1 use Modbus function code 16 to write 1 word lf NUM W_ is 2 4 use Modbus function code 16 2 Or write 1 2 32 bit Integer values use function block LONG _WD transform one 32 bit Integer to 2 Words send them into MBUS_N_ W and set NUM _W as 2 or 4 3 Or write 1 2 32 bit Float point values use function block REAL_INT transform one 32 bit Float to one 32 bit Integer then use function block LONG WD transform the 32 bit Integer to 2 Words send them into MBUS_N_W and set NUM W as 2or 4 MBUS B W Write max 4 bit values using Modbus function code 5 or 15 If NUM W_ is 1 use Modbus function code 5 lf NUM W is 2 4 use Modbus function code 15 FAQ 096 FAQ 096 FAQ 101 FAQ 101 ISaGRAF FAQ 113 Feb 25 2013 4 ICP DAS For example read from the address 0 to 9 of the Modbus TCP IP salve device There is 10 Words suppose the device using Modbus function code 4 so user can use function block Mbus_R to read it Mbus_TCP_1 D1
15. z WINS2 inte eration Workbench Archive 6 056 i 6 063 For the XP Backup i 6 063c W P Bpcx 8 Of082c foe f fiso lt B Restore Help M Compress Archive location D CHUN_D XP 8 1 P E NAPDOS ISaGRAF FAQ 113 Feb 25 2013 2 ICP DAS 1 1 Using Mbus _ tcp or Mbus_tc2 to Link Modbus TCP IP Slave Devices 1 Setup for using Mbus_tcp and Mbus_tc2 The Mbus_tcp is for connecting devices which have only one IP address The Mbus_tc2 is for connecting devices which have two IP address There is one more setting Device_ P2 If one fail the PAC will try to connect the other IP One PAC supports up to 100 Mbus_tcp connections Using more Mbus_ tcp connections will reduce the PAC efficiency If the PAC does not actually connect to a Modbus TCP IP slave device do not use Mbus_tcp assigned with its IP address It is to prevent the PAC efficiency reducing from trying to connect a non existing device Some Modbus TCP IP slave devices may not allow read write data in fast frequency The user can assign a larger value to Min_Wait_ Time so that the Modbus TCP IP command will not be sent too frequent ow 8aGRAF MB ICP I O connecton File Edit Tools Options Help IO x B PSrPrmn trl rk se SEICEIEIEEICIE T T B To_IP 10 To_IP 11 B g Ww mmj T T m ru a bon ref

Download Pdf Manuals

image

Related Search

Related Contents

Pfister F-034-4ALS Installation Guide  PE-9403 – Wireless Sound and Light Siren – Double  Sony 32" V-series BRAVIA LCD TV  HurriCANe v5.2.4 User`s Manual  MICROSCOPES NUMERIqUES photo/video  Manual de usuario  Modèle de format 11x17cm - livres  ACTi PMAX-0314  Honeywell T8034C User's Manual  Virtua Tennis 3 Naomi Cabinet rev1  

Copyright © All rights reserved.
Failed to retrieve file