Home
User`s Manual of ISaGRAF Embedded Controllers
Contents
1. jew IL na Windows Objects For Help press Fl k 23 10 4 User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 26 By the same way as former create one another Toggle Switch however set all Device address to 2 and Switch style to Momentary Click on save to save the project Toggle Switch Obyect s Attribute General Shape Label Profile Fead address Attribute Switch style EFasyBuilder EBFril Window I0 ARS creen ff File Edit View Option Draw Farts eee Tools Window Help _ x rare EE gt me o Touch L se a Windows d Objects For Help press Fl fe 323 4 Fie E eu User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS We are going to design another window Click on Windows 11 then click and hold on the right button of the mouse and drag to Create EasyBuilder EBPril Window 10 Initial Screen Ble Edit View Option Draw Parts Library Tools Window Help 16 x pelk x Z saln B ole Font 16 F Tiaa BHAE TA 6 r m ye e T rs E l ouch at l e peoi Pelete 14 Bening Name iit Window No fi Start Pos X fo Y lo Sze Width 640 Height 480 Style Tracking C Monopoly M Clipping l Coherence security Level oo bae Ad Color M ern
2. M Filled Pattern color ES cancel User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 28 Double click on Window _011 EFasyBuilder EEF FE File Edit View en EER Tools Window Help la x KJEE Jalal SE gt l aag 4 Fa 10 Ty 11 Window _O11 Co For Help press F1 1 91 ay Windows Objects Create a change window Function Key as former method to change to Window No 10 and Labeled as BACK Create Function Key Object General Shape Label Description ENT s BS CLE ESC ASCII f Hard Copy Poti bites f Change Window f Return to Fror C Change Common Window Window we fo Popup Window f Close Window FasyBuilder EBPril Window 11 Window 011 HE ala ro E Luke EE _Mievr Upton Draw Earts Library Tools Window Help la x For Help pres Fl User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 29 Click on Set Word then set Device Type as 4x 4x is for short integer 4L is for long integer set Device address to 10 BIN and Set style to Set Constant and Set value 100 And then select the prefered shape and set label to Set to 100 EFasyBuilder EBFril Window 11 Window 011 EE Se SE View Option Draw Farts rae To
3. button The following window will be displayed Choose the correct COM No on your PC Normally is COM1 115200 bps Connect the RS232 download cable refer to section 4 4 between PC and Touch 510 PC Touch 510 Click on Jump To RDS first if OK you can see the screen of the Touch 510 will change and wait for project download Click on Download to start to download the MMI picture to the Touch 510 Easylvlanager COM 115200 bps Project Download Upload Complete Download Uploac EasyBuilder simulator DownLoad AN UpLoad Jump To RDS Jump To Application Jump To Touch Adjust Exit lf downloading is OK You may choose to click on Jump To Application or reset the Touch 510T and then connect another RS232 cable between Touch 510 and the I 8xx7 refer to section 4 4 Now you may touch each icon on the Touch 510 to test Have a good luck Touch 506L 506T 910T User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 35 4 5 Access To Word amp Integer Array Via Modbus User can use the below functions to read write word amp integer arrays inside the ISaGRAF project For more information about these functions please refer to Appendix A 4 ARY N R Read one integer 4 byte signed from an integer array ARY_N W Write one integer 4 byte signed to an integer array ARY W_R Read one word 2 byte signed from an word a
4. variable ISaGRAF ST_INTER Global booleans File Edit Tools Options Help CU BOO Ole wad XS Booleans lintegersiReals Timers Messages FB instances Defined words Name Attrib 8 Addr Comment MD hh a ae a lial mine yee 0000 4 Soyer aaa put 4 Real Input 3 a Real Output 1 Real Output 2 Real Output 3 utet rtp T T o ee D1 Real Input 1 P0005 input Ctalse 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 ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 2 ISaGRAF ST_INTER Programs a ici Fie Make Project Tools Debug ptions Help SMSO OBO exe Oe ASR Begin Dictionary HMHE ST Example Using Internal Variables ISaGRAF ST_INTER Global booleans oj xi File Edit Tools Options Help Booleans Name Quick declaration Modbus SCADA addressing map nstances Defined words Import text Omiment _ a Export text fReal input 1 Import troe False definitions Sort Renumber addresses i connection D1 tat Re Conversion tables pe fir Cross references When you click on Modbus SCADA Addressing Map SCADA is an indust
5. 1 4 2 If you are not familiar with the ISaGRAF programming recommended to review Chapter 2 Variables used in this example Name Type _ Attribute Network address OUTO1 Boolean Output 0001 b oS OUT02 Boolean Output 0002 b gt SS VAL1 000A 10 b SSS i O IO connection w SaGRAF TEST VO connection File Edit Tools Options Help a PSeam tL FAISE Lo a ref 10 4 1 amp OUTOT 2 2 OUTO2 E 3 i EJ 5 6 EJ show3led n E 14 12 kal After you finish this project compile and download it to the l 8xx7 controller User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 15 4 4 2 Program the Touch 510T The EasyBuilder 500 software can be used to designe many useful pictures for Touch 500 series This section illustrates a simple example to program a Touch 510T For more information about programming on the Touch series please refer to the user manual which is provided with the Touch series hardware Click on the Windows Start button then click on the Program button then click on the EasyBuilder EasyBuilder 500 button The following window will be displayed Select the proper model for your application EasyBuilder Welcome to EasyBuilder 500 i Ene Please select your model Click File New to create a new project EasvEuvilder EBFril Window 10 Ini
6. 1 2 Example aw ISaGRAF IO4LD 1 0 connection File Edit Tools Options Help Se pBeam tJ FASE o em i 8055 noua ef 11 DIE n nb me JT Aa SN tg ae oe eed r i i Xx 2 t i 6f01F wmi 87024 i 87024 Channel Close 4 Free aes 6 K4 Connect EB pushdkey Free Hext Previous Assign the linked Variable a network address No You may refer to section 4 1 Example ISaGRAF ST_INTER Programs y File Make Project Tools Debug ptions Help ANADO Dice ak Begin E ST Inter ST Example Using Riema variables File Edit Tools Options Help LL Quick declaration Import text Export text Import trueifalse definitions Sort Renumber addresses TO connection DI a Re Conversion tables 0005 fir Cross references User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS Compile amp download the project You may refer to section 2 1 3 amp 2 1 5 Note Make sure the Net ID is set to the proper No section 1 3 1 For l 8437 8837 make sure the IP and Mask address is well set appendix B The HMI can access to I O channels through the associated network address now User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 13 4 4 Linking l 8xx7 I 7188EG XG amp W 8xx7 To Touch 500 This section illustrates a demo program to link the l 8417 controller
7. Chapter 4 Linking Controllers To An HMI Program Note For communicating to W 8x47 8x46 via Modbus TCP IP protocol there are two Ethernet ports built in the W 8x47 8x46 controller please connect your PC HMI to W 8x47 8x46 s LAN1 port And please using NS 205 or NS 208 Ethernet switch This chapter details how to make data from the I 8xx7 I 7188EG XG amp W 8xx 7 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 controller system After you realize the material described in section 4 1 if you would like to use the l 8xx7 l 7188EG XG 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 data from an controller Section 4 4 illustrates how to link a Touch 510 monitor to an ISaGRAF controller system 4 1 Declaring Variable Addresses For Network Access To make data from an l 8xx7 I 7188EG XG amp W 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 Other software programs or HMI devices will access the controller information through these network addre
8. am New Frogram Name fem commons SS Language eMMe Saeki et j Style Begin Main program I Connect I O modules You may refer to section 3 1 Example ISaGRAF IOHLD Programs es igi xi D HSM ADO Far Oy 20S Segn E Hello Reset amp Set Each d ca PEN Control Outputs m IS GRAF ID4LD 1 0 connection PBPA tl FR g f PUSKA Aaa f w i A K iy Is a gt pushdkey E showdled Y i Name Of lo Nama Of Connected Geard Variables CO BOME Associated With Each V O Board User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 10 Declare Variables associated with the channels of connected I O modules You may refer to section 2 1 1 3 Example ISaGRAF SIMPLELD Programs Fie Make Project Tools Debug Options Help A Mea bet sXe Oe ABs SaGRAF SIMPLELD Global booleans Fie Edit Tools Options Help el Oe x Bd xa Booleans Inteqers Reals Timers Messages FB instances Defined words Mame Attrib Addr Comment File Edit Tools Options Help Narre Attrib Addr Comment Quick declaration au Sat ors ae eT TS a C Internal Constant l Retain Format Integer f Real Length User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS Link Variables to the associated channels of connected I O modules You may refer to section 3
9. e Fead address Device typ lox Device address Attribute Function Nox mal EasvEuvilder EBFril Window 10 Initial Screen EE File Edit View ption DaHa Font 16 l r ee a Windows Objects For Help press Fl k 26 12 4 User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS Tools Window Help _ amp x slam le zele 24 Click on Toggle Switch then set all Device Type to 0x all Device address to 1 and select Switch Type to Toggle EBasyBuilder EBPril Window 10 Initial Screen EE Ble Edit View Option Draw Parts Library Tools Window Help 16 x celal aele Slee lil la Ele gt ole General Shape Label Description Fead address Device type Attribute Switch style OM y Togole me ssa aa User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 25 By the same way as former to choose a prefered shape and label Create Tovgle Switch Gbyect General Shap M Use shape Use bitmap Font 16 Align Center ha Content M Tke label M Tracking EasvEuvilder EBFril Window 10 Initial Screen Ble Edit View Option Draw Parts Library Tools Window Help 16 x Jaa Ele AmE HE AAE K 6 re r
10. eate a new project You may refer to section 2 1 1 2 Example A 15aGRA4F Project Management File Edit Project Tools Options Help B Sm MS t 2 demo F oO LA iner control TP TOM TOF LD create new project od reset timer TSTART TSTOP ST QLD m demo_ m demo 03 Rwy system date amp time SYSDAT_R SYSDAT VY SYSTIM_R SY STIM m demo 04 Calculate empty cycle time TP 1 GLb m demos eee aj ff demo 06 a comet Wame C SimplelD 9 Reference S Author ICPC IO configuration Date Of Creatio none gt Yersion Numbe A 15aGRAF Project Management AN 10 File Edit Project Tools Options Help Set comment kext w io DemoPam I Toggle separator EE ontrol TP TON TOF LD Sore SS E Move up in list op and reset timer TSTART TSTOP ST LD EE Move down in list stem date amp time SYSDAT_R SYSDAT OW SYSTIM_F SY STIM SEBE F i ee ee I Le ee Tri A ee E n i Project comment text mm demo 05 BI mm demo O6 Project simpleld Reference sim e Author Comment A Simple LD Program J Date of creation 12 Version number 1 OK Al i Description D A User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 9 Create an empty program No logic need Example ImhaGRAF CREATION Programs File Make Project Tools Debug Options Help A CR S Miele 2 ee Create new progr
11. eed 115200 FLE time out constant ec 3 0 FLO block pack lo User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 17 Click on Text to add a text Select the prefered Color Font Align for the text and then enter the Content And then place it to the proper position A EFasyBuilder EBFril Window 10 Initial Screen EE Ble Edit View Option Draw Parts Library Tools Window Help 6 x 2 2 Ellas EE EE Gre Ao Font J32 Content og Welkome To Touch 510 a H EasyBuilder EBFril Window 10 Initial Screen Z Bile Edit View Option Draw Parts Library Tools Window Help 7 x BF BBE aes L se M pe m Windows Po d EL d Objects For Help press FI fe 235 i54 z User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 18 Click on Function Key to add a change window button Click on General then select Change Window and set Window No to 11 EasyBuilder EBPril Window 10 Initial Screen EE File Edit View Option Delal reate Function Key Object General Shape Label Description C ENT C ES C ELR C ESC C ASCH C Hard Copy Bi DMES hido C Return to Previo C Popup Window C Close Window JOG FS Window User s Manual Of ISaGRAF Embedded Contr
12. er Numerical Data with conversion Click on Numerical Data set Device Type to 4x Device address to 10 BIN Number of words to 1 No above Dec to 5 No below Decimal to 0 Input low to 32768 Input high to 32767 check Do conversion set engineering low to 10 engineering high to 10 Convert 32768 32767 to 10 10 And then select the prefered font EFasyBuilder EBFril Window 11 Window 011 EE Bile Edit View Option Draw Parts Library Tools Window Help lelx am ele A SEW ey LS Ga de u gt 4j E ies Create Numeric Data Object EN EEF General Numeric Font Description Pees a Fead address SE m ED Device type Device address No of words Create Numeric Data Object ES i n xiz General Numeric Font P 0 Decimal Hex C Binary C Mask t m4 float C Double float C Raw data display f Do conversion User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 32 Click on Numerical Input set Device Type to 4x Device address to 10 BIN Number of words to 1 Trigger Device Type to LB Trigger Device address to 9000 No above Dec to 7 No below Decimal to 0 Input low to 32768 Input high to 32767 And then selec
13. n 255 bits and also cannot request more than 120 words It should be divided into 2 or more requests to achieve it User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 6 4 2 Read Write Word Long Word amp Float through Modbus Modbus protocol provides function 3 and 4 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 8xx7 I 7188EG X amp W 8xx7 controllers is like a signed short integer which occupies 2 bytes and range from 32 68 8000 in hexa to 32 67 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 So SV MOV Bo 500mV_ 500mV OmV 500MV DO 20mA _ 20mA_ 0mA _ 20MA The long word defined in the Modbus protocol of 1 8xx7 I 7188EG X amp W 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 w
14. 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 ISaGRAF 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 l 8xx7 Decimal 00001 R W Boolean 1 40010 Read Boolean 10 31 000 Read Word 1000 421 01 R W Word 2 01 User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 5 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 Modbus to an I 8xx7 I 7188EG X amp W 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 I 8xx7 I 7188EG X amp W 8xx 7 ONE Modbus frame cannot request more tha
15. ollers Mar 2006 Rev 5 0 Copyright By ICP DAS 19 Click on Shape then select Use shape and the click on Shape library Create Function Key Object General Shape Label Select the prefered Shape library and then select one item and click on OK shape Library Shape library JAR 0 Untitled 2 Untitled 3 Untitled A Untitled 5 Untitled 6 Untitled 7 Untitled Background gt Select Lib a New Lib Unattach Lib Delete shape Place CANCEL User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 20 Click on Label then select the prefered Color Font Align and set Content to GOTO S11 and make sure Use label is selected Create Function Key Object Font 16 x State lo Tracking Click on Bit Lamp EasyBuilder EBPril Window 10 Initial Screen EE Ble Edit View Option Draw Parts Library Tools Window Help 16 x l0m e A oles elon eal ees elonlen Sa He come ru Lu a LEB LEL HEL BIRIT OJE F EES r m Windows C b d Objects Bit Lamp object H 3M 9 3 ER a Li User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 21 Click on General then select Device type to Ox 0x is for boolean variables then set Device addre
16. ols Window Help x AEE zel em 16 Tea A alaaa E EFasyBuilder EBFril Window 11 Window 011 EE File Edit View ption Draw Parts Library Tools Window Help x pem lees ai Il i clak alala H m Windows a Objects For Help press Fl H 275 Y 159 User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 30 Click on Numerical Data set Device Type to 4x 4x is for short integer 4L is for long integer Device address to 10 BIN Number of words to 1 No above Dec to 7 No below Decimal to 0 Input low to 32768 Input high to 32767 And then select the prefered shape EFasyBuilder EBFril Window 11 Window 011 EE Bile Edit View Option Draw Parts Library Tools Widow Help lelx B pees ija alala Ele A oe Font 16 HAERA a HL i u U ru wu EL MEL I SJE F Ejip za x E mee eate Numeric Data Object General Numeric Font mrs Wi Description fs OF Read address Device type Device address Mo of words Create Numeric Data Object Decimal C Hex Binary C Mask C Single float Double float Numeric Mo above Dec f Ho below Dec Input low 32768 User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 31 Now we are going to add one anoth
17. ord 2 bytes in the Mudbus 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 integersfreals V1 is assigned to a network address File Edit Tools Options Help a BOM ex d Xe If the network address 2 is not Booleans Integers Reals Timers Messages FB instances Defined words assigned to any other variable V1 Hame tt Addr Comment will occupy a long word 4 bytes in yI the Modbus transportation formate V2 V3 However if 2 is assigned to one V4 another variable V1 will only occupy y5 one word 2 bytes in the Modbus V6 transportation format Vi YE In this example V1 V2 V3 V6 V7 and V8 will occupy 4 bytes however i l V4 and V5 only occupy 1 word Lowest word in the Modbus User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 7 To read long word value of V1 is to read 2 words by using modbus function 3 or 4 please refer to section 5 1 Modbus address 0000 is associate with network address 1 of the variable Read 2 words L O Siv 03 Q0 00 jo0 02 _ crcH JercL SONS Siv j03 04 vH vb _ vH_ vb JercH crcl ROO NO A Highest word To write long word to V1 is to write 2 words by using modbus function 16 Yai __ slv 10 00 00 oo 02 04 vH _ vL VH VL orcH e
18. rcL_ we N A 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 Req Ans Req Integer Real Variable Comment Unit Conversion none Cancel Next CiReiain Previous Extended Attributes Internal standard C Input C Output C Constant 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 ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 8 4 3 Using I 8xx7 As A Modbus I O Or A Modbus TCP IP I O There are some configurations that the HMI software gathers the I O data from some called Modbus I O modules There I O modules scan each input channels and refresh the output channels when need Most of time there are no control logic inside these I O modules they are controlled by the HMI To fit such kind of usage the I 841 7 881 7 8437 8837 can be a Modbus I O module additionally the 8437 8837 can be a Modbus TCP IP I O module To do that follow the following procedures If you are not familiar with the ISaGRAF programming recommended to review Chapter 2 Cr
19. rial 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 not yet mapped are displayed in the lower portion under the Variables Not Mapped portion of the Modbus SCADA Addressing Map window Modbus SCADA addressing map a l xj File Edit Options Help Hap segment MHUMA gt Det esl Input 2 D3 Real Input 3 DUTI Real Output 1 OUT Real Output 2 OUTS Real Output 3 User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 3 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 Modbus SCADA addressing map Eo xfi File Edt Options Help Hap Segment 0000 0FFF 0000 Reserved Vartables not mapped _ Booleans integers Reals Timers Messages PDS Real Input 3 OUTI Real Guipia 1 OUT Real Output 2 OUTS Real Output 23 To assign continuous Network address to similar variables for example assigning No 1 to 5 for D001 to D005 please select those variable names and then click on Edit Map
20. rray Word and integer arrays built in the l 8xx7 I 7188EG I 7188XG amp Wincon 8xx7 controller occupy the same memory area please use them carefully Other softwares HMI OPC server running on the PC can access to these word and integer arrays via Modbus protocol The valid network address for these arrays is from 5001 to 8072 for I 8xx7 l 7188EG amp I 7188XG while 10 001 to 19 216 for the W 8xx7 and their relation is listed in below table For the l 8xx7 I 7188EG I 7188XG Network Address Decimal Word Array Integer Array 8002 8004 d A e ee ee po 8072 12256 For the W 8xx7 Network Address Decimal Word Array Integer Array 19216 36 256 Lo Note 1 Network address 1 to 4095 for I 8xx7 amp I 7188EG XG while 1 to 8191 for W 8xx7 can be defined by users please refer to Section 4 1 2 Modbus address in the physical transmission format is equal to Network address minus one please refer to Chapter 5 So the valid Modbus address for word amp integer arrays is from 5000 to 8071 for l 8xx7 I 7188EG XG and 10000 to 19215 for W 8xx7 User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 36
21. selected variable Modbus SCADA addressing map x File ERAN Options Help Map selected variable Variables not mapped Booleans IntegersiReals Timers Messages D001 boo2 boos D004 boos User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 4 For human s thinking way network address represented in hexadecimal format is inconvenient and it increases the chance to make mistake Therefore its better to change it to be represented in decimal format To do that is as following Modbus SCADA addressing map File Edit Options Help Map __Hexadecimal Segmen MAESE J5 00000 Reserved IMPORTANT NOTE REGARDING MODBUS NETWORK ADDRESSING The Modbus network address definition scheme is sometimes different between HMI devices and other software programs The difference is typically that the other programs may assign a network address number that is one 1 less than that of the I 8xx7 I 7188EG XK amp W 8xx7 controller system HMI or devices such as Indusoft Iconics Citech Wizcon Kepware s OPC server Intellution s IFix Wonderware s Intouch National Instruments Labview and ICP DAS s Touch 506L Touch 506T and Touch 510T do have the exact same addressing scheme as the I 8xx l 7188EG X amp W 8xx7 controller system Known addressing disparities include LabLink and Hitech HMI software programs and devices If you are assigning a network address
22. ss to 1 this value is associated with the network address value of the variable in the I 8xx7 And then set Function to Normal Create Bit Lamp Object La Shape Label escription Fead address Device type Ox Device address fi R Attribute Function AANE Create Eit Lamp Object General Shape Label Iw Use shape Eitmap libreare Use bitmap hape Library Bitmap Shape library 18 Untitled 19 Untitled 2 20 Untitled 2 21 Untitled 2 22 Untitled 2 23 Untitled Background Select Lib New Lib Unattach Lib Delete shape Place CANCEL User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 22 And then select Label given a OFF to Content for State 0 Make sure Use label is choosed Create Bit Lamp Object General Shape Label Attribute Color l ee 16 Alien Center State lo Content Tracking And then change State to 1 and given a ON to Content Make sure Use label is choosed Create Bit Lamp Object General Shape Label W Use label l Tracking User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 23 By the same way as former create one another Bit Lamp with a Device address 2 Bit Lamp Ghyect s Attribute General Shape Label Profile e
23. sses 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 Note 1 The valid network addresses for an I 8417 8817 8437 8837 amp l 7188EG XG 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 2 The valid network addresses for an W 8037 8337 8737 amp W 8047 8347 8747 controller system is from 1 to 1FFF in hexadecimal 1 8191 Network address 10 001 to 19 216 is for word and integer arrays please refer to Section 4 5 User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 1 ISaGRAF ST_INTER Programs B x File Make Project Tools Debug Options Help D RS 2 Ho Sxe mk az2ge PES Ee ST Example Using Internal Variables File Edt Tools Options Help Note Booleans integersMeals Timers Messages FB instances Detined words The value displayed Name Attra BR es CST here is always in U1 n ireti ILL reed inpui F hexadecimal Boolean Yariable Constant T set to tue at init Retain Previous When you click on the Store button you will see that ISaGRAF Global Variables window will now be updated with the new network address for the
24. t the prefered shape EFasyBuilder EBFril Window 11 Window 011 EE Bile Edit View Option Draw Parts Library Tools Window Help 16 x Dc e alee s l slam Ele gt e Font 16 HAERA e 73 Ez Te u i ru wu Bl m L BIRF ICIEIRIEEO b N General Numeric Shape Font Desorption Read address B IL r Device address 9000 Create Numeric Input byect Display A Decimal C Hex C Binary C Mask Single float C Double float General Numeric Sh Faw data display C Do conversion Numeric No above Decs f nput low 32768 No below Dec 0 Hiato Input high User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 33 Click Tools Compile to compile this project EFasyBuilder EBFril Window 11 Window 011 EE Eile Edit Wiw Option Draw Parts Library Tools Window Help l x aml elo all a Maala Compile On line Simulation Off line gumulation Download Projectname GAEBs00 Project testl epj Compile file name EB300 Projectitest eob User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 34 To download the project to the Touch 510 click on the Windows Start button then click on the Program button then click on the EasyBuilder EasyManager
25. tial Screen aanl Sle A OB El stat m cales EA s BA EE i ee a Ose ae Save Ctl S Save AS 1 test epj 2 EBPril epy 3 CSEBSOO TiPrejectitest ep 4 CAEBSOO TiProjectitest2 epy e m slolol lerlain r BER ps u Ll d Create a new document X SE E n at User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 16 Click Edit System Parameters to set the communication parameter between the Touch 510 and the ISaGRAF controller WHdow OPY EasyBuilder creen lolx EF File Bait neie Cid ary Tools Window Help lej x neaj gE ala elel Al ole T Font 16 a a FEE EEE E A Align Ta ks Mlake Same Size Flip vertical Flip Herteontal Rotate Sl degree eh HA 1 rong nitro Redraw Window Select All Objects Select Select Went abject hange Attribute Lay System Parameters E 145 Y 30 a H ee lil T RP ED r PLC type should be set to MODBUS RTU Serial port set to RS232 Data bits set to 8 Bits Stop bits set to 1 Bit Baud rate set to 19200 Parity set to None PLC station No set to be equal to the Net ID of the I 8xx7 set to 1 in this example EIS Stop bits Bit a 0 r HMI station No PLC station Nok I y C Multiple HMI Disable HII HMI link sp
26. to a Touch 510T HMI Software Installation EasyBuilder 500 Please download its newly toolkit amp Manual at http www icpdas com download others touch touch htm setup zip or run CD ROM napdos others touch 500series setup setup exe V2 52 or later Note Please always install it to c EB500 the default path The cable to link PC to the Touch 506L 5061T 510T has pin assignment as following It can be used to download the designed MMI picture from the PC to the 506L 506T 510T PC 9 Pin RS232 TXD 2 RXYp3 SS GND 5 T510T PC 232 8 TXD 7 RXD 5 GND Cable Pin Assignment l 8000 COM1 amp l 7188 COM1 RS232 9 Pin Dsub Male 2 TXD T510T T506L 506T After the Touch 510T has been programmed a MMI picture another cable should be used to link the Touch 510T to the l 8xx7 l 7188EG XG amp W 8xx7 controller Touch 506T 506L 510T PLC 232 9 Pin Dsub Male ee En 3 RXD 5 GND Wincon COM2 RS232 9 Pin Dsub Female 2 RXD 3 TXD 5 GND User s Manual Of ISaGRAF Embedded Controllers Mar 2006 Rev 5 0 Copyright By ICP DAS 3 RXD 5 GND 7CIS 8 RIS Touch 506T 506L 510T PLC 232 9 Pin Dsub Male 2 TXD 3 RXD 5 GND 7 CTS 8 RTS 14 4 4 1 Program the I 8xx7 I 7188EG XG amp W 8xx7 To make data of the I 8xx 7 I 7188EG XG amp W 8xx7 controller to be accessible to the Touch 510T variables in the controller should be assigned a network address Please refer to section 4
Download Pdf Manuals
Related Search
Related Contents
Littérature au cycle 3 Fiches_Physique_files/Atelier Scientifique Edbak SAP2 Gibraltar Mailboxes RSKB0000 Instructions / Assembly Master 4 zones 230VAC for NC actuators Copyright © All rights reserved.
Failed to retrieve file