background image

 

VP-2117 Getting Started, Apr. 2010, V1.0

 

4-15 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Important Notice

:   

 
1.  I/O Slots 0 through 7 are reserved for REAL I/O boards that will be used in the 

ViewPAC.  You can use slot No. 8 and above for additional functionality. 

 
 
 

4.2  Compiling & Simulating the Example Project 

For  ANY  AND  EVERY  ISaGRAF  program  to  work  properly  with  any  of  the 
ISaGRAF  PACs  (ISaGRAF 

μ

PAC,  iPAC,  WinPAC,  ViewPAC...)  controller 

systems,  it  is  the  responsibility  of  the  programmer  to  properly  select  the 
correct 

Dz

Compiler  Options

dz

.  You  MUST  select  the 

Dz

ISA86M:    TIC  Code  For 

Intel

dz

 option as described below. 

 

First, click on the menu bar 

Dz

Make

dz

 > 

Dz

Compiler options

dz

 as shown below. 

 
  
 
 
 
 
 
 
 
 
The 

Dz

Compiler Options

dz

 window will now appear.  Make sure to select the options 

as shown below then press the 

Dz

OK

dz

 button to complete the compiler option 

selections.  
 
 
 

1. 

2. 

3. 

4. 

5. 

ГК

 

Атлант

 

Инжиниринг

 – 

официальный

 

представитель

 

в

 

РФ

 

и

 

СНГ

 

+7(495)109-02-08 [email protected] www.bbrc.ru 

Summary of Contents for ISaGRAF VP-2117

Page 1: ...of 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 inform...

Page 2: ...7 1 13 Fast FRnet Remote I O 1 8 1 14 ZigBee Wireless Solution 1 9 Chapter 2 Installing Software 2 1 2 1 Step 1 Installing the ISaGRAF Software 2 1 2 1 1 The hardware protection device dongle USB Key...

Page 3: ...eating An ISaGRAF User s Group 4 2 4 1 3 Creating a New ISaGRAF Project 4 2 4 1 4 Declaring the ISaGRAF Project Variables 4 3 4 1 5 Create the LD LD1 Program 4 8 4 1 6 Edit the LD1 Program 4 9 4 1 7 C...

Page 4: ...cd napdos vp 2000 document vp_2111_user_ manual_v1 01 pdf Resource on the Internet Newly updated ISaGRAF IO libraries drivers and manuals can be found at http www icpdas com products PAC i 8000 isagra...

Page 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 ISaGRAF page 3 Comparison Table 7 4...

Page 6: ...s data retention support up to 1024 retain variables Flash 512 KB 100 000 erase write cycles Flash Disk 64 MB NAND Flash 100 000 erase write cycles NVRAM 31 bytes battery backup data valid up to 5 yea...

Page 7: ...re support 1 Hz 100 KHz non continuous duty 0 1 99 9 DO Module as PWM 8 ch max for one controller 500 Hz max for Off 1 On 1 ms Output square wave Off 1 32767 ms On 1 32767 ms Optional DO boards I 8037...

Page 8: ...hort Message Service One of COM3 or COM5 in multi serial port board can link to a GSM Modem to support SMS User can request data control the controller by cellular phone The controller can also send d...

Page 9: ...Profile I 87K I O Ability 64 bit Hardware Serial Number for Software Protection IP65 Compliant Front Panel MMI Man Machine Interface STN 128 x 64 Dot Matrix LCD English Simplified Chinese or English...

Page 10: ...I O Users can choose RS 485 Remote I O modules I 7000 M 7000 or expansion units RU 87Pn I 87Kn plugged with I 87K high profile I O modules With Modbus TCP IP protocol up to 6 PCs can link to one VP 2...

Page 11: ...Ethernet RS 485 VP 2117 can support Ebus Ethernet and Fbus RS 485 1 5 Active Control Data and I O Acquisition Data Reporting System For more information please refer to www icpdas com FAQ Software ISa...

Page 12: ...ion VW Sensor For more information please refer to www icpdas com FAQ Software ISaGRAF Ver 3 English FAQ 091 1 7 Modbus Converter of I 7000 I 87K I O VP 2117 can be a Modbus RTU serial TCP IP converte...

Page 13: ...asks for the ISaGRAF PAC via his personal cellular phone In addition the PAC can also send information and alarms to user s cellular phone One I 8091W can control 2 axis X Y plane or 2 axis independen...

Page 14: ...5 in multi serial port board can support Modbus RTU Master or ASCII Master Protocol to connect to other Modbus Slave devices NOTE When the I 8112iW 8114W 8114iW 8142iW 8144iW expansion board plugged C...

Page 15: ...or more information please refer to www icpdas com FAQ Software ISaGRAF Ver 3 English FAQ 067 1 12 Integrate with CAN CANopen Devices and Sensors For more information please refer to www icpdas com FA...

Page 16: ...2117 Getting Started Apr 2010 V1 0 1 8 1 13 Fast FRnet Remote I O For more information please refer to www icpdas com FAQ Software ISaGRAF Ver 3 English FAQ 082 7 495 109 02 08 sales bbrc ru www bbrc...

Page 17: ...P and ZB 2551P RS 232 RS 485 Converters can apply wireless communication reduce the wiring cost and achieve the mission of Remote I O control and data acquisition For more information please refer to...

Page 18: ...7 495 109 02 08 sales bbrc ru www bbrc ru...

Page 19: ...ms must be installed on the target computer system before you can install the ISaGRAF Workbench software program Windows 95 Windows 98 Windows 2000 Windows NT Version 3 51 or Windows NT Version 4 0 Wi...

Page 20: ...of IO variables 32 it means ISaGRAF workbench cannot find the dongle well Please reset your PC and then check the Help About again If it still displays Maximum number of IO variables 32 the driver ma...

Page 21: ...Notice for Window NT Users If your computer is using the Windows NT operating system you will need to add one line to the isa ini file in the ISaGRAF Workbench EXE subdirectory C ISAWIN EXE isa ini Y...

Page 22: ...1 before continuing There is a CD ROM supplied with each of the VP 2117 PACs with the ICP DAS Utilities for ISaGRAF Please insert the CD ROM into your CD ROM drive Then run CD ROM napdos isagraf setu...

Page 23: ...een At first the screen shows NET ID 001 you can press to change to the maximum 255 In general you can press to increase or press to decrease the ID number then press to save the setting After complet...

Page 24: ...0 baud rate 8 data bits no stop bits and one parity bit 19200 8 N 1 The RS 232 pin assignment is defined as follows For the ISaGRAF Workbench RS 232 communications to operate properly only the RxD TxD...

Page 25: ...117 is that you can configure an RS 485 network from one PC to link to numerous VP 2117 PACs The PC can download ISaGRAF applications to each PAC on the RS 485 network The maximum number of PACs that...

Page 26: ...M1 COM2 COM3 s baud rate Non Modbus Slave Port First power off the VP 2117 PAC then press and hold on the F1 and F6 button and then power it up In the setup mode you will see Change the Selection and...

Page 27: ...7600 115200 300 600 COM2 COM3 are not Modbus Slave COM2 1200 2400 4800 9600 You can press or to change the selection If you change the selection to COM2 COM3 are not Modbus Slave mean that you want to...

Page 28: ...o switch to the Deleting An ISaGRAF Project screen and then press to enter the setup screen Press to confirm the deletion at this point you will receive the Deleted Project screen After deleting the I...

Page 29: ...ess On your PC Please open an ISaGRAF project and select the program you want to download to the VP 2117 controller and then press the Link Setup button on the project screen as shown below A PC PLC L...

Page 30: ...n communicate with the VP 2117 PAC via Ethernet successfully Please click on Debug to connect the controller As follows diagram the program is running now if you receive a No application running means...

Page 31: ...am below The Ethernet Port of the VP 2117 PAC supports Modbus TCP IP Slave protocol They can be linked by ISaGRAF Workbench or by HMI devices or by SCADA software As diagram below The Modbus TCP IP pr...

Page 32: ...4 Power off the VP 2117 PAC change the DIP switch on the left side of control panel to the Init and then power it up 5 If the connection is OK the VP 2111 messages will appear on the 7188xw screen If...

Page 33: ...1 to setup a new gateway address 10 Please press ALT_X to quit the 7188xw window to avoid COM1 COM2 has been occupied 11 Change the DIP switch on the left side of control panel to Run and then reboot...

Page 34: ...he CD_ROM into your vp2k folder 3 Run vp2k 7188xw exe in your hard drive A 7188xw screen will appear Press F1 for help 4 Link COM1 or COM2 of your PC to COM1 of the PAC through a RS 232 cable CA 0915...

Page 35: ...he following files and reboot system isa_data exe AUTOEXEC BAT ISA_VP EXE vp_20090612 img 3 By now the PAC already reboots and you have updated successfully 4 Press ALT X to quit 7188xw to avoid COM1...

Page 36: ...kup 4 and then click on the Backup button The ISaGRAF project file will be backed up to the path Ex C Demo example1 pia you designated Note You can compress the size of the file you have backed up by...

Page 37: ...nfigure and test the I O modules For DCON Utility program and manual please reach to http www icpdas com products dcon introduction htm or www icpdas com Products Software DCON Utility NOTE 1 Make sur...

Page 38: ...CON Protocol The initial state after initialization table 2 I O Module 7000 series I 7000 and M 7000 87K series Address 0 0 Baud rate 9600 115200 Checksum Disabled Disabled Protocol DCON Protocol DCON...

Page 39: ...r Checksum conditions if you do not know the module s setting but it will spend more time to scan the network After selection click OK 2 Click Start Search icon to begin search module Step 4 Click Sea...

Page 40: ...connect INIT to GND Ex I 7000 or change the DIP switch to ON Ex I 87Kn and then click Setting button again In this screen you have completed the settings please disconnect the INIT and reboot the pow...

Page 41: ...I 7520R s RS 232 Port and for each I O modules also connect its DATA to the DATA signal and the DATA to the DATA signal As below diagram You can link up to 64 I 7000 or I 87K series remote modules to...

Page 42: ...her devices Each device on the link must have a unique NET ID 1 255 address and communicate at same baud rate settings If COM1 RS 232 is used you can only link one VP 2117 to ONE other Modbus device T...

Page 43: ...ted in Section 4 4 2 CD ROM napdos others touch manual touch200_link_to_i8xx7_7188eg_7188xg pdf and touch500_link_to_i8xx7_7188eg_7188xg pdf If you are using any of the Touch series of MMI devices Ex...

Page 44: ...RS 485 Expansion Module Please refer to http www icpdas com products PAC i 8000 8000_IO_modules htm Note These N Port COM boards can be plugged into slot 0 2 That means user can use only COM5 to COM1...

Page 45: ...VP 2117 Getting Started Apr 2010 V1 0 3 23 3 18 Pin Assignment of Communication Ports 7 495 109 02 08 sales bbrc ru www bbrc ru...

Page 46: ...VP 2117 Getting Started Apr 2010 V1 0 3 24 3 19 Dimension Unit mm 7 495 109 02 08 sales bbrc ru www bbrc ru...

Page 47: ...ed SaGRAF ICP DAS Utilities for ISaGRAF please go back to read chapter 2 This example contains one LD program The demo is stored in CD ROM napdos isagraf vp 2117 demo Variables declaration Name Type A...

Page 48: ...p then enter the name for the new user s group you wish to create ex Test and last click on OK After click OK the group name will show as below please click Select to get into this group 4 1 3 Creatin...

Page 49: ...w project name in the Project Management window Double click on the new project name ex example1 to open the project 4 1 4 Declaring the ISaGRAF Project Variables Before you can start creating an ISaG...

Page 50: ...ame entry box 5 Enter the notes for the variable ex Enable this LCD_STR function block in Comment entry box 6 Select the Internal as the variable attribute in Attributes items 7 Press the Store button...

Page 51: ...the variable name ex Mode in Name entry box 2 Select the Internal as the variable attribute in Attributes items 3 Enter the initial value as 1 in Initial Value entry box 4 Press the Store button to s...

Page 52: ...open Timer Variable window 1 Enter the variable name ex T1 in Name entry box 2 Select the Internal as the variable attribute in Attributes items 3 Enter the initial value as T 1s in Initial Value ent...

Page 53: ...he variable name ex STR_ in Name entry box 2 Select the Internal as the variable attribute in Attributes items 3 Enter the string as ICPDAS VP 2117 in Init entry box 4 Press the Store button to save i...

Page 54: ...w Program and the New Program window will appear 2 Enter the program name ex LD1 in Name entry box 3 Select Quick LD Ladder Diagram in Language drop down menu 4 Select Begin Main Program in Style drop...

Page 55: ...appear You can click on the menu bar Edit Insert Rung or click on the tool button F2 Contact On The Left as below We are going to write the first line of the LD1 program Move the cursor to the contact...

Page 56: ...ionality Double click the Contact and select Boolean in upper right corner of the Select variable window and then double click on Run to assign it as the variable of Contact As below figure double cli...

Page 57: ...as the value of location As below figure double click the left side of STR_ to open the Select variable window When you select the Message you can see the name of string variable Double click the STR...

Page 58: ...e click the left side of MODE_ to open the Select variable window MODE_ indicates the display mode of String range 0 3 Mode 0 Do not display the string Mode 1 Display the string Mode 2 Highlight the s...

Page 59: ...ing variable Double click the T1 to assign it Double click the right side of Q_ to open the Select variable window Q_ indicates the status of LCD_STR When you select the Integer Real you can see the n...

Page 60: ...t LCD features Last click OK to finish the setup As below figure you can use the lcd_init to change the LCD backlight brightness Click on lcd_bri and double click on lcd_bright to setup the default br...

Page 61: ...ny of the ISaGRAF PACs ISaGRAF PAC iPAC WinPAC ViewPAC controller systems it is the responsibility of the programmer to properly select the correct Compiler Options You MUST select the ISA86M TIC Code...

Page 62: ...y created the example program If errors are detected during the compilation process just click on the Continue button to review the error messages Return to the Project Editor and correct the errors a...

Page 63: ...SaGRAF Debug Programs window double click on the LD1 to open up the ISaGRAF Quick LD Program window as below and you can see the LD program you have created Running the Simulation Program You can clic...

Page 64: ...S 232 way Wiring the Hardware To begin this process please install the hardware as below The RS 232 cable wiring should be as below figure Setup Link Parameters Click on Link setup tool button in the...

Page 65: ...ebugger says Disconnected it means that the development PC and the controller system have not established communications with each other The most common causes for this problem is either the serial po...

Page 66: ...hile you are running the example project One of the windows is the I O Connections window which shows each of the inputs and outputs as assigned As below click on the I O Connections icon in the ISaGR...

Page 67: ...also click on Dictionary to see the real time variable state Another VERY helpful window you can open is the Quick LD Program window From this window you can observe the LD program being executed in r...

Page 68: ...7 495 109 02 08 sales bbrc ru www bbrc ru...

Page 69: ...st 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 Manual icon to download the related ISaGR...

Page 70: ...n 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 c...

Page 71: ...k OK Now io_state will display the operating status of modules on slot 0 7 If the I O card is functioning normally a message True will be displayed If there is something wrong or no I O card currently...

Page 72: ...on power There are two ways to retrieve Dual battery power status on VP 2117 A Check the current power status when the system boots up Power off your VP 2117 Press and hold the F5 button on the front...

Page 73: ...ve 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 2 5V The current input ranges can b...

Page 74: ...wide power input range 10 30 VDC and operating temperature 25 75 It simplifies installation and maintenance of I O modules with hot swappable and auto configuration fault and error detection dual wat...

Page 75: ...The basic configurations includes station number baud rate are set by the rotary and DIP switch The operator can use only one screwdriver to set the RU 87Pn And there are several LED status indicators...

Reviews: