background image

3-10   

Getting Started: 

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

 

3.7  Set COM1 to Non-Modbus-Slave for μPAC-5x07(P)  

 
The COM1 of μPAC-5x07(P) supports Modbus RTU Slave protocol by default. User can 
free it as a Non-Modbus-Slave port for other usage.  For example, user may write his 
own defined protocol on COM1 or use COM1 as a Modbus Master port. 
 

Related Files & Hardware Connection: 

(We use 

μPAC-5307

 as an example)

 

 
1.

 

Create a file folder named "μPAC-5307" in your hard drive.  (Ex. "c:\ μPAC-5307") 

 

2.

 

Copy the 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 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 link to μPAC-5307. You need to change C1 to C5. 

 
 
 
 
 
 
 
5.

 

Switch the “Init*” to “ON” then power it up. 

 

6.

 

If the connection is OK, “uPAC-5001>” messages will appear on the screen. 

 
 
 
 
 
 
 

C1

 B115200 P0 D8 S1 

F  
Xautoexec.bat Xisa5307.exe  
w25 

C5

 B115200 P0 D8 S1 

F  
Xautoexec.bat Xisa5307.exe  
w25 

PC/HMI 

RxD 
TxD 
GND 

PWR1 
P.GND 

CA0910 

              OFF 

 
 
 
 

 ON 

 
 
 

Содержание ISaGRAF mPAC Series

Страница 1: ...ce 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 information possible regarding our products However ICP DAS CO LTD assumes no responsibility for its use or for any infringements of patents or other rights of third parties resulting from its use Tradem...

Страница 2: ...MS 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 13 ZigBee Wireless Solution 1 8 Chapter 2 Software Programming 2 1 2 1 Step 1 Installing ISaGRAF Software 2 1 2 2 Step 2 Installing ICP DAS Utilities for ISaGRAF 2 4 Chapter 3 Hardware System Setting...

Страница 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 Step 4 Compiling Simulating the Example Project 4 15 4 2 1 Compiling the LD Project 4 15 4 2 2 Simulating the LD Project 4 16 4 2 3 Running the Simulation Program 4 17 4 3 Step 5 Debug Download the Ex...

Страница 4: ...ting_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 libraries drivers demo and manuals can be found at http www icpdas com products PAC i 8000 isagraf htm Industrial Ethernet Switch NS 205 NS 208 NS 205PSE Best choice for Industrial Ethernet Communi...

Страница 5: ...P 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 ISaGRAF page 3 Comparison Table ...

Страница 6: ...onsumption 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 SRAM 512 KB Data valid up to 5 years max 1024 retain variables FLASH 512 KB 100 000 erase write cycles microSD Expansion Yes ISaGRAF doesn t support NVRAM 31 bytes Battery backup data valid up to 10...

Страница 7: ...e 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 I 87082 100 kHz max 32 bit Protocols Modbus RTU ASCII Master Protocol Up to 2 COM Ports COM1 COM2 and COM3 in XW Board support Modbus RTU ASCII Master protocol to connect to other Modbus Slave I O d...

Страница 8: ...on 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 and input a character string integer and float Redundant Solution Two PACs plug with XW107 in slot0 One is Master one is Slave Master handles all inputs outputs at run time If Master is damaged or p...

Страница 9: ...es 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 Application Advantage of using RU 87P4 P8 I 87K I O modules Hot Swap Auto Configuration at Run Time Plug Play at Run Time NOTE RU 87Pn support only High profile I 87K I O module There are several X...

Страница 10: ...ta 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 location doesn t require a fixed Internet IP Please refer to www icpdas com FAQ Software ISaGRAF Ver 3 English 065 ...

Страница 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 Modbus RTU Serial and TCP IP converter of I 7000 I 87K series I O modules ...

Страница 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 attached file via Ethernet Port The maximum file size is about 488K bytes and one Email can send to 10 receivers at one sending ...

Страница 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 CANopen Devices and Sensors μPAC 5x07 P supports max 3 I 7530 RS 232 to CAN converters Please refer to www icpdas com FAQ Software ISaGRAF Ver 3 English 86 ...

Страница 14: ...integrate 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 has to loosen the screw remove the shell of μPAC 5x07 P and then plug in the XW board Please refer to below web for new products http www icpdas com products PAC up 5000 XW board_Selection_Guide htm ...

Страница 15: ...07 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 Software ISaGRAF Ver 3 English 107 GPS Receiver www icpdas com Products Wireless GPS receiver Note μPAC 5107 P μPAC 5307 has built in GPS function ...

Страница 16: ...e 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 acquisition Please refer to www icpdas com FAQ Software ISaGRAF Ver 3 English 110 ...

Страница 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 Windows 7 Please refer to www icpdas com FAQ Software ISaGRAF Ver 3 Chinese 117 Steps to Install the ISaGRAF Workbench 1 Insert the ISaGRAF Workbench CD into your CD ROM drive If your computer does no...

Страница 18: ...led 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 protection key To make your PC recognize the ISaGRAF USB protection key please un plug the USB key from your USB port first then run Sentinel SSD5411 32bit exe in the ISaGRAF 3 51 3 55 CD ROM after y...

Страница 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 WS001 NT 1 Isa C ISAWIN IsaExe C ISAWIN EXE Group Samples IsaApl C isawin smp IsaTmp C ISAWIN TMP Important setting for using variable arrays Please add two more lines on the top of the c isawin exe ...

Страница 20: ...led 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 the CD ROM into your CD ROM drive Then run CD ROM napdos isagraf setup exe Follow the steps to install it If ICP DAS Utilities for ISaGRAF is not in your CD ROM please refer to website of http www ic...

Страница 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 GND signals are used If your PC is running a hardware device or software program that uses the RTS and CTS signals then you will need to wire the RTS CTS signals together PC HMI 9 Pin D Sub RxD 2 TxD ...

Страница 22: ...5 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 7520R RS 232 485 Converter RS 232 COM2 RS 485 19200 8 N 1 NET ID 1 ID 2 ID 3 μPAC 5x07 P PC HMI PC HMI RS 232 I 7520R RS 232 485 Converter COM2 RS 485 D D μPAC 5x07 P COM2 RS 485 D D μPAC 5x07 P COM2 RS ...

Страница 23: ...7 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 ISaGRAF project and select a program you wish to communicate between your PC and the μPAC 5x07 P PAC system Next click on Link Setup button in the project screen as shown below A PC PLC Link Paramete...

Страница 24: ... 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 address and with a fixed Ethernet port No 502 Up to 6 PCs can link to one PAC throughout Ethernet Modbus TCP IP protocol Another PC or MMI can link to COM1 RS 232 port Modbus RTU protocol Therefore the m...

Страница 25: ...C 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 4 autoexec bat 5 5k090903 img 6 isa5307 exe 3 Run 7188xw exe in your hard drive A 7188xw screen will appear Press F1 if need help Hardware Connection Setting 4 Link COM1 or COM2 of your PC to COM1 ...

Страница 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 Power 8 When the system automatically reboot you have completed the update Type dir to make sure autoexec bat and isa5307 exe have been downloaded C1 B115200 P0 D8 S1 F Xautoexec bat Xisa5307 exe w25...

Страница 27: ...Driver 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 2 After typing this instruction you have to reboot to continue other step 11 Press ALT_X to exit the 7188xw screen 12 Switch the Init to OFF then power it up ...

Страница 28: ... 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 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 6 If the connection is OK uPAC 500...

Страница 29: ...M5 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 6 If the connection is OK uPAC 5001 messages will appear on the screen Start the Baud Rate Setting 7 Type isa5307 b n to set baud rate of COM1 n is the setting code n 0 9 1 2400 2 4800 3 9600 4 1...

Страница 30: ...he 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 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 link to μPA...

Страница 31: ...us 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 follow the same steps as above and then type isa5307 f 0 as below Please type the instruction according to the controller model Ex isa5307 f 1 ...

Страница 32: ...ng 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 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 link to μPAC 5307 You...

Страница 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 19200 8 Exit the 7188xw screen else the COM1 COM2 is always in use 9 Switch the Init to OFF then power it up Recovery the COM2 COM3 Setting If you want to set COM2 COM3 as Non Modbus RTU Slave Port ple...

Страница 34: ...C 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 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 6 If the connection is OK uPAC 5001 messages will appear on the screen Set IP Mask Gateway 7 Type ip to see ...

Страница 35: ...mask 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 168 0 254 10 Exit the 7188xw screen else the COM1 COM2 is always in use 11 Switch the Init to OFF then power it up ...

Страница 36: ...xe 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 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 6 If the connection is OK uPAC 5...

Страница 37: ...a 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 O modules For DCON Utility program and manual please reach to ftp ftp icpdas com tw pub cd 8000cd napdos driver dcon_utility Step 1 Hardware Connection Note The power supply must be DC power between...

Страница 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 I 87K5 I O expansion unit please do not use the first slot The DIP 1 is corresponding to the second slot you should plug the I 87K I O module into the second slot If you use I 87K8 87K4 you don t ne...

Страница 39: ...rate 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 serch Step 4 Click the Module Name to Configure it 1 When you see the module name on screen please click button to stop serch 2 Double click the module name to enter the configure screen 1 2 1 2 ...

Страница 40: ...must 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 Note Remember to remove the wire between INIT and GND then restart the power if you use the I 7000 I O module 3 Follow the steps to comfirm the settings ...

Страница 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 module a unique address NET ID and set them and the μPAC 5x07 P PAC all have the same Baud rate checksum All enabled or all disabled For more information regarding setting up and programming an I 7000 ...

Страница 42: ...kinds 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 μPAC 5x07 P PAC can link multi Modbus devices via RS 485 or RS 422 Every linked device must have one unique NET ID 1 255 Their Baud rate and the Checksum must be the same as the PAC s Wire Connecti...

Страница 43: ...5x07 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 product comes in various size and model For new detail information please visit web site http www icpdas com products HMI touch_lcd touch_list htm ...

Страница 44: ...to 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 backup the file to the folder Restore an ISaGRAF Project To restore an ISaGRAF project from a backup folder use the same method as above Select the project name you want to restore from the Archive fi...

Страница 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 ...

Страница 46: ......

Страница 47: ...ceforth 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 Boolean Input Input Shutdown button OUT01 Boolean Output Output 1 OUT02 Boolean Output Output 2 OUT03 Boolean Output Output 3 TMR1 Timer Internal Time Period of blinking initial value is set at T 1s LD ...

Страница 48: ...elow 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 it will create a new folder under the c isawin and show the group name and file path in Project Groups window Now you can click Select button or Double click the group name to open it 1 2 3 4 5 After...

Страница 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 project in the Project Management window Double click the new project name to open the new project 1 2 3 4 Double click the new project name to open it ...

Страница 50: ...will 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 below the Booleans tab to go into Boolean Variable window 4 In this example type SW1 as the name and type Switch 1 as the comment 5 Set the attribute as Input 6 Finally click Store button to save 1 2 3...

Страница 51: ...able 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 above declare the other Boolean variables for this example program SW2 and SHUT When you have completed the Boolean variable assignments the Global Boolean window should be looked like below The Initia...

Страница 52: ...em 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 means 01 03 3 In the Name field of Symbol area type OUT as the variable name 4 Finally set the attribute as Output After you press OK all three outputs will be immediately added to the Global Booleans wi...

Страница 53: ...nd 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 to save them Now you have completed the declaration of Timer variable as diagram below Please press the Save to store settings and then click the top right corner of the X to close the window 1 2 ...

Страница 54: ...e 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 the Quick LD Ladder Diagram in Language field Select the Begin Main Program in Style field You could add the notes in Comment field but it is not required 3 Double click the LD1 to begin programming 2 ...

Страница 55: ...am 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 button to insert a rung quickly Click the F4 Parallel contact tool button to insert a parallel Contact Contact ...

Страница 56: ...ntact 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 the function block and then the Function Block window will appear Select BLINK function block and click OK You can also click Info to get more information about the function block Coil Normal Close 1 2...

Страница 57: ...twice 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 variable as TMR1 Double click the first Contact Normal Open as shown below In Select Variable window select Boolean and then specify the variable as SW1 1 2 3 1 2 3 ...

Страница 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 industrial controller system Connecting I O Equipment You have created the ISaGRAF example program now you must connect the LD1 example program to the μPAC 5307 I O controller systems In this example we use ...

Страница 59: ...portant 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 connect the Input attributed variables to XW107 please click DI8 and double click the right side of channel 1 Then select the variable name that corresponds to the channel and click Connect button 1 2 3 1 ...

Страница 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 Important Notice All of the Input and Output variables MUST be connected through the I O connection as described above for any program to be successfully compiled Only the Input and Output variables will ...

Страница 61: ...s 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 proper compiler options please click on the Make Application Code button to compile the example LD project If there is no compiler errors detected during the compilation process CONGRATULATIONS you ha...

Страница 62: ...to 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 as shown below When you click the Simulate button three windows will appear The windows are the ISaGRAF Debugger the ISaGRAF Debug Programs and the I O Simulator windows If the I O variable names y...

Страница 63: ...07 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 Quick LD Program window you will see the LD1 Program ...

Страница 64: ...erve 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 become True Therefore the OUT1 OUT2 and OUT3 will start blinking according to the time of TMR1 2 Click SHUT green button to set it as ON as diagram below The OUT1 OUT2 and OUT3 will stop blinking Th...

Страница 65: ...riables 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 in the I O simulator the OUT01 03 will start blinking turned on and off every 500 milliseconds 0 5 second 2 3 4 5 6 7 ...

Страница 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 refer to section 3 5 2 The Communication Port field means the COM Port on your PC please select COM1 or COM2 Important Notice If there is no COM Port number to select you can view and modify the current...

Страница 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 program running in the μPAC 5x07 P PAC the program name will show on the window If there is a previous program running in the μPAC 5x07 P PAC you must click STOP to stop that program and then you can dow...

Страница 68: ...verify 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 to modify the link setup If you want to modify the NET ID or Baud rate of PAC please refer to section 3 5 and section 3 6 Downloading the Example LD Program Click Download button in the ISaGRAF Debug...

Страница 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 left of the DI8 or DO8 to view the current I O status in the I O connection window Press on switch1 to set it as ON and SHUT is still OFF then OUT01 03 will be blinking per second ON OFF ...

Страница 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 step is quick and easy to accomplish and the end result is a powerful and flexible control development environment for the μPAC 5x07 P PAC systems Practice Practice Practice Now you have successfully c...

Страница 71: ...ownload 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 Manual icon to download the related ISaGRAF manual As diagram below ISaGRAF User s Manual is an advanced manual for using ISaGRAF as the embedded controller software Please refer to this manual for more...

Страница 72: ...t 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 ...

Страница 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 2 5V The current input ranges can be 4 to 20mA 0 to 20mA and 20mA 3 Up to 10 analog inputs of different types can connected to one module 4 Up to 240 Vrms over voltage protection is provided 5 It fe...

Страница 74: ...Power 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 modification of existing Ethernet cabling infrastructure PoE allows power and data to be carried over a single Ethernet cable so a device can operate solely with the power from the data cable instead of the...

Страница 75: ...ment 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 XW107 Digital Output Channel 8 Output Type Sink Open Collector Output Voltage 10 VDC 40 VDC Max Load Current 200 mA channel at 25 C Isolation Non Isolated Digital Input Channel 8 Input Type Dry Sourc...

Отзывы: