background image

2   

Getting Started: 

PAC-5007(P)/5107(P)/5207/5307 Ver. 1.0, 07/2010     ICP DAS

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Demo Files: 

4.

 

Click the “Demo Files” icon to download the ISaGRAF demo program. 
You can download all the files in CD or FTP: 

PAC-5X07(P) CD-ROM:  \napdos\ISaGRAF\upac5000\demo  or 

ftp://ftp.icpdas.com.tw/pub/cd/8000cd/napdos/isagraf/upac-5000/demo/

 

 

FAQ 

5.

 

Click the “FAQ” icon to view the latest ISaGRAF frequently asked questions. 
You can also refer to:

  www.icpdas.com > FAQ > Software > ISaGRAF 

 

 
 

A.2  Using Modbus TCP/IP protocol to control ISaGRAF controllers with VB? 

 
1.

 

VB.net 2005 Demo program using Modbus TCP/IP protocol to control ISaGRAF 
controllers. Please refer to below website: 

www.icpdas.com > FAQ > Software > ISaGRAF Ver.3 (English)

 -

 051

 

 
2.

 

VB 6.0 Demo program using Modbus TCP/IP protocol to control ISaGRAF controllers. 
Please refer to below website: 

www.icpdas.com > FAQ > Software > ISaGRAF Ver.3 (English)

 -

 052  

 

 

3. Click “Manual” 

4. Click “Demo Files” 

5. Click “FAQ” 

Summary of Contents for I-8417

Page 1: ...f this product ICP DAS CO LTD reserves the right to change this manual at any time without notice ICP DAS CO LTD constantly strives to provide our customers with the most reliable and accurate informa...

Page 2: ...Short Message Service 1 5 1 10 Integrate with CAN CANopen Devices and Sensors 1 5 1 11 Connecting other Device via Modbus Master 1 6 1 12 GPS Applications ISaGRAF PAC plus I 87211W or GPS 721 1 7 1 1...

Page 3: ...ating a New ISaGRAF Project 4 3 4 1 4 Declaring the ISaGRAF Project Variables 4 4 4 1 5 Creating the Example LD Program 4 8 4 1 6 Editing the Example LD1 Program 4 9 4 1 7 Connecting the I O 4 12 4 2...

Page 4: ...started_manual htm Hardware Manual PAC 5x07 P CD NAPDOS uPAC 5000 document or ftp ftp icpdas com tw pub cd 8000cd napdos upac 5000 document ISaGRAF Resource on the Internet Newly updated ISaGRAF IO li...

Page 5: ...5207 5307 Ver 1 0 07 2010 ICP DAS 5 Performance Comparison Table of ISaGRAF PACs Please click on the link ISaGRAF Comparison Table or follow the below steps 1 www icpdas com 2 Click here to go to the...

Page 6: ...mption 2 W PAC 5x07D 5x07PD 2 5 W General Temperature Operating 25 C 75 C Storage 30 C 80 C Humidity 10 90 RH non condensing System CPU 80186 80 MHz 16 bit or compatible SRAM 768 KB Battery Backup SRA...

Page 7: ...controller Counter value 32 bit 500 Hz max Min ON OFF width must 1 ms Remote DI Counter All remote I 7000 I 87K DI modules support counters 100 Hz max value 0 65535 Remote High Speed Counter Optional...

Page 8: ...blocks MMICON LCD One of COM3 RS 232 in XW Board supports ICP DAS s MMICON The MMICON is featured with a 240 x 64 dot LCD and a 4 x 4 Keyboard User can use it to display picture string integer float...

Page 9: ...Yes 1 1 PAC 5107 PAC 5107P Yes Yes PAC 5207 Yes PAC 5307 Yes Yes All of the following applications are applicable to PAC 5x07 P D PAC The PAC 5007D is used in following diagram 1 2 Local Remote I O Ap...

Page 10: ...a Acquisition Auto Report System PAC 5x07 P can use UDP IP Client protocol to auto report acquisition data control data to local or to remote internet PC Server Advantage Each PAC in the different loc...

Page 11: ...3 1 5 Data Logger ICP DAS provides a freeware UDLoader exe to load the data stored in battery backup SRAM via RS 232 or Ethernet port 1 6 Modbus Converter of Remote I O Modules PAC 5x07 P can be a Mod...

Page 12: ...5x07 P can send or receive data to each other via the Ebus Ethernet or Fbus RS 485 communication mechanism on the same network 1 8 Send Email with an Attached File PAC 5x07 P can send Email with one a...

Page 13: ...mat such as Chinese English others Please refer to www icpdas com FAQ Software ISaGRAF Ver 3 English 111 PAC 5207 5307 has built in GPRS no external GSM GPRS modem required 1 10 Integrate with CAN CAN...

Page 14: ...ntegrate with other Modbus devices RS 485 RS 232 Note COM3 COM8 is optional from XW Board XW5xx I O expansion board PAC 5x07 P can plug one I O Expansion board inside the main box To install it user h...

Page 15: ...7 can support one I 87211W via COM1 RS 232 or I 87211W GPS 721 as RS 485 remote GPS I O For doing auto time synchronization and getting local longitude and latitude Please refer to www icpdas com FAQ...

Page 16: ...Wireless Solution ISaGRAF PAC plus ZB 2550P and ZB 2551P ZigBee to RS 232 485 Converters can apply wireless communication reduce the wiring cost and achieve the mission of remote I O control and data...

Page 17: ...install the ISaGRAF Workbench software you must install one of the following operating system Windows 95 Windows 98 Windows 2000 Windows NT Version 3 51 or Windows NT Version 4 0 Windows XP Vista or W...

Page 18: ...ed well Please execute the ISaGRAF CD_ROM Sentinel5382 setup exe for ISaGRAF 80 while Sentinel setup exe for other ISaGRAF version and then reset the PC again Note3 Since ISaGRAF 3 51 it is using USB...

Page 19: ...ASCII based text editor to open the isa ini file Locate the WS001 header in the file it should be at the top of the file Anywhere within the WS001 header portion of the file add the entry shown below...

Page 20: ...ed the ISaGRAF Workbench program IF NOT please refer to Ch 2 1 Step 1 before continuing There is a CD ROM supplied with each of the PAC 5x07 P PAC with the ICP DAS Utilities for ISaGRAF Please insert...

Page 21: ...ct COM1 RS 232 One PC HMI can only link to COM1 RS 232 port of one PAC 5x07 P COM1 RS 232 Pin Assignments For the ISaGRAF Workbench RS 232 communications to operate properly only the RXD TXD and the G...

Page 22: ...85 network has a unique NET ID COM2 RS 485 COM2 RS 485 Pin Assignments Note Please make sure each PAC 5x07 P on the same RS 485 network has distinct NET ID Refer to Section 3 4 to set the NET ID I 752...

Page 23: ...P PAC using the Ethernet port you must first setup the Ethernet port to properly communicate with the host PC PAC 5x07 P Set IP address Mask and Gateway Please refer to Section 3 9 PC First open an I...

Page 24: ...e information click on OK button and now you have configured your PC to communicate with the PAC 5x07 P through the Ethernet port Multi Clients Connection to PAC 5x07 P Each PAC 5x07 P has an IP addre...

Page 25: ...5000 Driver 5307 1 00 or download the zip file from website of http www icpdas com products PAC i 8000 isagraf link htm PAC 5307 ver 1 00 please extract the file 1 7188xw exe 2 7188xw f4 3 7188xw ini...

Page 26: ...ISaGRAF Embedded Driver 7 Press F4 to auto download the following files and reboot system autoexec bat isa5307 exe 5k090903 img Please Wait about 60 SEC to update ISaGRAF system and DO NOT Remove the...

Page 27: ...river Version PAC Settings 10 Type isa5307 p to see the current driver version PAC settings and instruction description Note 1 Please depend on the PAC model to type the instruction Ex isa5307 p Note...

Page 28: ...your PAC 5307 folder 4 Link COM1 or COM2 of your PC to COM1 of the PAC through a RS 232 cable If your computer has no COM1 COM2 or you use other COM like COM5 to link the PAC 5307 you can change the...

Page 29: ...to link the PAC 5307 you can change the C number in the first line of 7188xw ini file EX Using computer s COM5 to link to PAC 5307 You need to change C1 to C5 5 Switch the Init to ON then power it up...

Page 30: ...e following listed files under PAC 5307 folder CD Napdos ISaGRAF PAC 5000 Driver 5307 1 00 3 Run 7188xw exe in your PAC 5307 folder 4 Link COM1 or COM2 of your PC to COM1 of the PAC through a RS 232 c...

Page 31: ...s Slave 8 Exit the 7188xw screen else the COM1 COM2 is always in use 9 Switch the Init to OFF then power it up Important Notice If user wants to change COM1 back to a Modbus RTU Slave port again follo...

Page 32: ...g listed files under PAC 5307 folder CD Napdos ISaGRAF PAC 5000 Driver 5307 1 00 3 Run 7188xw exe in your PAC 5307 folder 4 Link COM1 or COM2 of your PC to COM1 of the PAC through a RS 232 cable If yo...

Page 33: ...8 300 9 600 0 1200 Set COM2 3 baud rate and define it as a Modbus RTU PB 20 29 set COM2 to Modbus Slave Port PB 30 39 set COM3 to Modbus Slave Port Ex Set COM2 as Modbus RTU Slave Port baud rate is 19...

Page 34: ...hrough a RS 232 cable If your computer has no COM1 COM2 or you use other COM like COM5 to link the PAC 5307 you can change the C number in the first line of 7188xw ini file EX Using computer s COM5 to...

Page 35: ...ask Type mask xxx xxx xxx xxx to set a new address mask Ex mask 255 255 0 0 9 Type gateway to see the current gateway address Type gateway xxx xxx xxx xxx to set a new gateway address Ex gateway 192 1...

Page 36: ...in your PAC 5307 folder 4 Link COM1 or COM2 of your PC to COM1 of the PAC through a RS 232 cable If your computer has no COM1 COM2 or you use other COM like COM5 to link the PAC 5307 you can change t...

Page 37: ...unique address NET ID and the same Baud rate included the PAC in this PAC 5x07 P PAC system The DCON Utility is a toolkit that helps user to search the I O network easily to configure and test the I...

Page 38: ...the related DIP Switch on the I 87K4 5 8 9 I O expansion unit For example change DIP 2 to ON and restart the power the I O module in the second slot will become initial state Note If you use I 87K9 or...

Page 39: ...ate to search Select multiple baud rate protocol or checksum options if you do not know the module s setting but it will take more serch time After selection click OK 2 Click Start Search to start the...

Page 40: ...ust click Setting to save the settings 4 You have completed the setting please adjust the DIP Switch to OFF position and restart the power Finally you can serch the module again to comfirm settings No...

Page 41: ...tributed Remote I O throughout the system Note You can link up to 64 pcs of I 7000 or I 87K series Remote I O modules to one PAC 5x07 P PAC You must remember to set each I 7000 and I 87K Remote I O mo...

Page 42: ...inds of application COM3 The COM3 of PAC 5x07 P is on the plugged XW Board XW5xx RS 232 with one XW503 XW504 XW board or RS 485 with one XW511 XW board or RS 422 with one XW507 XW board Multi Link One...

Page 43: ...x07 P can be used to interface with additional Human Machine Interface HMI devices such as touch screen displays ICP DAS provides a series of touch screen displays such as the Touch series This produc...

Page 44: ...o select the path of the backup file in Archiev Projects window 3 Select the project name you want to backup in Workbench field You can click Compress checkbox to compress the file 4 Click Backup to b...

Page 45: ...Getting Started PAC 5007 P 5107 P 5207 5307 Ver 1 0 07 2010 ICP DAS 3 25 3 16 Dimension Mounting for PAC 5x07 P Front View Back View Bottom View Top View Piggyback Mounting DIN Rail Mounting Unit mm...

Page 46: ......

Page 47: ...eforth referred as LD program we use PAC 5307 PAC plugged XW board XW107 Variable Declaration Name Type Attribute Description SW1 Boolean Input Input Switch 1 SW2 Boolean Input Input Switch 2 SHUT Boo...

Page 48: ...low 4 1 2 Creating an ISaGRAF Project Group Click the Select Program Group tool button then click New Group button Key in the name for the new group you wish to create then click on OK After press OK...

Page 49: ...the Create New Project then enter the name for the new project You can enter additional information for your project by clicking on the Edit Set Comment Text You will now see the name of the new proje...

Page 50: ...ill be used in the ISaGRAF program Declaring Boolean 1 Click Dictionary tool button 2 Click Booleans tab to declare the Boolean variable which required in program 3 Double click on the colored area be...

Page 51: ...ble Note Ensure that you have declared the proper attribute of the variable If you need to change the attribute just double click on the variable name to reassign it Using the same method described ab...

Page 52: ...m 1 Click Quick Declaration tool button 2 In the Numbering area From and To indicates the ordinal number of the variable Ex From 1 To 3 Digits indicates the number of digits to display Ex input 2 mean...

Page 53: ...d double click the colored area to open the Timer Variable window 2 Type TMR1 as the name Blinking Timer as the comment and set the attribute as Internal and Initial Value as T 1s Finally press Store...

Page 54: ...LD program Please follow the steps to start this process 1 Click the Create New Program button and the New Program window will appear 2 Type LD1 as the name The program name in this example Select th...

Page 55: ...m When you double click on the LD1 the Quick LD Program window will appear Please click Edit Insert Rung as shown below to insert a basic LD rung Or you could click the F2 Contact on the left tool but...

Page 56: ...tact as diagram below and click the Coil contact type tool button to set the attribute as Normal Close Click F7 Block on the right button to add a function block for timer on the right Double click th...

Page 57: ...wice to add two coil under the first one Now we are ready to specify the variables Double click the outside of CYCLE and the Select variable window appears Select the Timer and then specify the variab...

Page 58: ...he ISaGRAF kernel in their respective controller so that the ISaGRAF program operates properly The ICP DAS ISaGRAF PAC Series programmable automatic controller provides a powerful and flexible industr...

Page 59: ...n Important Notice 1 0 slot is reserved for I O expansion boards XW board inside the controller 2 For Remote I O modules you can use any slot and select the Equipments as bus7000 Connecting Input To c...

Page 60: ...Select the variable name that corresponds to the channel and click Connect button Finally click Close to close the window Remember to click the Save button after you completed the I O connection Impor...

Page 61: ...Make sure you have selected the following three necessary options in the Compiler Options window and press OK button to complete the setting 4 2 1 Compiling the LD Project Now you have selected the p...

Page 62: ...o simulate the program You can preview the operation result before downloading the program to the PAC 5307 PAC system After successfully compiling the example LD program click the Simulate tool button...

Page 63: ...7 2010 ICP DAS 4 17 In the Debug Programs window double click LD1 to open the Quick LD Program window You can see the LD program you have created 4 2 3 Running the Simulation Program When you open the...

Page 64: ...rve the simulation of the program 1 Click SW1 green button to set it as ON As diagram below For now the current can flow through the circuit from SW1 to SHUT It means the logic of the LD program would...

Page 65: ...iables window 5 Double click TMR1 to open Write Timer Variable window 6 Change t 1s to t 500ms in the Enter New Value field 7 Finally click Write button Now when you click on SHUT button green button...

Page 66: ...the Target Slave Number NET ID of the controller as 1 Default 1 If you connected multiple controllers in the same RS 485 network you must change the NET ID to be unique To change the NET ID please ref...

Page 67: ...click on the Debug button in the ISaGRAF Programs window as shown below OK If the connection between PC and PAC 5x07 P is all right you will see the following window OK Or If there is a previous prog...

Page 68: ...rify the COM Port settings 3 Refer to section 3 4 step 10 verify the NET ID Baud rate settings If the NET ID or Baud rate of PAC does not match the PC settings recommand you to refer the section 4 3 t...

Page 69: ...can observe the real time I O status from the ISaGRAF windows while you are running the example LD program First click on the I O Connection button in the Debugger programs window You can click the le...

Page 70: ...r logic program in real time and is also an excellent diagnostic tool for development and troubleshooting Though there are numerous steps involved in creating and downloading an ISaGRAF program each s...

Page 71: ...wnload Page for ISaGRAF Resource 1 First type the ICP DAS s web address http www icpdas com in the browser 2 Click the ISaGRAF SoftLogic PAC icon to get into the ISaGRAF website Manual 3 Click the Man...

Page 72: ...ISaGRAF frequently asked questions You can also refer to www icpdas com FAQ Software ISaGRAF A 2 Using Modbus TCP IP protocol to control ISaGRAF controllers with VB 1 VB net 2005 Demo program using M...

Page 73: ...for thermocouple inputs The innovative design makes the thermocouple measurement more accurate than the previous design 2 It supports voltage and current inputs The voltage input ranges can be 15mV to...

Page 74: ...er over Ethernet technology describes a system to safely transfer electrical power along with data to remote devices over standard category 5 cable in an Ethernet network It does not require modificat...

Page 75: ...ent Please refer to website for more information http www icpdas com Products PAC PAC 5000 IO Expansion boards or http www icpdas com products PAC up 5000 XW board_Selection_Guide htm Specifications X...

Reviews: