Home

User`s Manual of ISaGRAF Embedded Controllers

image

Contents

1. 150mV D Jjt20mA 20mA JOomA 20mA The long word defined in the Modbus protocol of 7188EG 7188XG amp I 8xx7 controllers is like a signed long integer which occupies 4 bytes and range from 2 147 483 648 8000 0000 in hexa to 2 147 483 647 7FFF FFFF in hexa It is normally used to describe the value of internal integer variables declared on ISaGRAF workbench All integer variables declared on ISaGRAF are signed 32 bit format however the integer variable which assigned with a network address will only occupies 1 word 2 bytes in the Mudbugs transportation format Since a long word occupies 2 words 4 bytes to Read Write long word through Modbus the network address assigned to the integer variable has to be followed as below SaGRAF SA Global mtegers reals V1 is assi gne dicm networnesddasss File Edit Tools Options Help TL If the network address 2 is not assigned to any other variable V1 will occupy a long word 4 bytes in Booleans Integers Reals Timers Messages FB instances Defined words Hame Ad comment yI the Modbus transportation formate V2 V3 However if 2 is assigned to one V4 another variable V1 will only occupy v5 one word 2 bytes in the Modbus Vb transportation format VI VB In this example V1 V2 V3 V6 V7 and V8 will occupy 4 bytes however V4 and V5 only occupy 1 word Lowest word in the Modbus User s Manual Of The I 8417 8817 8437 8837
2. Retain When you click on the Store button you will see that ISGaGRAF Global Variables window will now be updated with the new network address for the variable ISaGRAF 5T INTER Global booleans Fil Edit Tools Options Help amp joe e sxe isx amp a Booleans lintegersiReals Timers Messages FB instances Defined words 1 uu neci UNI input pu H Real Input Zl D2 input fy 0000 p Real Input 2 input 2 Real Input 3 d Real Output 1 utet ratet D1 j Reallnput 1 0005 input false true The second method for assigning network addresses to variables requires that you declare the variables BEFORE you assign them This method allows you to assign numerous network address variables before you link them to an ISaGRAF program User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 11 T TTETNTICEUTES E BMS ODA See ow Aos 7 za Reni 3 LIO commection S 1 NR amp Convetion tables When you click on Modbus SCADA Addressing Map SCADA is an industrial process control acronym that stands for Supervisory Control And Data Acquisition the Modbus SCADA Addressing Map window will open Note that one of the variables D1 is already assigned from our previous network addressing example You will note that the other variables that are
3. Range ID Electrical Value in l 7017 block decimal set by using range 32768 132767 7000 Utility 8 10V piov QV OV 9 J t5V r 5V pv psv B 500mV 500mv OmV 500mv D 20mMA 20mA Jom 20MA User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 6 For additional information regarding any l 7000 and 1l 87xx module click on the function block and press the F1 key for an on line description with Technical Notes for the selected function block m ISaGRAF TEST TEST Quick LD Program File Edit Tools Options Help Ba xgs me xB kn aae FRAPE F3c3HE Fd Gel F5 4H Fe HE F7 JH F8 dl Fo toe ast G7024 Br l Technical notes E xl C function blocks i 87024 4 CH analog output i 87024 connect to extension modules i 8702724 to COM S3IA of Il 8xx7 controller channel 4 analog output eeeeeee SET 87024 to ENGINEER UNIT by 000 utility integer address of i 87024 1255 must be a constant valu M4 integer 4 analog output value User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 7 6 4 Redundant Bus7000 7188EG Rev 1 19 or above 7188XG Rev 1 17 or above amp I 841 7 881 7 8437 8837 Rev 2 27 or above support Redundant Bus7000 These configurations are listed as the following The Fbus Ebus are for exchanging data between the Redunda
4. window The Bus7000 function is considered a virtual board and must be selected from the Equipments section of the Select Board Equipment window The Bus7000 MUST be connected to slot number 8 or higher on the ISaGRAF I O Connection window since slot 0 through 7 are used to connect to real l 8000 boards Only one Bus7000 can be linked to one I 7188EG 7188XG amp I 8xx7 controller If you attempt to connect more than one Bus7000 to an l 7188EG 7188XG amp l 8xx 7 controller it will not work MIEEEEUTI dla Fie EM Tack Opin Hep lhus m i Mew gt Set az Fieldbus Master HE bus s 4 Hew Set as Fieldbus slave i Si leolated 16 CH DI amp 16 CH DU S54 imaina amp CH DiI amp 8 OH D Bs B CH DI amp 8 EH DU EMI EE IETE mazler Set a Fiekdluuz Marie mbus Modbus marier on COM er DOM d zlawe Sel og Fieldbus slave Kama Bo Analog Ls fos simulation Who m Holen Us hoi zemulaban xmcg wx Mszrags Ur Por zimulatiom Fie Ect Tools Options Helo amp ehwi in User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 3 The com port parameter can have a value of 3 for COM3 or 4 for COM4 This parameter defines which COM port ID the I 7188EG 7188XG amp l 8xx7 controller will communicate with the l 7000 I 87xx module The com baud parameter defines the baud rate that the l 8xx7 will communicate with the l 7000 87xx module The possible values are
5. The difference is typically that the other programs may assign a network address number that is one 1 less than that of the I 7188EG 7188XG amp 8xx7 controller system HMI or devices such as lconics Citech Wizcon Kepware s OPC server Intellution s iFix Wonderware s Intouch National Instruments Labview and ICP DAS s Touch 506 Touch 509 and Touch 510 do have the exact same addressing scheme as the l 8xx7 controller system Known addressing disparities include LabLink and Hitech HMI software programs and devices If you are assigning a network address of B hexadecimal of these products the l 8xx network address should be set to C A network address of 2 should be associated with a network address of 3 in the l 8xx7 controller system Another things mistaked very often is the first digit of the network address of many HMI softwares resprent the data type and Read Write authority not one part of the network address For example the network address relation between iFix and ISaGRAF is as below iFix Decimal 8xx Decimal 00001 R W Boolean 1 10010 Read Boolean B 10 31000 Read Word 1000 42101 R W Word 2101 User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 14 ICP DAS has not been able to test every possible HMI software program or hardware device that has Modbus addressing capability If you are trying to connect your HMI software program or hardware device with Modbu
6. ws FTPPro dj Microsoft Press j Acrobat Reader 5 0 JS Merosot Visual Studio 6 0 ki Crystal Reports Lj Mereseft web PUblshing 2B Diect inQ Cable A Morpheus FE rchesiz MSDN HelpDesk Sample Image Expert A NCS 49 InstalShield for Microsoft Visual C 6 US MetZero Internet gt iE internet Explorer Ly New Visio Drawing Kel uVisionz CS Norton AntiVirus Corporate Edition BE Matrikon OPC Explorer JS NT Service Toole gt LF microsoft access Qj Opte 22 k QE microsoft ActiveSync ae ss PEWINSPRO M Dx Microsoft Excel start 53 GS Gy Ww EA Placeware Snapshot Plug In KS Microsoft Outlook Once you have selected the 7000 Utility program the 7000 Utility window will open User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 1 i000 Utility File COM Port Search Run Terminal Help Searching for I 7000 8000 Modules Description Searching statys COM Fort cond 2 Address Brdeci rhe Baud Rate agno The 7000 Utility program will go out and attempt to link to any l 7000 and l 87xx modules that are plugged into an l 8xx7 controller system IMPORTANT NOTES Regarding l 7000 amp I 87xx Modules One 1I 7188EG 7188XG amp l 8xx7 controller can link up to a maximum of 64 I 7000 and I 87xx modules It is recommended though that you do not link more than 40 modules to a single I 7188EG 7188XG amp l 8xx7 controller Each l 7000 and I 87xx module MUST have it
7. 2400 4800 9600 19200 38400 57600 and 115200 You must make sure that the I 7188EG 7188XG amp I 8xx7 controller and the l 7000 l 87xx modules are all set to the same com baud value The host watchdog parameter enables or disables the watchdog function for the I 7000 and l 87xx module Setting the host watchdog parameter to a non zero value will enable the host watchdog feature The watchdog timer parameter defines the amount of time before a host watchdog will occur The value for the watchdog timer is defined in a hexadecimal value with the units defined in 0 1 second increments For example if the watchdog timer is set to a value of 1E the watchdog timer is set for 3 seconds If the watchdog timer value is set to 2A the watchdog timer is set for 4 2 seconds If the host watchdog feature is active and the watchdog timer is exceeded on I 7188EG 7188XG amp 8xx7 controller system it means the connection is break between the I 7188EG 7188XG amp l 8xx7 controller and l 7000 87xx modules the l 7000 l 87xx modules will go to a safe predetermined value There is an analog input channel available on the Bus7000 Remote virtual board This analog input channel will return a value equal to the currently set baud rate User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 4 6 3 Programming an 1 7000 Module To link any I 7000 and I 87xx module to the I 7188EG 7188XG
8. ISaGRAF Embedded Controllers 2002 V2 0 16 To read long word value of V1 is to read 2 words by using modbus function 3 please refer to section 5 1 Modbus address 0000 is associate with network address 1 of the variable Head 2 words Lu s los 90 Joo 00 o2 JercH erel I COE Rea NL RR Ans Slv j03 j04 vH vL vH JL jercH crcl Ww rN Highest word To write long word to V1 is to write 2 words by using modbus function 16 LL Z A 3 slv 10 00 00 joo 02 04 vH vL vH vL orcH orcL_ NN Oe N ee Ans slv 10 00 00 00 02 ercH crcL_ Highest Lowest word word To read write float 4 bytes is very similar to read write long word The difference is the variable should be declared as Real type and the next network address No should not be assigned to any other variable Rea Nome NoworkAddress Comment m Conversion oen inten sinters Input Cancel Qutput Next ont tee E L Previnus Extended There are much available HMI software on the market You don t need to care about the modbus protocol format Just be careful to assign the correct network address on ISaGRAF User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 17
9. amp I 8xx7 controller system the Bus7000 module MUST be opened first Once the Bus7000 is opened the 7xxx I 87xx function block can now be programmed and you can access all of the I O channels available from that function block and that data can now be used in a LD program NOTE You can declare all variables which connect to the I 7xxx 87xx function block as Internal attribution Example 1 Programming An I 7050D Module Address of I 76050D Connect well will return TRUE 8 D O channels of l ROS 7050D Can declared ae i 7 D I channels of l as Internal attribute 7050D Can be declared as Internal attribute Connect well will Address of return TRUE I 7041D 14 D I channels of l 7041D Can be declared as Internal attribute Note The above internal variables can be assigned with a network address to become Modbus variables Please refer to Chapter 4 User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 5 Example 3 Programming An l 7017 Module The Data Format Used Is 2 s Complement COM If connect well Address of return TRUE that l 7017 The 8 A I channels of l 7017 Can be declared as Internal attribute Note The above internal variables can be assigned with a network address to become Modbus variables Please refer to Chapter 4 The following table describes the scaling factor from an analog signal to an integer value
10. data from an I 8xx7 controller system Section 4 4 illustrates how to link a Touch 510 monitor to an l 8xx7 controller system 4 1 Declaring Variable Addresses For Network Access To make data from an I 7188EG 7188XG amp l 8xx7 controller system available to other software programs or HMI devices you must first declare the variable with a Network Address The variable must be declared with a network address number that is in the Modbus format The valid network addresses for an I 7188EG 7188XG amp l 8xx7 controller system is from 1 to FFF in hexadecimal 1 4095 Network address 5001 to 8072 is for word and integer arrays please refer to Section 4 5 Other software programs or HMI devices will access the I 7188EG 7188XG amp I 8xx7 controller information through these network addresses There are two methods available to declare a variable for network address access The first method is described below Open an ISaGRAF Programs windows and click on the Dictionary icon then double click on the variable to assign a network address number User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 10 SaGRAF ST_INTER Programs E File Make Project Tools Debug Options Help B gmenx OBO xe mk Soe ERLE 5T Example Using Internal Variables Begin Dictionary Note The value displayed MS CE Se here is always in Ups Uc Real T P a hexadecimal set to true at init
11. not yet mapped are displayed in the lower portion under the Variables Not Mapped portion of the Modbus SCADA Addressing Map window ullis SCADA mddri esiieg Pria Fie fot Options Heip OU MD Cod Fem inpet 63 CLIT1 Farid Cd pod Fi 1 OLTI Reni Cuipur z QUT3 Reni Cutpul 3 User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 12 To assign the other variable address click on an unassigned Map Segment number and then double click on the variable you want to assign to the address and the variable will automatically assign itself to the Map Segment File Edt Options Help Hap Segment 0000 0FFF gt D000 Reserved DA i Real Inout 31 D2 Real Input 2 Martables not mapped Booleans itegersmess Timers Messages D3 Real Input 3 OUTI Real Output 1 OUT Real Output 2 OUTS Real Output 3 User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 For human s thinking method network address represented in hexadecimal format is inconvenient and it increases the chance to make mistake Therefore it s better to change it to be represented in decimal format To do that is as following IMPORTANT NOTE REGARDING MODBUS NETWORK ADDRESSING The Modbus network address definition scheme is sometimes different between HMI devices and other software programs
12. Chapter 6 Linking l 7000 amp I 87xx Modules The l 7188EG 7188XG amp l 8417 8817 8437 8837 controller provides the capability to integrate with ICP DAS s l 7000 and I 87xx 87K4 87K5 87K8 87K9 series I O modules You must first make sure that the l 8xx7 I O libraries have been installed please refer to section 1 2 for Installing The ICP DAS Utilities For ISaGRAF and refer to Section 1 5 for connection instructions between the I 8xx7 controller system to the I 7000 and l 87xx series modules Complete manual resides at CD napdosNsagraf a000 english manuNUser Manual 8xx7 pdf Or can be download at http www icpdas com products 8000 isagraf htm 6 1 Configuring The l 7000 amp l 87xx Modules To begin configuration of the I 7000 and l 87xx series modules to the l 8xx7 controller system use the 7000 Utility program to set up the I 7000 and I 87xx modules i k Li t Qj Hardcore Visual Basic HIS The Sleuthhound Pro 3 2 Q3 HTML Help Workshop t S Total VB Tools US ImpulseStudio 3 0 t LS Turbo Setup Pro Js ISaGRAF 3 4 HCS Turbo PMAC Setup A Jase Software k C uso0 MMI Logitech Mouseware Ej Utrakde T Matrikon OPC e veLogk VBOpe j MCSD Training e mj VersionStamper H Microsngelo k Ej WebFerret FA Microcin HA Window Washer G Micro IDE k S Wini A Microsoft NET Framework SDK k ej WinRAR US Microsoft Developer Network kp wingip dej Microsoft Office Toots e ls
13. le z Parameter 1 000_en EN 7000 integer True Enable False Disable EM 7O Ql Return Q boolean Always return True Demo example for I 7188XG The demo project uses Configuration 1 and located at demo 48a amp demo 48b It can be download at ICP DAS s ftp site ftp ftp icpdas com pub cd 8000cd napdos isagraf 7188xg demo Demo example for I 7188EG The demo project uses Configuration 2 with Ebus and located at demo 51a amp demo 51b It can be download at ICP DAS s ftp site ftp ftp icpdas com pub cd 8000cd napdos isagraft 7 188eg demo Demo example for 1 8437 8837 The demo project uses Configuration 4 with Ebus and located at demo 49a amp demo 49b It can be download at ICP DAS s ftp site User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 9 Chapter 4 Linking To An HMI Program Via Modbus This chapter details how to make data from the I 7188EG 7188XG amp l 8xx controller system available to Human Machine Interface HMI programs This is a powerful feature that allows customers to create their own custom HMI programs and link them to the l 8xx7 controller system After you realize the material described in section 4 1 if you would like to use the 8xx7 controller as a Modbus or Modbus TCP IP I O you may refer to section 4 3 Additionally there are touch screen monitors provided by ICP DAS that support the Modbus protocol and these touch screen monitors can also access
14. nt Master amp Redundant Slave and the Fbus Ebus cable must be always working break is not allowed I 7188XG Redundant Master COM3 Bus7000 need a RS485 Xxxx board l 71 17188XG 0 Com2 Fbu i l 7000 l 7000 I 87K l 188XG Redundant Configuration 1 I 7188EG COM3 Bus7000 if using Fbus need a RS485 Xxxx board Redundant Master COM2 Bus7000 if using Ebus 17188EG 0 Com2 du l 7000 l 7000 l 87K or Ebus EHBBEG 0 Configuration 2 Redundant a 1 8417 8817 Redundant Master COM4 Bus7000 if using Fbus need a RS232 485 Conveter me l 7000 l 7000 l 87K Com3 PONS A pm Configuration 3 Hedundant Slave User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 8 l 8437 8837 Redundant Niasi COMA Bus7000 if using Fbus need a RS232 485 Convetor Ma cad CoMs Bus7000 if using Ebus kaa l 7000 l 7000 l 87K Com3 gl or Ebus Mundi Configuration 4 Hedundant Slave Operations Principle When the system is powered up the control right of Bus7000 belong to Redundant Master If Redundant Master is dead Power off Redundant Slave takes over the control right of Bus7000 If Redundant Master is alive from dead power up again it takes over the control of Bus7000 again User s control data is exchanging via Fbus or Ebus The 17000 en can be used to Enable Disable the control right of Bus7000 The system s default status is Enab
15. s own unique address to properly link to an controller Make sure to set the Checksum to disabled and make sure that all of the l 7000 and I 87xx modules are set to the same baud rate as the controller system 19200 baud by default When you receive any of the I 7000 series modules you will receive documentation called Getting Started With l 7000 Series Modules that provides instructions on how to properly configure these modules If you need assistance on changing the baud rate or checksum please refer to the Change Baud Rate amp Checksum section in the Getting Started With l 7000 Series Modules You can find all of the documentation on the CD provided with your I 7000 series module from ICP DAS in a file titled getstart pdf The l 7000 and I 87xx Analog Input type modules MUST have their data format set to 2s Complement This includes the l 7013 I 7016 l 7017 l 7018 I 7033 1 87013 l 8 017 and I 87018 analog input modules The l 7000 and I 87xx Analog Output type modules MUST have their data format set to Engineer Unit This includes the l 7021 l 7022 l 7024 1 87022 1 87024 and I 87026 analog output modules User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 2 6 2 Opening The Bus7000 Function To create a link between the I 7188EG 7188XG amp l 8xx7 controller and an l 7000 and I 87xx module you need to connect the Bus7000 function through the ISaGRAF I O Connection
16. s to an l 8xx7 controller system REMEMBER that you may have to offset the Modus addressing by 1 between these products so they will properly communicate with each other Developers who design and write their own software interface programs using Microsoft s Visual Basic or Visual C programming language should refer to Chapter 5 of this manual for more information on how to interface the Modbus protocol to these programming languages NOTE While talking to the l 8xx7 ONE Modbus frame cannot request more than 255 bits and also cannot request more than 125 words It should be divided into 2 or more requests to achieve it User s Manual Of The I 8417 8817 8437 8837 ISaGRAF Embedded Controllers 2002 V2 0 15 4 2 Read Write Word Long Word amp Float through Modbus Modbus protocol provides function 3 for reading multiple words while function 6 and 16 to write words Please refer to Chapter 5 for more information about the protocol The word defined in the Modbus protocol of I 7188EG 7188XG amp l 8xx7 controllers is like a signed short integer which occupies 2 bytes and range from 32 768 8000 in hexa to 132 767 7FFF in hexa It is normally used to describe the behavior of analog I O channels For examples the I 87017 I O board please refer to section 3 2 I 87017 Range ID Electrical Values on the channel decimal hexadecimal Range oO 8 default 9 SV boy B q500mv 500mv C 150mVv 150mV JomV

Download Pdf Manuals

image

Related Search

Related Contents

  Télécharger le PDF    USER MANUAL LED Moving Head    Beta 60, 90, 90 A, 90 X - Rapid Welding and Industrial Supplies Ltd  安川電機社製 MP コントローラ及び WAGO 750 PFC/FC  McAfee GroupShield™  MANUAL DE USUARIO - Char  

Copyright © All rights reserved.
Failed to retrieve file