background image

 

TPD/VPD Series - Getting Started v.1.0.5                   

                                           

Page 71

 

Copyright@ 2012 ICP DAS CO., LTD. All Rights Reserved.    E-mail: [email protected]

 

Appendix C. Creating Your Own GUI 

The HMIWorks Libraries provide many images and icons for integration into the GUI 

(Graphical User Interface), and users can also create their own custom GUIs. 

 
a.

 

First, open an image file in MS “Paint”, then click the toolbox to select the entire 

image (or press Ctrl+A on the keyboard) and then choose the copy option from the 

“Edit” menu (or press Ctrl+C on the keyboard) to copy the picture.

   

 
 
 
 
 
 
 
 
 
 
 
 
b.

 

Select the Paste option from the HMIWorks “Edit” menu (or press Ctrl+V on the 

keyboard) to paste the image to the HMI frame, then right click on the image and 

select “Add to library…” from the popup menu. Enter a name, such as “L04_0” (In this 

example, the light has two states: 0 means OFF, 1 means ON), as per the examples 

below. 

c.

 

Follow the same procedure to create a second image for the ON state (L04_1). 

 
 
 
 
 
 
 
 
 
 
 
 
 
 

Содержание TouchPAD TPD Series

Страница 1: ... I Copyright 2011 ICP DAS CO LTD All Rights Reserved E mail service icpdas com TouchPAD TPD VPD Series HMI Devices Programming Guide Version 1 0 5 April 2012 Usage information for TPD 280 TPD 280U TPD 283 TPD 430 TPD 430 EU VPD 130 VPD 130N ...

Страница 2: ...hange this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use nor for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 2012 by ICP DAS CO LTD All rights are reserved Trademarks Names used for identification only may be regis...

Страница 3: ... 3 1 Demo 0 Beep Count using Ladder Designer 14 3 1 1 HMI Page Design 15 3 1 2 Device Setup TouchPAD 24 3 1 3 Download a Project 25 3 2 Demo 1 Beep Timer Counter 26 3 2 1 HMI Page Design 26 3 2 2 Device Setup TouchPAD 33 3 2 3 Download a Project 34 3 3 Demo 2 Remote I O Light Temperature Communication Detector 35 3 3 1 HMI Frame Design 36 3 3 2 Editing an LD Program using Ladder Designer 45 3 3 3 ...

Страница 4: ...ice Setup TouchPAD 60 3 4 4 Download the Project 62 3 5 Demo List 64 Appendix A Downloading Information 65 Appendix B Configuring the I O Module 66 Appendix C Creating Your Own GUI 71 Appendix D Configuring and Programming the ISaGRAF PAC 72 Appendix E Displaying the Decimal Point 75 Appendix F Using USB to Download a Program 77 ...

Страница 5: ...ible and customized screen display In short the TouchPAD series is the best choice when upgrading from the mechanical switches to intelligent control pads For PLC users the HMIWorks utility includes Ladder Designer and for IT users a C language environment is provided It takes less than 30 minutes to learn how to create an application for a TouchPAD device when using Ladder Designer ICP DAS also p...

Страница 6: ...m 1 1 Hardware Specifications If you are interested in learning more about the hardware specifications for the various TouchPAD models please refer to our website www icpdas com tw Product Solutions HMI Touch Monitor TouchPAD or http www icpdas com tw product solutions hmi_touch_monitor touchpad touchpad_ selection html ...

Страница 7: ...Copyright 2012 ICP DAS CO LTD All Rights Reserved E mail service icpdas com 1 2 Hardware Overview TPD Series TPD 280 TPD 280U Rotary Switch 0 9 0 Run Only 1 Update Only Power GND RS 485 2 8 TFT LCD with Touch Panel USB 0 Run 1 Update OS 9 Update AP ...

Страница 8: ...e 4 Copyright 2012 ICP DAS CO LTD All Rights Reserved E mail service icpdas com TPD 283 Reset TouchPAD Button Open the Top Cover Reset Button Ethernet PoE Rotary Switch 0 9 0 Run and Update 1 Force Update When the program is damaged 2 Run Only ...

Страница 9: ... TPD 430 EU The difference between the TPD 430 and the TPD 430 EU is the size of the appearance which is divided into U S gauge and European gauge TPD 430 TPD 430 EU 4 3 TFT LCD with Touch Panel Speaker Programmable LED Indicator Reset Button Left hand Side USB Rotary Switch 0 9 0 Run 1 Update OS 2 Update AP USB Power GND RS 485 ...

Страница 10: ... ICP DAS CO LTD All Rights Reserved E mail service icpdas com VPD Series VPD 130 VPD 130N 3 5 TFT LCD with Touch Panel LED Indicator Rubber Keypad USB Power GND RS 485 Data Data RS 232 TxD RxD GND Rotary Switch 0 9 0 Run 1 Update OS 9 Update Program Reset Button ...

Страница 11: ...rks development software on your PC To download the latest version visit the website at http ftp icpdas com pub cd touchpad setup 2 1 Install the HMIWorks Software Step 1 Double click the execution file to install the HMIWorks software This manual uses V2 01 beta5 Step 2 Follow the instructions in the setup wizard and click Finish to complete the installation Default directory ...

Страница 12: ...eate a New Project Step 1 After the HMIWorks software has been successfully installed select Start All Programs ICPDAS HMIWorks_Standard HMIWorks Standard Edition to execute the software Note If the Windows Security Warning dialog appears in Windows 7 please click Unlock Step 2 Select the New Project icon to create a new project ...

Страница 13: ...e project should be saved c then select the display orientation d and the default programming type e and click OK NOTE If the TouchPAD model selected is incorrect it will cause errors in the program and will mean that the project cannot be downloaded Select the TouchPAD model name a Enter a project name Enter the location for saving the project c Select the HMI display orientation d Select the pro...

Страница 14: ...10 Copyright 2012 ICP DAS CO LTD All Rights Reserved E mail service icpdas com 2 3 HMIWorks Working Environment Toolbox HMI Design area Workspace Toolbox Function Menu Result section output errors Status bar Properties Inspector Picture libraries ...

Страница 15: ...Data Data I 7561 USB RS 485 Converter VDC 10 30 VDC Ground USB PC Frame Ground Earth Power supply DP 665 24V TPD 280 TPD 283 Applications are downloaded through Ethernet Power PoE Switch NS 205PSE TPD 283 ET 7000 PET 7000 Power supply KA 52F 48 PC Internet Ethernet Note Either Ethernet or PoE uses the same common Ethernet cable PoE power over Ethernet means that the Ethernet cable conveys not only...

Страница 16: ...ed through USB only RS 485 Data Data I 7561 USB RS 485 Converter VDC 10 30 VDC and Ground USB PC Frame Ground Earth Power supply DP 665 24V TPD 280U USB TPD 430 TPD 430 EU Applications are downloaded through USB only RS 485 Data Data I 7561 USB RS 485 Converter VDC 10 30 VDC and Ground USB PC Frame Ground Earth Power supply DP 665 24V TPD 430 TPD 430 EU USB ...

Страница 17: ...ICP DAS CO LTD All Rights Reserved E mail service icpdas com VPD 130 VPD 130N Applications are downloaded through USB only RS 485 Data Data I 7561 USB RS 485 Converter VDC 10 30 VDC and Ground USB PC Frame Ground Earth Power supply DP 665 24V VPD 130 VPD 130N USB ...

Страница 18: ... 1 Demo 0 Beep Count using Ladder Designer Demo 0 is programmed using the Ladder Designer and implements a single button that will beep when clicked on and will increase the counter by one The counter will reset to zero when it reaches to ten Hardware Devices TPD 280 is used for demo 0 More information about downloading the driver for the I 7561 module together with the hardware configuration for ...

Страница 19: ... picture button a Switch to the Toolbox tab as shown in the picture below b Click the Widget Ctrl 2 heading to unfold the Toolbox panel c Select the BitButton icon then move your mouse to the design area You will notice that the cursor becomes a d In the design area click and drag the mouse to draw a rectangle Select the device a Enter a project name Enter the default directory for saving the proj...

Страница 20: ...reate a Label text display in the design area Step 4 Create 2 tags beep_tag and count a As shown in the picture below right click the Virtual in the Workspace to create the tags b Enter the name of the tag in the Edit variable window Here we use beep_tag for a b c d Label a Widget component can be used for either text or control functions However the Text component can only be used for text displa...

Страница 21: ...second c Finally we can see that the 2 tags created in the Workspace Step 5 Configure the properties for the BitButton component a Select the BitButton component in the design area b Click the Text field in the Properties Inspector panel and enter the string Click Me c Click the Font field to change the font to a suitable style size and color a b c a b c ...

Страница 22: ...k on the TagName property in the Inspector and there shows a little button Click on the button e Select the tag you want Here we select the tag beep_tag for the BitButton f Finally we can see the tag we just choose Step 6 Configure the properties for the Label component a Select the Label component in the design area d e f c b a ...

Страница 23: ...e same type in the design Left Sets the X coordinate of the top left corner of the display box Name The type name of the component OutlineColor Sets the outline color of the display box Text Sets the text to be displayed in the display box Top Sets the Y coordinate of the top left corner of the display box Width Sets the width of the display box c Select TagName as count It is similar to set TagNa...

Страница 24: ...it Here we set it the function increment of the category math e Move the cursor to the function block of inc and then press the F7 button again to add a new function block to the right of it f Double click on the second function block to set the function to it Here we set it the function Beep of the category system g Double click on the contact symbol to select variable beep_tag g f ...

Страница 25: ...ount 1 increment the count Step 8 Use the Ladder Designer to program the logic the second rung a Similar to Step 7 Move the cursor to an empty position and then press the F6 button to add a new rung with a function block b Move the cursor to the previously created function block and then press the F7 button to create a new function block to the right of the first one c Double click on the first fu...

Страница 26: ... double clicking on the neighborhood of the parameter in2 f To enter a constant to a parameter click on the tab Enter Constant in the Select variable window Here we enter 10 g Similarly set the parameter in of the function Assign to zero h Similarly select count to parameter in1 of the function GE i Similarly select count to the parameter out of the function Assign c b d i h g f e ...

Страница 27: ...time is the time interval between two consecutive Ladder scan That is TouchPAD executes each rung of the ladder serially from the first rung to the last and after finishing the last rung it waits until the scan time interval is up the scan time interval is calculated from the time of the first rung s execution to execute from the beginning the first rung again c The scan time might influence the f...

Страница 28: ...e set COM3 of the PC to use I 7561 convert USB to RS 485 The users should set the appropriate COM port for their PC To determine the COM number used by your PC please verify it using the Device Manager from the control panel of your PC Note If the OS used on your PC is Windows 7 and there are no COM port options displayed in the Setup Serial Device dialog window please exit the software and right ...

Страница 29: ... then reset the TouchPAD device Refer to Section 1 2 Hardware Overview for more details The TPD 280 screen will turn dark after it is reset Step 2 Select Run Rendering and Build in the HMIWorks menu to compile and make the project Step 3 Select Run Download Only to download the project Step 4 After the project downloaded turn the Rotary Switch of the TPD 280 to 0 and reset the TouchPAD device Refe...

Страница 30: ... will increase each second and then reset itself to zero when it reaches 100 seconds Hardware Devices TPD 280 is used for demo 1 For more information about downloading the driver for the I 7561 module together with the hardware configuration for I O modules please refer to Appendix A and Appendix B 3 2 1 HMI Page Design Step 1 Create a new TPD 280 project based on the C language refer to Section 2...

Страница 31: ...e below b Click the Widget Ctrl 2 heading to unfold the Toolbox panel c Select the BitButton icon then move your mouse to the design area You will notice that the cursor becomes a d In the design area click and drag the mouse to draw a rectangle a b c d Select the device a Enter a project name Enter the default directory for saving the project c Select the HMI display orientation d Select the prog...

Страница 32: ... the picture below click the System Ctrl 3 heading to unfold the Toolbox panel b Select the Timer icon then move your mouse to the Frame1 design area You will notice that the cursor becomes a c Click in the design area to create a Timer icon d In the same manner as that described in the Step 3 create another Label as illustrated in the picture below a b c d Label a Widget component can be used for...

Страница 33: ...ng Click Me c Click the Font field to change the font to a suitable style size and color Step 6 Edit the control codes for the BitButton component a Double click the BitButton component in the design area to open the programming window b Edit the code in the programming window using the C language Users can copy the code from the picture below In this demo each click of the button will add 1 to th...

Страница 34: ... the Label component a Select a Label LabelWidget5 or LabelWidget7 a b long cnt1 0 static char str1 32 void BitButton4OnClick tWidget pWidget hmi_Beep cnt1 cnt1 1 if cnt1 100 cnt1 0 usprintf str1 d cnt1 LabelTextSet LabelWidget5 str1 Beep function Declare the variables b c Convert the integer to a string in order to display it on the Label This name must be the same as the Name and ID properties o...

Страница 35: ...r to identify different entities of the same type in the design Left Sets the X coordinate of the top left corner of the display box Name The type name of the component OutlineColor Sets the outline color of the display box Text Sets the text to be displayed in the display box Top Sets the Y coordinate of the top left corner of the display box Width Sets the width of the display box Step 8 Configu...

Страница 36: ... 1 each time the button is clicked until it reaches 100 and will then reset to 0 before beginning to accumulate again c When finished click Save Close from the File menu Step 10 The configuration for Demo 1 has been completed Click File Save to save the file long cnt1 0 long auto_cnt1 0 static char str1 32 void Timer6OnExecute tWidget pWidget auto_cnt1 auto_cnt1 1 if auto_cnt1 100 auto_cnt1 0 uspr...

Страница 37: ...set COM3 of the PC to use the I 7561 convert USB to RS 485 The users should set the appropriate COM port for their PC To determine the COM number used by your PC please verify it using the Device Manager from the control panel of your PC Note If the OS used on your PC is Windows 7 and there are no COM port options displayed in the Setup Serial Device dialog window please exit the software and righ...

Страница 38: ...en reset the TouchPAD device Refer to Section 1 2 Hardware Overview for more details The TPD 280 screen will turn dark after it is reset Step 2 Select Run Rendering and Build in the HMIWorks menu to compile and make the project Step 3 Select Run Download Only to download the project Step 4 After the project downloaded turn the Rotary Switch of the TPD 280 to 0 and reset the TouchPAD device Refer t...

Страница 39: ...unication detector I 7055 I 7018Z x 1 Frame switch x 1 Frame2 Scene picture x 1 Control button x 1 Light control DO x 2 Frame switch x 1 Hardware Devices TPD 280 I 7055D and I 7018Z are used for demo 2 Power Supply DP 665 24V Frame Ground Power 10 30 VDC GND TPD 280 USB RS 485 Converter I 7561 USB Power I 7018Z G S 10 ch Thermocouple Input Module with High Voltage Protection I 7055D 8 DI 8 DO Modu...

Страница 40: ...on 2 2 for more details Step 2 Set up the connection a Right click the Connection item in the Workspace tab and select the New Connection option to set up the connection b For this demo select the UART Protocol and set the Baud Rate to 19200 then Select the device a Enter a project name Enter the default directory for saving the project c Select the HMI display orientation d Select the programming...

Страница 41: ... tags This demo uses I 7055D I 7018Z a Right click the Device item in the Workspace tab then select the New Device option b Select I 7000 from the Device Series dropdown menu and then select the created UART from the Connection dropdown menu c Click the Select button to select the I O module This demo uses I 7055 d Input the address number of the I 7055 module in the Net ID field This demo uses Ne...

Страница 42: ...e system f Repeat the steps above to add details for the I 7018Z I O module Net ID 2 Step 4 Create the light display control This demo uses 8 DI DOs a Click the Libraries tab on the right hand side and select the type of graphic GUI you want to use b Select and drag the I O tag you want to connect to from the left hand side into the frame c Repeat the steps above to drag DI0 7 and DO0 7 into the H...

Страница 43: ...a As shown in the following picture click the Widget Ctrl 2 heading to unfold the Toolbox panel then select the Slider component Move your mouse to the Frame1 design area and click and drag a suitable sized rectangle b In the Properties Inspector panel you can change the background fill color BackgroundFillColor fill color FillColor outline color OutlineColor or set Vertical to True to set the val...

Страница 44: ...Inspector panel and assign a TagName This demo uses I 7018Z AI ch0 Step 6 Set up the communication detectors This demo uses I 7055D and I 7018Z a As shown in the picture below select two types of graphic GUI lights from the Libraries b Select and drag the I_7055_1_ERROR and I_7018Z_2_ERROR items from the Workspace panel into the frame The light will turn on if there are any communication problems ...

Страница 45: ...eld as Frame2 and enter the label for the button in the Text field Step 8 Create the Text components Labels to describe the component can be created in the HMI frame as follows a Select the Text item from the Drawing Ctrl 1 panel in the Toolbox and then click in the frame wherever you want the description to be placed b Enter the text to be displayed on the label in the Text field in the Inspector...

Страница 46: ...ponents by highlighting them with your mouse or press the Shift key and click multiple components then select an align option from the Layout menu Step 9 Set up a background picture for Frame 2 First click the Frame2 tab to switch frames a Select the Picture item from the Drawing Ctrl 1 panel in the Toolbox and then click and drag a rectangle in the Frame2 window b Edit the Height and Width proper...

Страница 47: ... Select All Ctrl A then Copy Ctrl C and then Paste Ctrl V the picture into the HMI frame Step 10 Create the Virtual control button a First create a Virtual Tag by right clicking on the Virtual item in the Workspace panel and select New Virtual Tag and then enter a variable name e g V1 in the Edit Variable dialog box b Create a BitButton by following the procedure described in Step 7b In the Inspec...

Страница 48: ...agName field in the Inspector panel for each component Step 12 Create a frame switch for Frame2 Refer to the procedure described in Step 7 and create a frame switch for Frame 2 The easiest method is to copy and paste the frame switch from Frame1 and then change the Reference field in the Inspector panel to Frame1 and edit the Text field to display an appropriate label The frame design is now compl...

Страница 49: ...ht Control button V1 to control two lights DO0 and DO1 from the I 7055D module Step 1 Open the Ladder Designer program a In the design window for Frame2 select the Light Control button b From the HMI menu select the Ladder Designer option or press F4 on your keyboard to open the Ladder Designer program Step 2 Edit the LD program a Click the F2 button or press F2 on your keyboard to insert a Contac...

Страница 50: ...gn the variables a In the designer window double click the Normal Open Switch item and select the variable V1 from the Name field in the Select Variable dialog box b Repeat the procedure to assign variables to the coils I_7055_1_DO0 DO1 Step 4 Change the Type for both the switches and the coils a In the designer window select the V1 Switch item and click the Space T button or press either the Spac...

Страница 51: ...approach as the previous step create another Contact with two Coils but set the types to Negative N and Reset R as per the picture below Description When V1 is triggered from OFF to ON the DO0 and DO1 of the I 7055D module are set to ON When V1 is triggered from ON to OFF the DO0 and DO1 of I 7055D module are set to OFF Step 6 Save project The LD program is now complete From the File menu select t...

Страница 52: ...n be determined by accessing the Device Manager in the control panel on your PC 3 3 4 Download the Project Turn the Rotary Switch on the backplane of the TPD 280 to 1 Update Mode and reset the TPD 280 then select Run form the Run menu to compile build and download the project to the TouchPAD When finished turn the Rotary Switch to 0 Run Mode and restart the device Refer to Section 3 2 3 for detail...

Страница 53: ...TPD VPD Series Getting Started v 1 0 5 Page 49 Copyright 2012 ICP DAS CO LTD All Rights Reserved E mail service icpdas com b Change the Refresh Time to an appropriate value ...

Страница 54: ...lay control M 7055D DI DO x 8 Temperature display M 7018Z ch0 x 1 Communication detector µPAC 7186EG x 1 Control button x 2 Tips Warnings Note When using the DCON Utility to configure the M 7018Z which uses the Modbus RTU protocol for the RS 485 Port of the M 7018Z to connect with the TouchPAD set the Dataformat option to Engineering and the Protocol option to Modbus RTU Note If you use HMIWorks v...

Страница 55: ...ta and power through the Ethernet cable PoE Ethernet Switch NS 205PSE 24V NET ID Address 2 Power Supply KA 52F 48 48V Modbus TCP Server µPAC 7186EG Baud Rate 19200 bps Checksum Disabled PC Power Supply Ethernet 乙太網路供電 RS 485 Data RS 485 Data Power Power M 7055D 8 DI 8 DO Module TPD 283 K Type wire IP 192 168 1 204 Mask 255 255 255 0 NET ID 1 NET ID Address 1 Ethernet PoE M 7018Z G S 10 ch Thermoco...

Страница 56: ...ep 1 Create a new TPD 283 project in the Ladder program Refer to Section 2 2 for more details Step 2 Create a connection TCP IP Refer to the Step2 in Section 3 3 1 for more details Enter the IP address of the device controller that is connected to the TouchPAD This demo uses a µPAC 7186EG server Use TPD 283 The IP Address for the uPAC 7186EG server ...

Страница 57: ...field to the TCP_204 item that you created in the previous step and then press the Edit button c The addresses of the Modbus Tags are pre configured in the ISaGRAF program DO0 DO7 21 28 DI0 DI7 01 08 AI0 AI9 101 110 Refer to Appendix D for full details so assign the appropriate address to the StartAddress and Count fields in the Import dialog box and then enter a Device Name Step 4 Set up a backgr...

Страница 58: ...Section 3 3 1 in Demo 2 to create eight DI DO lights Step 6 Create the temperature display This demo uses AI0 Follow the same procedure as that described in Step 5 of Section 3 3 1 in Demo 2 to create a Slider component Set the Max value to 1000 as the reading of the K type thermocouple sensor wire only allows 3 digits to be displayed for the Modbus I O and a Label component TagName AI0 to display...

Страница 59: ...efer to Appendix E for details of how to achieve this Step 7 Create the communication detector Follow the same procedure as that described in Step 6 of Section 3 3 1 in Demo 2 to create a communication detector for the µPAC 7186EG Step 8 Create the Virtual Tags V1 V2 Follow the same procedure as that described in Step 10 of Section 3 3 1 in Demo 2 to create two Virtual Tags V1 and V2 Step 9 Create...

Страница 60: ...e Frame1 window b In the Inspector panel set the TagName variable to V1 and change the color and font items to the desired values Note The Ladder program for this demo will be introduced in the next section Step 10 Create another Check Box for the Saving Mode switch button Follow the procedure described in the previous step to create another CheckBox and set its TagName variable to V2 ...

Страница 61: ...r program Step 2 Edit the All ON OFF Ladder program a Click the F2 button or press F2 on your keyboard to insert a Contact b In the designer window select the Coil item and then continue to click the F5 button or press F5 on your keyboard to add 7 more Coils c In the designer window double click the switch item and assign the variable V1 Repeat the process for the Coil items assigning the variable...

Страница 62: ...tep 3 Edit the Saving Mode Ladder program Description When clicking this button the lights for DO5 7 will turn on and the lights for DO0 4 will turn off Clicking the button for a second time will turn all the lights off a Using the same procedure as that described in Step 2 create the rungs for the V2 Switch and Coils 3rd and 4th rungs b In the designer window select the 3rd rung then click the Sp...

Страница 63: ...TPD VPD Series Getting Started v 1 0 5 Page 59 Copyright 2012 ICP DAS CO LTD All Rights Reserved E mail service icpdas com ...

Страница 64: ...nvironment and may need to be changed First make sure that the hardware network is connected refer to Section 3 4 Hardware Dvices and then search for the TPD 283 device and set up the IP Note Only one TouchPAD device can be configured at any one time Step 1 Set up the TouchPAD IP a Select the Setup Device TouchPAD option from the Run menu to enter the Setup Ethernet Device window b Click the Searc...

Страница 65: ... for the TouchPAD is set as DHCP you will need to wait for a while for the DHCP server to assign an IP Address to the TouchPAD The IP settings are saved in the project NOT in the TouchPAD so the IP Address for the TPD 283 will not work until the project has been successfully downloaded After completing this step please go to the next section for a description of how to download the project before ...

Страница 66: ...ice IP Address bottom set to 192 168 1 205 3 4 4 Download the Project The rotary switch should have been moved to the 1 position and the device restarted if the procedure described in the previous section 3 4 3 Device Setup was followed correctly Ensure that this has been done and select the Run option from the Run menu to compile and download the project to the TouchPAD device Refer to Steps 2 an...

Страница 67: ... moved to the Mode 1 position when setting the IP Address for the first time or if the project download fails In all other situations please ensure that the switch is in the Mode 0 position and restart the device Before downloading the project execute Device Setup and click the Run option from the HMIWorks Run menu to compile and download the project The device will restart automatically ...

Страница 68: ...00 it starts from 0 Demo_02_LD Using the TPD 280 device programmed by the LD Language To communicate with the I 7055D module and the I 7018Z module via the RS 485 network to implement the function of light control temperature display and communication status detection Demo_03_LD Using the TPD 283 device programmed by the LD Language To communicate with the µPAC 7186EG server the M 7055D module and...

Страница 69: ...tp www icpdas com tw product solutions hmi_touch_monitor touchpad vpd 130 html Products Datasheets http ftp icpdas com pub cd touchpad document english data_sheet tpd 280 u _tpd 283 en pdf http ftp icpdas com pub cd touchpad document english data_sheet tpd 430_tpd 430 eu en pdf http ftp icpdas com pub cd touchpad document english data_sheet vpd 130_vpd130n en pdf Download I 7561 USB to RS 485 conv...

Страница 70: ...rom the following website ftp ftp icpdas com pub cd 8000cd napdos driver dcon_utility Hardware Wiring Software Installation Double click the installation software icon and continuing pressing Next to complete the installation Baud Rate 19200 Checksum Disabled Power Supply DP 665 24V PC USB I 7018Z G S 10 ch Thermocouple Input Module with High Voltage Protection I 7055D 8 DI 8 DO Module V GND RS 48...

Страница 71: ...nit mode and reset the module b Run the DCON Utility from the icon on the desktop or from the Start menu Start All Programs ICPDAS DCON_Utility DCON_Utility c Click the COM Port menu to set up the options and click the Start Search button d With the I 7055D module in INIT mode click 7055D in the module field to display the configuration window COM Port of the PC Select the Baud Rate Select the Pro...

Страница 72: ... Switch the I 7055 to Normal mode and reset the module then search for the module again to confirm the configuration M 7055D The settings are similar to those of the I 7055D but the Protocol option should be set to Modbus RTU I 7018Z Refer to the previous steps when configuring this module As per the picture below Configuration Settings Address 2 Baud Rate 19200 Data Format Engineering Channel Ena...

Страница 73: ...e field background is yellow of the Channel Enable Disable Setting part shows 9999 900 it means that the Input Range settings are wrong or the channel is set as a T C type but is not being used Note that every channel must be checked M 7018Z The settings are similar to those of the I 7018Z but the Protocol option should be set to Modbus RTU Note If the RS 485 Port of the TouchPAD uses the Modbus R...

Страница 74: ...s Getting Started v 1 0 5 Page 70 Copyright 2012 ICP DAS CO LTD All Rights Reserved E mail service icpdas com Modbus RTU Note If you use HMIWorks v2 02 or later please set the Data Format parameter to 2 s complement ...

Страница 75: ...he toolbox to select the entire image or press Ctrl A on the keyboard and then choose the copy option from the Edit menu or press Ctrl C on the keyboard to copy the picture b Select the Paste option from the HMIWorks Edit menu or press Ctrl V on the keyboard to paste the image to the HMI frame then right click on the image and select Add to library from the popup menu Enter a name such as L04_0 In...

Страница 76: ... 4 ISaGRAF PAC Configuration The µPAC 7186EG settings used in Demo 3 COM2 Master Baud Rate 19200 IP 192 168 1 204 Mask 255 255 255 0 Refer to the µPAC 7186EG getting started Sections 3 7 and 3 8 for details of the configuration process http www icpdas com products PAC i 8000 getting_started_manual htm ISaGRAF Variables Variable Name Address Hex Decimal Description R7055_DO01 08 0015 001C 21 28 M 7...

Страница 77: ...pyright 2012 ICP DAS CO LTD All Rights Reserved E mail service icpdas com ISaGRAF Program Description Reading 8 Booleans from the Modbus device Converting 1 Word Signed 16 bit to 16 Booleans Format Bit ID 1 Read from Modbus 0 Return OK True Fail False ...

Страница 78: ...DAS CO LTD All Rights Reserved E mail service icpdas com Writing 8 Booleans to the Modbus device Reading 10 Words Signed 16 bit from the Modbus device Return OK True Fail False ID 1 Read from Modbus 0 開始讀取 ID 2 Read from Modbus 0 Format Word Return OK True Fail False ...

Страница 79: ...protocol I 7018Z Module The Ladder Designer displays the received value only the integer part ignore the decimal part ex 26 500 26 But you can display the decimal such as 26 5 by changing the IO hsf file of the module The IO hsf of I 7018Z is in the directory C ICPDAS HMIWorks_Standard bin Modules I 7000 I 7018Z Change it as below Then in HMIWorks set the DecimalDigits of Lable as 1 to display one...

Страница 80: ...display value Taking the K Type as an example if the input value is 26 500 the displayed value will be 265 enlarged by 101 times Therefore the temperature value 265 displayed on the TouchPAD is actually 26 5 To display this value correctly you need to change the DecimalDigits parameter for the relevant Label in HMIWorks to 1 then compile and download the project to the TouchPAD again Once amended ...

Страница 81: ... on your PC the TouchPAD USB driver has also been automatically installed too However users may need to update the TouchPAD USB driver if some previous version of HMIWorks was installed Install Update the TouchPAD USB Driver Step 1 Prepare the TouchPAD Turn the Rotary Switch on the TouchPAD to Mode 9 When the Waiting for connection message is displayed on the TouchPAD screen connect a USB cable fr...

Страница 82: ...as a different OS installed you may need to use a different installation procedure If the Hardware Update Wizard dialog box is not automatically displayed please go to the Device Manager and right click on the appropriate device name and select Update Driver Windows XP or Update Driver Software Windows 7 to install the driver Windows XP Windows 7 32 bit ...

Страница 83: ...rivers Select Install from a list Advanced and click the Next button Step 4 Select the install options Select Search for the best driver and check the include this location checkbox then press the browse button to install the driver from the following location C ICPDAS HMIWorks_Standard Tools USB_Drivers Click the Next button to continue ...

Страница 84: ...ick the Finish button to complete the installation process Download the Program via the USB Port After downloading the USB driver as described in the previous step restart the TouchPAD and the following screen will be shown The download process can then begin In the HMIWorks Utility select the Run option from the Run menu to download the program to the TouchPAD MiniOS8 is running Waiting for conne...

Страница 85: ...81 Copyright 2012 ICP DAS CO LTD All Rights Reserved E mail service icpdas com When the TouchPAD screen shows that downloading is 100 complete turn the Rotary Switch to Mode 0 and restart the TouchPAD The new program will be executed in Run mode ...

Отзывы: