Home
Quicker
Contents
1. choo Bit Input D E TH die choi Bit Input i de choz Bit Input 2 E B 8056 3 choz Bit Input 3 d DOs 2 cho4 Bit Input 4 afd 8024 4 chos Bit Input 5 db ADs chos Bit Input 6 E L BDi17 5 chor Bit Input 7 cde Als chos Bit Input 8 E m 7D17 6 2 choo Bit Input z de Als chio Bit Input 10 chil Bit Input 11 hi2 Bit Input 12 hi3 Bit Input 13 chia Bit Input 14 chis Bit Input 15 Fig 1 2 2 1 otep 2 Select the Als group in the Device Window left side to monitor its own Analog Input tags Ver 1 09 Date Apr 25 2005 Page 11 Quicker User s Manual file Add Edit view Help ES Analog Input O 0 00274 Analog Input 1 0 0012207 Analog Input 2 O 00274 Analog Input 3 O 00152 Analog Input q 0 0027 4 Analog Input 5 0 0100863 Analog Input 6 0 001220 Analog Input n 000244141 Fig 1 2 2 2 Step 3 Select the 8064 module on the Device Window to monitor its own Digital Output tags File Add Edit View Help el amp s 2 Ea m E Digital Output s Fig 1 2 2 3 1 2 3 Adding a New Device It is possible to add new or multiple devices This version of Quicker provides four devices I 8K I87K Embedded Module Il 7K I 8K I 87K I O Module Controller and Internal Device to be added The I 8K IB7K Embedded Module and I 7K I 8K l 87K I O Module options are for ICPDAS modules The option Controller supports ICPD
2. eModules Tone Analog Input bs Channel Location Output A egiste ar Settings Simulation Fig 1 2 5 1 1 Name Any Tag Name may be used but avoid names with spaces or punctuation such as The clients will use the Device Name and Tags to access its value Hence the Tag Name cannot be a duplicate of another tag in the same group Modbus address Specifies an unique modbus address for this tag in order to communicate with modbus client The default address is already an unique one After that you also need to choose the address type There are four address types you can choose They are Input Coil Output Coil Input Register and Output Register which depends on your tag property It is important to give an appropriate modbus address type and address value Ver 1 09 Date Apr 25 2005 Page 22 Quicker User s Manual Address Type Range Output Coil 000001 065536 Input Coil 00001 165536 7 1 nput Register 300001 365536 Output Register 400001 465536 Description opecifies the description text for this tag This can be blank Type opecifies the command to be used for this tag Different modules support different commands For commands please refer to the Modules htm file Channel opecifies the channel number to be used for this tag The Digital Input and Digital Output tags do not use this channel setting because all channels are read with one
3. Ver 1 09 Date Apr 25 2005 Page 50 Quicker User s Manual File Edit View Go Favorites Address Compact Flash Indusott Modified 3 Bin Falder Dry Folder gt TEST Folder a CEApp INI 109 bytes INI File 1 27 2005 2 16 20 PM ki ESBrver exe 218KB Application 11 12 2004 4 34 48 PM a CEServer INI 103 bytes INI File 1 27 2005 2 46 48 PM BA Recovery exe 11 0KB Application 11 18 2004 6 17 30 PM amp lregview exe 11 5KB Application 11 25 2002 6 43 54 PM E Step 16 Click Project gt Execution Environment then select Network IP to press the IP of WinCon8000 O Microsoft ActiveSync Application Local Ez Target Compact Flashindusott Test A gt Send To Target DM Only newer files Eun Y te Application was started e id p o send Fie 9 stop otep 18 Execute your application by clicking Start After that you will see your runtime HMI Ver 1 09 Date Apr 25 2005 Page 51 Quicker User s Manual Remote Agent v4 3 Connection status uot connected to remote client Log Runtime was started Device connection via Network TCP IP Local IP 10 0 0 80 A DO ChD1 DO ChD02 DO Ch 03 DO Ch 4 DO ChD05 DO ChD6 po choy OM DI ChD 0 DI Ch 01 DI Og DI Ch 03 DI Ch 4 DI ChD05 DI ChD06 DI ChD07 DI ChD08 DI ch 9 DI ChiD DI Chil DI Chi2 DI Ch13 DI_Chi4 DI Ch15 DO ChD DO ChD1 DO ChD02 DO Ch 03 DO Ch 4 DO ChD05 DO
4. RO B Out 5 l4 KO B Opt E i5 Soo foams e Egoi One a j 000 Bonet 15 So BrOviput i Ehil Bont 1 20 Koi Oat 12 81 Emi E r 3 a fon Mou 74 a fous B Cutie 15 24 Ver 1 09 Date Apr 25 2005 Page 46 Quicker User s Manual Step 2 Run InduSoft Web Studio version 6 0 Web Keady InduSoft 3 Teols for Automation Web and Wireless Automation the easy way Loading Database Copyright 61 997 2004 Indusoft Ltd This program is protected by International lam Step 3 Create a new project de ladutefi Wels Studie Display ees al UF eee eee mDEDME en eo 2 We uet Xx albe te tum E EHAE aYOHICHIOoSme x Pojat Tus AFT palas A Ey Gere Fei E y uh Paps Li KS lomy Pg Siete E E E 3 EHDER GDZZINE 10 2 1 LOOO A Fame Taie Quay Goeters Ill 3 a zl Ei F T Bady R X AAT BD Ver 1 09 Date Apr 25 2005 Page 47 Quicker User s Manual Step 4 In the Studio Workspace window click the OPC tab right click the OPC folder and click Insert dh 00 LE A 1 1 E Ele fer foot Beet loo Bede db AF BE tees CA aie AA Be fare BoB ir BE FRia tka HG HI STs ma xxu Made Ml Mm AREA EE Pw x Tr i F T E Ted PF yr Ha b TIA ma E aes E ii B8B E E Me coa ED g H m i T s Mos oo a 1 Mum Ties Quiz Commence z 2 p DB I TESS bess bea n ET Ea gia Daan one Poesia hl NUM X JAT 122 otep
5. Step 3 Click on the Controller radio button Step 4 Click on the Modbus TCP radio button Ver 1 09 Date Apr 25 2005 Page 16 Quicker User s Manual Device Properties Device Devices C Internal Device O 1 Sk 1 87K Embedded Modules Module Setting ontrafler Setting Port Type Module Timeout tmSec 200 Slot ies For BKf amp 7K Modules C I TEJI BE I 87K 1 0 Modules TCPJIP 192 168 255 1 Module Setting Module 00 Modbus RT Address Timeout 200 COM Mq Msg Delay E Baud 5600 Ka Data Bits E RTU x Stop Bits E Hee swap Simulate 1 0 does not access Ehe R S 485 Modnus device Fig 1 2 3 3 2 Cancel Device Name Names with spaces or punctuation such as cannot be used within a module name The clients use the Device Name and Tags to access its value The Device Name can not be the same as any other module Address opecifies a Address for this controller The default value is 1 and the valid range is between 1 to 255 Timeout opecifies timeout Response time value for this controller The default value is 1000 ms A smaller timeout value may cause communication failure Port Address You have to set up the value with 502 for communicating with l 7188EG or 1 8437 8837 TCP IP Address The unige IP address of your Modbus TCP controller Word Swap The Word Swap checkbox switches the interpretation of 4 Byte values S
6. 4 4 1 4 UserShare Function These functions allow users to add their own variables into share memory block for sharing the values with different application program Ver 1 09 Date Apr 25 2005 Page 69 Quicker User s Manual UerSetCoil The function can set an unsigned char variable into share memory block Syntax e V C unsigned char UserSetCoil unsigned short 1UserAddress unsigned char 1Status VB NET VC NET byte UserSetCoil ushort 1UserAddress byte iStatus Parameters iUserAddress in The address which you want to set into The range of address 1s from 1 to 19999 iStatus in unsigned char variable Return Values O indicates success WCA USERADDR OVER means the iUserAddress over the range The legal range is from number to number 19999 Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Set coil value into address 1 UserSetCoil 1 1 VB NET Quicker UserShare UserSetCoil 1 1 VC NET Quicker UserShare UserSetCoil 1 1 UserGetCoil The function can get an unsigned char variable from share memory block Syntax e VC unsigned char UserGetCoil unsigned short 1UserAddress unsigned char iStatus Parameters iUserAddress in The address which you want to get from The range of address is from 1 to 19999 Ver 1 09 Date Apr 25 2005 Page 70 Quicker User s Manual
7. If you want to minimize Quicker please click the question mark on the top right corner mH 87064_3 Fig 1 2 14 1 After clicking the question mark Quicker will minimize itself at the status bar Double click it will be restored IOLA 3 9 38 pm Fig 1 2 14 2 2 WinCon 8000 Setting In this section we will explore how to set the Windows CE System and the WinCon Utility for the Wincon 8000 embedded controller You can change configurations such as the system time or network setting of the Wincon 8000 E Ver 1 09 Date Apr 25 2005 Page 34 Quicker User s Manual through the Windows CE control panel WinCon Utility allows you to view Wincon 8000 s information or save the current system configuration into Windows CE OS image 2 1 Windows CE Settings Setting Up the System Time You can setup a new date or time in the Windows CE system by using the following steps 1 Choose Start gt Settings gt Control panel to open the Control panel gt D e Certificates Display keyboard Mouse Network and Owner Password Dial up Eo hb D y Yi X PE Power Regional Storage System Volume amp Connection Settings Manager Sounds Fig 2 1 1 2 Double click the Date Time icon on the Control panel dialog Date Time Properties Current Time 4 5 Timezone 11 12 18 10 GMT D8 00 Taipei 25 26 Automatically acijastctack far daylight saving Fig 2 1 2 3 When the Date
8. 0 01 and later Quicker lib WinConAgenth Example eV C Get input coil status from address 1 unsigned char iStatus MBGetCoil 1 amp iSatus 1 Ver 1 09 Date Apr 25 2005 Page 67 Quicker User s Manual VB NET Dim m_MBGetCoilVal As Byte Quicker Modbus MBGetCoil 1 m_MBGetCoilVal 1 VC NET byte m_MBGetCoil Val Quicker Modbus MBGetCoil 1 out m MBGetCoilVal 1 MBSetReg The function can set a register value into Quicker Syntax e V C unsigned char MBSetReg unsigned short MB Address short iStatus unsigned char 1Attr VB NET VC NET byte MBSetReg ushort MB Address short 1Status byte 1Attr Parameters MBAddress in The modbus address which you want to set into The range of modbus address is from 255 to 2048 Status in The register value of specific modbus address LA ttr in Assign which kind of register you want set means input register which will be requested by modbus function number 4 0 means output register which will be requested by modbus function number 3 6 16 Return Values 0 indicates success WCA_MBADDR_OVER means the MB Address over the range The legal range is from number 255 to number 2048 WCA_MBATTR_ERROR means the iAttr is neither 1 nor 0 Remarks Requirements Runmson_ Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Set input register value 123 at address 1 MBSetRe
9. 5 OPC Attributes window pops up Dreschplaoe Server Identiher Daae Head Updates Ate jnst Percent Desant Sanus Renal Saray Mare Ver 1 09 Date Apr 23 2005 Page 48 Quicker User s Manual Step 6 Click on the Server Identifier Write Quicker Description server Identifier Disable ICPDAS Quicker 7 Hj Read Update Hate ms Percent Deadband S hats 100 Remote Server Name Browse The configuration table for OPC has the following entries e Description this field is used for documentation only The OPC Client module ignores it e Server Identifier this field should contain the name of the server you want to connect If the server is installed in the computer its name can be selected through the list box e Disable this field should contain a tag or a constant If its value is different of zero the communication with the OPC server is disabled e Update Rate this field indicates how often the server will update this group in milliseconds If it is zero indicates the server should use the fastest practical rate e Percent Deadband this field indicates the percent change in an item value that will cause a notification by the server It s only valid for analog items e Tag Name these fields should contain the tags linked to the server items e tem these fields should contain the name of the server s items step 7 In the first cell of the Tag Name column typ
10. APPLICATION OR QUICKER sostiene ova aree Ede 45 4 OUICKER WITH DEC CUENTA A 45 4 2 QUICKER WITH MODBUS RTU TCP CUENTA 52 4 2 1 Supported Modbus Command d a 02 4 3 QUICKER WUT NAPOR noe 53 4 4 QUICKER WITH SER APPEICATION aa 53 4 4 1 Oli ck APT FOr eV CAD CV CLONE ie cevet AA 53 4 4 1 1 System FCG LOI dai mn ates iia 54 4 4 1 2 QUICK Er Oo PUBL OB eod erede etel re nt deter ptt a tale eir ira eee vete Hon a ip edad ated 57 4 4 1 3 IIOCDUS PUNCU Oene a T A e B re EL 66 Id GUSersSharc RUC 69 4 4 2 Quicker API for VB NET VCA NET Developer eese esee esses essen enean nnns en naris 78 4 5 QUICKER WITH RULE SCRIP Ds A cessed A daa Seiad ean eas ias 78 4 5 1 Rule SCL I Saab dnt ere 78 APPENDIX A ERROR LIST AND DESCRIPTION ooccccccccccccocococonoccccconsccccccccccccccccconoccccccnnananccccccccccnnnnos 79 APPENDIX B MOD UTE LIST e A N ES Aa 79 Ver 1 09 Date Apr 25 2005 Page 3 Quicker User s Manual 1 Introduction to Quicker What is Quicker Quicker is an integrated omnibus software package which combines OPC Modbus TCP Modbus RTU services and Scankernel together The particular design Rule Script lets user can quickly establish a DCS control system with logic control multi communication services For UI design Quicker uses an explorer style user interface to display a hierarchical tree of modules and groups with their associated tags A group can be defined as a subdir
11. B 24 475 8 Bit Output 5 E d AOs 2 chos Bit Output 6 ES tE 80175 2 chor Bit Output 7 chos Bit Output B chos Bit Output gJ E chio Bit Output 1 chit Ex d chi chi3 E chl4 E hi5 Bit Output Bit Output Fig 1 2 7 1 Ver 1 09 Date Apr 25 2005 Page 30 Quicker User s Manual 1 2 8 Deleting A Device Group Tag To delete an existing Device Group Tag just select the Device Group Tag and right click the mouse button Then select the Delete option File Add View Help Corte Ctrl me Channelftoca scaling gs DO properties Ctrl E El WE SD E EL LA AOS Ctrl C Ctrl tye roni vat Analog Output lo ii 80513 Qo Analog Output Esa des Dis Analog Output 2 atk fi 8056 _ Analog Output 3 P DO Properties Ctrl P E 6024 4 e f 8017 5 dit Als la 1 7017 6 4h Als File Add MEE View Ctrhex Ctr mete cv O Te Tchamelitora scaling dh bs Bit Output Bit Output PERS Bit Output z aM eso APA Bit Output 3 A DO Properties Ctrl P Bit Output 4 E TE 8024 4 Bit Output z E i Bit Output 6 Eit Output D Es i Bit Output B Bit Output 3 Bit Output Bit E BS 12 l3 Bit Output 14 Bit Output 15 Fig 1 2 8 1 Ver 1 09 Date Apr 25 2005 Page 31 Quicker User s Manual 1 2 9 Generating Tags This function lets you easily test the Quicker in the simulation mode It is only valid if the selected device of
12. Enter a HTTP default directory path and click on the change button to setup the defined path for the web server System Config Tab The System Config tab allows you to view the information in the Wincon 8000 embedded controller system WinCon Utility 1 Ver 2 1 0 ok x Save Registry System Config Auto execute version Update Com About Wincon Utility 12041 1 8040 Serial Number 9 10546830090 MAC address DO OC ED FO 00 69 18017 T8024 187064 EEPROM Size 15K bytes Flash Memory Size 32M bytes OS Version CE Net4 12 04 09 00 TC EGU OS Image Size 29956244 bytes 18077 WinCon SDK Version incon SDK 2 0 1 Fig 2 2 3 Ver 1 09 Date Apr 25 2005 Page 39 Quicker User s Manual This tab includes the following folders Slot 1 7 box The Sloti 7 fields display the module names plugged in the Wincon 8000 Serial Number box This field displays the serial number of the Wincon 8000 EEPROM Size box This field displays the EEPROM size of the Wincon 8000 Flash Memory Size box This field displays the Flash memory size of the Wincon 8000 OS Version box This field displays the current operating system OS Image Size box This field displays the size of the current operating system WinCon SDK Version box This field displays the current WinconSDK_DLL version Auto execute Tab The Auto execute tab provides ten execute files whi
13. Linear Square Root Deadband lo rs Fig 1 2 5 4 1 Raw Data Min The original Minimum value MinRaw Max The original Maximum value MaxRaw ocales to Units The unit of the scaled value Just for reference only Min The scaled Minimum value MinScale Max The scaled Maximum value MaxScale Conversion Linear scaled Value Original Value MinRaw MaxRaw MinRaw MaxScale MinScale MinScale Square Root Scaled Value sqrt Original Value MinRaw MaxScale MinScale sqrt MaxRaw MinRaw MinScale Deadband In general please keep 0 in this field Deadband will only apply to items in the group that have a dwEUType of Analog available If the dwEUType is Analog then the EU Low and EU High values for the item can be used to calculate the range Ver 1 09 Date Apr 25 2005 Page 27 Quicker User s Manual for the item This range will be multiplied with the Deadband to generate an exception limit An exception is determined as follows Exception if absolute value of last cached value current value gt pPercentDeadband EU High EU Low OK Click the OK button to save these settings Cancel Click the Cancel button to avoid any changes 1 2 6 Read Write the Tags First you have to use the Monitor function to see values of tags by checking the View Monitor menu item Select a tag and right click the mou
14. Modnus device Cancel Fig 1 2 3 2 2 C Modbus ATH Address A Timecut po Msg Delay C Word Swap Ver 1 09 Date Apr 25 2005 Page 14 Quicker User s Manual Device Name Names with spaces or punctuation such as cannot be used within a module name The clients use the Device Name and Tags to access its value The Device Name can not be the same as any other module Module ID User can click on the ComboBox to select a Module ID Address Specifies a Module Address for this module The default value is 1 and the valid range is between 1 to 255 This field is disabled for the 8000 sub devices It will use the 8000 main device s address Timeout Specifies timeout Response time value for this module The default value is 200 ms A smaller timeout value may cause communication failure and a greater timeout value may reduce the performance of the client program This field is disabled for the 8000 sub devices and it will use the 8000 main device s timeout value Checksum This checksum field must match the hardware setting A mismatch will always cause a communication failure with this module This field is disabled for the 8000 sub devices and it will use the 8000 main device s checksum COM Port opecifies the COM port to be used Please verfiy which COM port number that the RS 485 network is using Wrong settings will always cause communication failure This field is d
15. Time Properties dialog displays set the date or current Time and click the Apply button to set your system date and time Note If you have changed any value of the date and time You must save the registry by means of WinCon Utility tools For more information about WinCon Utility tools please refer to the WinCon Utility section Setup the network Generally most users don t need to setup the network because DHCP is the default setting However if your network system does not contain a DHCP server Ver 1 09 Date Apr 25 2005 Page 35 Quicker User s Manual you need to configure the network setting by using the manual method The following steps demonstrate the procedure for how to configure the network system 4 Choose Start gt Settings gt Network and Dial_ up Connections on the Windows CE desktop to open this dialog 5 Double click the LAN90001 icon to open the LAN9000 Network Compatible Adapter Settings dialog LAN9000 Network Compatible Adapter Settings IP Address Name Servers An IP address can be Obtain an IP address via DHCP automatically assigned to this computer If vour network does not automatically assian et d82 168 254 200 IP addresses ask VOLI network IP Address 192 165 54 200 administrator for an address Subnet Mask uer Ee cm s j and then type tin the space B provided Default Gateway 1902 158 255 254 Fig 2 1 3 6 When the LAN9000 Network Compatible Ad
16. USERRATTR ERROR User defined register value must be 32768 to 32767 Appendix B Module List Analog Input Output Modules Digital u souiet Analog Output Modules 7011 7011D 7011P 7011PD 7041 7041D 7021 7021P 7012 7012D 7012F 7012FD 7042 7042D 7022 1024 7013 7013D 7043 7043D 7014D 7044 1044D 7016 7016D 7016P 7016PD 7050 7050D 7050A 7050AD 7017 7017F 7017C 7017R 7052 7052D 7018 7018P 7018BL 7053 7053D 7033 7033D 7060 7060D 7063 7063A 7063B 7063D 7063AD 7063BD 7065 7065D 7065A 7065B 7065AD 7065BD 7066 7066D 7067 7067D 7080 7080D 8037 8040 8041 8042 8050 8051 8052 8053 8054 8055 8056 8057 8058 8060 8063 8064 8065 8066 8068 8069 8077 TK SK 8 013 87017 87018 87051 87052 87053 87022 87024 87026 87K 87054 87055 87057 87058 87063 87064 37065 87066 87068 87069 Ver 1 09 Date Apr 25 2005 Page 79
17. access right depends on what kind of tag property it is Please refer to the 1 6 Adding A New Tag Write Value Timestamp It shows the time that the tag is written Write Value Quality Three kinds of qualities Good Bad and Uncertain would be shown If the communication status is good the quality shows Good If the communication status has something wrong the shows Bad And the other situation is Uncertain Write Value Value You can press the Write button to write the value you key in to the tag If the tag data type is Boolean the write value 0 means OFF and the write value not 0 means ON Ver 1 09 Date Apr 25 2005 Page 29 Quicker User s Manual 1 2 7 Editing A Device Group Tag properties To edit an existing Device Group Tag just select the Device Group Tag and then select the Properties option File Add View Help Cut Ctra Copy Cte k a Paste cuv Type ChannelLaca Delete Ciel de AOS Ctra Copy Ctrlee Paste crew Lo Tie En Scaling Delete Del Analog Output Analog Output a Parts Analog Output 2 E E n Analog Output 3 i la E a ies i Er a024 Se erties Ctrl P an EUM AOS E H go17_5 Ex des As z 7017 6 Hs ds Als gt E 10437 ET AS Cop tree coste cov Tee evene sce vae Delete Dal Bit Output Bit Output Bit Output El Bit Output 3 PA Dol Bit Output 4 E B f
18. communication oimulation signal The valid signal is SINE RAMP and RANDOM This field is validated when the module uses simulation I O Please refer to the Adding A New Device section OK Click on the OK button to add the new tag setting Cancel Click on the Cancel button to avoid any changes Scaling Enable Check this check box to enable the Settings button Settings Click on this button to set the scaling feature For more information please refer to the section 1 6 3 Scaling Settings 1 2 5 2 Adding a New Tag For Controller step 1 Click on the Add New Tag menu item or the icon to add a new tag Step 2 The Tag Properties window pops up Step 3 Choice the Settings page Because the tag belongs to the controller type device the Controller radio button is active Ver 1 09 Date Apr 25 2005 Page 23 Quicker User s Manual Tag Properties Settings Read amp write Mame Tagi Modbus address Output Register e Description Device Type 13 Internal Device O L 7EIESEIT 87E 110 Modules is Controlle Analog Input Type Channel Location output Regiske e Data Short w Scaling Enable Settings Simulation Sine Fig 1 2 5 2 1 Name Any Tag Name may be used but avoid names with spaces or punctuation such as The clients will use the Device Name and Tags to access its value Hence the Tag Name cannot b
19. four location types you can choice They are Input Coil Output Coil Input Register and Output Register When you monitor controller device see 1 2 Monitoring Device the Channel Location field will show a value according to the location and location type as belows Location Type Output Coil 000001 065536 Input Coil 100001 165536 Input Register 300001 365536 Output Register 400001 465536 simulation signal The valid signal is SINE RAMP and RANDOM This field is validated when the module uses simulation I O Please refer to the Adding A New Device section Click on the OK button to add the new tag setting Cancel Click on the Cancel button to avoid any changes Scaling Enable Check this check box to enable the Settings button Settings Click on this button to set the scaling feature For more information please refer to the section 1 6 3 Scaling Settings 1 2 5 3 Adding a New Tag For Internal Device step 1 Click on the Add New Tag menu item or the icon to add a new tag Step 2 The Tag Properties window pops up Ver 1 09 Date Apr 25 2005 Page 25 Quicker User s Manual Step 3 Choice the Settings page Because the tag belongs to the controller type device the Controller radio button is active Tag Properties OK x Settings Read amp Write Mame Modbus address jit iuEpuE Register EH Description Device Typ
20. iMBAddr short iRecv unsigned char iAttribute unsigned char GetAIO_Long unsigned short IMBAddr flong iRecv unsigned char Attribute unsigned char GetAIO_Float unsigned short MB Addr float iRecv unsigned char Attribute unsigned char GetAIO_Word unsigned short MB Addr unsigned short iRecv unsigned char Attribute unsigned char GetAIO_DWord unsigned short iMBAddr unsigned long iRecv unsigned char Attribute unsigned char SetDO unsigned short IMBAddr unsigned char iSend unsigned char SetAO_Short unsigned short IMBAddr short iSend unsigned char SetAO Long unsigned short IMBAddr long iSend unsigned char SetAO Float unsigned short iMBAddr float iSend unsigned char SetAO_Word unsigned short iMB Addr unsigned short iSend unsigned char SetAO DWord unsigned short MB Addr unsigned long iSend unsigned char MBSetToCoil unsigned short IMBAddress unsigned char iStatus unsigned char iAttr unsigned char MBGetFromCoil unsigned short MB Address unsigned char iStatus unsigned char 1Attr unsigned char MBSetToReg unsigned short MB Address short iStatus unsigned char iAttr unsigned char MBGetFromReg unsigned short MB Address short iStatus unsigned char 1Attr unsigned char UserSetCoil unsigned short iUserAddress unsigned char iStatus unsigned char UserGetCoil unsigned short iUserAddress unsigned char iStatus unsigned char UserSetReg Str unsigned short iUserAddress char iStatus unsi
21. iStatus out The pointer to an unsigned char variable Return Values O indicates success WCA USERADDR OVER means the iUserAddress over the range The legal range is from number 1 to number 19999 Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Get coil value from address 1 unsigned char 1Status UserGetCoil 1 amp iSatus VB NET Dim m_UserGetCoilVal As Byte Quicker UserShare UserGetCoil 1 m_UserGetCoilVal VC NET byte m_UserGetCoil Val Quicker UserShare UserGetCoil 1 out m_UserGetCoil Val UserSetReg_Str The function can set a string variable into share memory block Syntax eVC unsigned char UserSetReg_Str unsigned short 1UserAddress char 1Status VB NET VC NET byte UserSetReg_Str ushort 1UserAddress char cSetStr Parameters iUserAddress in The address which you want to set into The range of address is from 1 to 1024 Status out char variable Return Values O indicates success WCA USERADDR OVER means the iUserAddress over the range The legal range is from number to number 1024 Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Ver 1 09 Date Apr 25 2005 Page 71 Quicker User s Manual Example eV C Set string KKK into address 1 char SetString CString m_USA
22. incredible application combining with OPC client Modbus RTU TCP client and NAPOPC If using Rule Script inside the Quicker user can not only save lots of time developing system but also create a more stable and safer system The five sections below describe the timing and method to apply in different kind of situation 4 1 Quicker with OPC client Quicker is designed as OPC based architecture therefore it supports OPC client naturally Many WinCE based OPC clients in the world can apply with Quicker Please refers to its user manual for detail information The following sections show you how InduSoft Web Studio Version 6 0 connects to Quicker InduSoft Web Studio is a powerful integrated collection of automation tools that includes all the building blocks needed to develop human machine interfaces HMIs supervisory control and data acquisition SCADA systems and embedded instrumentation and control applications Web Studio runs in native Windows NT 2000 XP and CE Net 4 1 environments and conforms to industry standards such as Microsoft DNA OPC DDE ODBC XML SOAP and ActiveX For more information please visit http www indusoft com Ver 1 09 Date Apr 25 2005 Page 45 Quicker User s Manual step 1 Before using the InduSoft OPC Client module you need to configure the Quicker on the WinCon8000 first Be i Eit yw s Bue Hel a x Sooo Bt Cut 5 m Emo B Cutt 1 uo foot Bt Ont 2 il Er M J iz fo tug a re
23. module type has no sub Module Group and Tag Step 1 Select a device of module type you want to generate tags Step 2 Click on the Add Generate Tags menu item File CEN Edit view Help Lam Mew Device Ctrl O Mew Group Ctrl G S New Tag Ctri T J Search Modules Ee Mee ee Tags Fig 1 2 9 1 Tags are generated depending on the Module ID Possible tags are Analog Input Analog Output Digital Input Digital Output Latched DI and Counter 1 2 10 Services Setup This function lets you define which services you want to active for exchanging data with the other programs Quicker provides OPC Modbus RTU Modbus TCP and ScanKernel four services to be choosed In them the OPC is the default Modbus RTU and Modbus TCP services would active immediately by checking The ScanKernel service should check at all situation except just using OPC service or be the intermediary progame between user application programs Step 1 Click on the Services Setup menu item Services Setup f Modbus TCP Port number piz COM port comz l com port coma f px ocoo RM so vw Parity None Parity none v hal i Data Bits fe TU Data Bits e RTU Stop Bits f ww y wm Stop Bits Fig 1 2 10 1 step 2 Choose the services you want Ver 1 09 Date Apr 25 2005 Page 32 Quicker User
24. s Manual 1 2 11 Rule Script Editor This function lets you design your rule base for making your WinCon 8000 to be a DCS via Quicker The description of rule base of Quicker is like IF THEN The left upper corner in the Rule Script Editor has four conditions behind IF in which the variables are showed as modbus address and combined with AND OR each other The right upper corner in the Rule Script Editor has four outputs behind THEN in which the variables are showed as modbus address and combined with AND each other The relation between timer value and other variables is AND If the variable behind IF is Oxxxxx or 1xxxxx the Status would be 0 or 1 The value O means OFF and the value 1 means ON If the variable is 3XXXXX or 4xxxxx the Status would depend on the data type of variable Rule Script Editor cane THEN E v Timer son mis variable Assign Output Logic AND OR variable Judge Status Logic AND OR p00002 lo Jano None Jano o00003 lo ano None E gt Jor y ao v p00005 lo ano Mone E Em y gt 000006 y fo hctive Rule Script Hint DO xxxxx DI ixxxxx AD3xxxxx Ab 4xxxxx Rule Rave P IF THEN ooo0002 0 000000 and 000003 0 000000 Timer 30070 IF THEN 000002 0 000000 and 000003 0 000000 and 000005 0
25. sisas 6 1 2 1 SearcnMoOqUles RR T 6 L2 MORUOPIBO Devices aa di 11 12 2 AdE ANEW eS 12 1 2 3 1 Adding a New I 8K I 87K Embedded Module oocccccccccccnnncconononnnnonnnnnnnnnnnnnnnnnnnononannnnnncnnnnnnnnonnnnnnnnos 12 1232 AAddiug a New 1 7K l5K E87K VO Modulo 14 12 5 5 Addins a New Modbus FOP Controller ida 16 1234 Addins a New Modbus RTU GODLEPOlT 25i ida dida 18 P2305 Addins a New Internal ICE A A IS A 20 1 2 4 ATAN NEW 67207 Er 21 1 29 ARMENIO sisal EE 22 1 2 5 1 Adding a New Tag For I 7K I 8K I 87K I O Module essere eene eene 22 1252 Addis a New Tac bor Controller inicia terere pte nt v AAA Pea dac 29 boo 2xddins a New Las bor Internal Device ooo ioa eo Era m re ee id 23 Wi Saine SCUTIS S cero Forse ort een Eo e Nescit eben O tato ves oor a Mw acta ede Let a a a LI dd 27 1 2 6 Redd TILE TOT OOS AAA AAA A AAA AAA AA M 28 LAS Editing A Device Group l Go Proper ies iii AAA A AA A AAA AA AA 30 1 2 8 Deleting A JOOvice CGYOUD TG gt aii ties ben AE ERA AAA AAA AAA Ua dee doof 31 1 2 9 GOneranma TuS o m ntm Du E 32 ELA DECESO UD aaa 32 La A UNT A gas Det tUm tutu tuu IINE A M MAC ei ULTIMI ERA 33 DUM 2 I o P EM 34 Do AU cM satum et aM ee Tee eC AR UE Metas DI ae LA ore Te 34 PISA MINI OIC t s iesu homes aha eee eh A a aha ee Du Ld cou 34 Z WINCON S000 SE Macs Mo 34 Zel WINDOWS CE SETTIN OS dead aio 35 22 A E 37 Se QUIEK START nee n RNV deese I EEE AE ades 44 4 THE
26. wrong setting will always cause communication error for this controller Simulate I O The Simulate I O checkbox switches from reading l O from the module to running a simulator Since the simulator does not open the COM port it is an easy way to work with the server to configure tags or to connect clients without requiring any hardware OK Click on the OK button to add the new controller setting Cancel Click on the Cancel button to avoid any changes Step 5 Click on the OK button to add this new device 1 2 3 5 Adding a New Internal Device Step 1 Click on the Add New Device menu item or the Bl icon to add a new module Mew Group Mew Tag Ctri T Search Modules O id Fig 1 2 3 5 1 otep 2 The Device Properties window pops up otep 3 Click on the Controller radio button otep 4 Click on the Internal Device radio button Ver 1 09 Date Apr 25 2005 Page 20 Quicker User s Manual Device Properties Device Devices Internal Device m I 8kJI 87k Embedded Modules Controller Madule Setting Controller Setting Module 8017H E Timeout msec 200 Fort Type pM 0 7 for 8K 87K Modules O Modbus TCP Port Address TCP IP 0 1 7K 1 8K 1 87k Ij Modules Module Setting Module Timeout mSec 200 Address O 255 Checksum Disable Ie Slot De For BK 87K Modules COM Port Setting COM fi C Parity None Baud s600 patapi
27. 000000 cone D dd Tm ERIS Lr Fig 1 2 11 1 Add Press this button to the Rule list after editing each rule Delete Check the rules in the Rule list and then press this button to delete Edit Click the rule in the Rule list to edit and after that press this button to update Save save the Rule list to be Rule txt after finishing editing Cancel Leave this editor Active Rule Script It would be active immediately after checking this option If you wish to act the Rule script after rebooting Quicker you should save file with File Save Ver 1 09 Date Apr 25 2005 Page 33 Quicker User s Manual 1 2 12 File Save This function lets you save the configurations of Quicker For taking the correct configuration file of Quicker tdb after rebooting the WinCon 8000 you not only use File Save to save in the Quicker but also need the Save Registry tab function in the WinCon Utility Please refer to the 2 1 WinCon Utility 1 2 13 About Click on the Help About Quicker menu item to see the About Quicker window lt shows the version number Step 1 Click on the Help About Quicker menu item Step 2 The About Quicker window pops up About Quicker fa Quicker supports 7K 8K 87K series modules and modbus controllers version 1 01 Update Jan 21 2005 Copyright 2005 All Rights Fig 1 2 13 1 1 2 14 Minimize Quicker
28. 101 means v1 01 Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Get the Quicker version unsigned char iQversion iQversion GetVersion VB NET Dim Qversion As Byte iQversion Quicker System GetVerison VC NET byte 1Qversion 0 iQversion Quicker System GetVersion Ver 1 09 Date Apr 25 2005 Page 56 Quicker User s Manual 4 4 1 2 QuickerlO Function GetDIO This function can get a single digital I O status from a specific modbus address Syntax e V C unsigned char GetDIO unsigned short MB Addr unsigned char iRecv unsigned char 1Attribute VB NET VC NET byte GetDIO ushort iMBAddr out byte 1Recv byte Attribute Parameters MBA ddr in The modbus address of specific tag in the Quicker iRecv out The digital status of specific tag 1 means ON 0 means OFF Attribute in Assign which kind of digital status you want get 1 means digital input 0 means digital output Return Values O indicates success WCA_ ATT ERROR means the iAttibute is neither O nor 1 Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Get the digital I O status Get the digital input status from modbus address unsigned char iRecvIn GetDIO 1 amp iRecvIn 1 Get th
29. AS Modbus RTU Modbus TCP controllers The Internal Device could be the intermediary container between several user application programs or the intermediary device designing Rule Script 1 2 3 1 Adding a New I 8K I 87K Embedded Module Step 1 Click on the Add New Device menu item or the Bl icon to add a new module Ver 1 09 Date Apr 25 2005 Page 12 Quicker User s Manual en ive Ctrl T Search Modules Generate Tags Fig 1 2 3 1 1 Step 2 The Device Properties window pops up Step 3 Click the I 8K I 87K Embedded Modules radio button Device Properties Device Devices C Internal Device jas Embedded Modules C Controller odule Setting Controller Setting Port Type C Modbus TCP Port Address Es TCP IP C Modbus ATU Module 20i Timeout mseci 200 Or Far 8KI87K Modules 1 7K 1 8K 1 87K If0 Modules Module Setting Module Timeout mSec 200 Address 0255 Checksum Disa O Slot Or For SkI87K Modules Address Timeout 2 Msg Delay b C word swap COM Port Setting COM jl Parity Mone Baud 2600 E Data Bits 8 RTU Stop Bits Simulate 1 0 does not access the RS 485 Modnus device Fig 1 2 3 1 2 Device Name Names with spaces or punctuation such as cannot be used within a module name The clients use the Device Name and Tags to access its value The Device Name can not be the same as a
30. ChD6 DO ChD7 DO ChD8 DO Ch 9 DO Chi DO Chil DO Chi2 DO Ch13 DO Ch14 DO Ch15 AO Choo AO ChD1 AO ChD02 AO Ch 03 AI Choo AI Chol AI Ch 2 AI Ch 03 AI Ch 4 AI ChD05 AI ChD06 AI ChO BUE Te EOUUE oe A HOUUN If the Modbus RTU TCP clients of third party want to connect to Quicker just remember to check the services and P Please refer to the user manual of the third party made for setting And for Quicker please refer to the section ervices Setup 4 2 1 Supported Modbus Commands The Modbus protocol establishes the format for the master s query by placing into the device or broadcast address a function code defining the requested action any data to be sent and an error checking field The slave s response message is Ver 1 09 Date Apr 25 2005 Page 52 Quicker User s Manual also constructed using the Modbus protocol It contains fields confirming the action taken any data to be returned and an error checking field If an error occurred in receipt of the message or if the slave is unable to perform the requested action the slave will construct an error message and send it as its response Code Description I O Unit Min Max Code Description WO Unt Mi Max 01 0x01 Read Coil Status In 02 0x02 Read Discrete Inputs Status In 2000 0x7D0 03 0x03 Read Holding Registers Registers In 125 0x7D 125070 050100 4 3 Quicker with NAPOPC You can construct
31. Quicker User s Manual Quicker User s Manual Version 1 09 Supports 7000 8000 87000 series modules and modbus controllers W 8031 8331 8 315eries Ver 1 09 Date Apr 25 2005 Page 1 Quicker User s Manual Warranty All products manufactured by ICPDAS Inc are warranted against defective materials for a period of one year from the date of delivery to the original purchaser Warning ICPDAS Inc assumes no liability for damages consequent to the use of this product ICPDAS Inc reserves the right to change this manual at any time without notice The information furnished by ICPDAS Inc is believed to be accurate and reliable However no responsibility is assumed by ICPDAS Inc for its use or for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 1998 2005 by ICPDAS Inc LTD All rights reserved worldwide Trademark The names used for identification only maybe registered trademarks of their respective companies License The user can use modify and backup this software on a single machine The user may not reproduce transfer or distribute this software or any copy in whole or in part Ver 1 09 Date Apr 25 2005 Page 2 Quicker User s Manual Table of Contents L ZINIRODUCTION TO OUICKER ereraa ye eE araen y DESEE ERES ERR CRERUE EEP ee E REREMESSE ER ERN ER EN ONIAN A ESELA DESRENA 4 1 1 INSTAT LE QUICRKER aia AAA ANA AAA AAA 5 bez PUNCHON OVER VIEW
32. Syntax eVC unsigned char UserSetReg_Long unsigned short iUserAddress long iStatus VB NET VC NET byte UserSetReg_Long ushort 1UserAddress out long 1Status Parameters iUserAddress in The address which you want to set into The range of address is from 1 to 19999 Status out long variable Return Values O indicates success WCA USERADDR OVER means the iUserAddress over the range The legal range is from number 1 to number 19999 Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Set register value 112233 into address 1 UserSetReg_Long 1 112233 Ver 1 09 Date Apr 25 2005 Page 76 Quicker User s Manual VB NET Dim Rtn As Byte Dim UserSetRegLongVal As Integer Rtn Quicker UserShare UserSetReg_Long 1 UserSetRegLong Val VC NET byte Rtn int RegLong Rtn Quicker UserShare UserSetReg_Long 1 out RegLong UserGetReg_Long The function can get a long variable from share memory block Syntax eVC unsigned char UserGetReg_Long unsigned short 1UserAddress long iStatus VB NET VC NET byte UserGetReg_Long ushort 1UserAddress out long iStatus Parameters iUserAddress in The address which you want to get from The range of address is from 1 to 19999 Status out The pointer to a long variable Return Values O indicates success WCA USERADDR_OVER means the iU
33. ValStr m_USAValStr _T KKK SetString LPSTR LPCTSTR m_USAValStr UserSetReg_Str 1 SetString VB NET Dim Rtn As Byte Dim UserSetRegStrVal As String Rtn Quicker UserShare UserSetReg_Str 1 UserSetRegStrVal ToCharArray VC NET byte Rtn string UserSetRegStrVal Rtn Quicker UserShare UserSetReg_Str 1 UserSetRegStrVal ToCharArray UserGetReg_ Sir The function can get a string variable from share memory block Syntax eVC unsigned char UserGetReg_Str unsigned short 1UserAddress char iStatus VB NET VC NET byte UserGetReg_Str ushort 1UserAddress byte cGetStr Parameters iUserAddress in The address which you want to get from The range of address is from 1 to 1024 Status out The pointer to a long variable Return Values O indicates success WCA USERADDR OVER means the iUserAddress over the range The legal range is from number to number 1024 Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Get string from modbus address 1 char 1Status 256 UserGetReg_Str 1 iStatus Ver 1 09 Date Apr 25 2005 Page 72 Quicker User s Manual VB NET Dim UserGetStr 256 As Byte Dim Rtn As Byte Rtn Quicker UserShare UserGetReg_Str 1 UserGetStr VC NET byte Rtn byte UserGetStr new byte 256 Rtn Quicker UserShare UserGetReg_Str 1 UserGetStr UserSetReg F
34. a complete control system from top to bottom via Quicker combining with NAPOPC and SCADA software Please refer to the 1 2 10 Services Setup to set up Quicker services depending on which communication way that NAPOPC used As for NAPOPC please refer to the 1 4 2 Adding A New Modbus TCP Controller and 1 4 3 Adding A New Modbus RTU Controller in the NAPOPC user manual 4 4 Quicker with User Application Users can develop their own application program with eVC VB NET or VC NET and share data with Quicker via Quicker API User can use the Modbus RTU TCP services or just use the share memory inside Quicker to exchange data between different programs We do not focus on the programming skill of eVC VB NET VC NET We just focus on the Quicker API below 4 4 1 Quicker API for eVC Developer Step 1 Create a new eVC project with choosing Win32 WCE ARMV4 CPU option Step 2 include WinConAgent h Step 3 Refer to the following functions to design your own program Step 4 Build your project with release mode Note Quicker dll and eVC application program must be copied to the same folder in the WinCON 8000 unsigned char StartQuicker unsigned char 1Mode unsigned char StopQuicker void unsigned char GetVersion Ver 1 09 Date Apr 25 2005 Page 53 Quicker User s Manual unsigned char GetDIO unsigned short iMBAddr unsigned char iRecv unsigned char 1Attribute unsigned char GetAIO_Short unsigned short
35. abled fields were unchecked the search would be undefined Checksum Enabled If this field is checked it searches modules with checksum If both the Disabled and Enabled fields were unchecked again the search would be undefined Timeout Specifies the timeout value of communication to each module The default value is 200 equal to 0 2 Seconds measured in millisecond s 0 001 Second s After a module has been found this timeout value will also be recorded for further use Users can reduce this value to shorten the search time Be careful A shorter search time may cause communication failure Status It shows the searching status includes progress in Address in A Baud Rate in B Checksum in S and Error Code in EC The timeout error code is 15 In most cases it indicates no module has responded to the current command Search After setting the above options click this button to search The window will be closed automatically when completed Stop Ver 1 09 Date Apr 25 2005 Page 9 Quicker User s Manual During the search users can click the button to stop The window will stay on the screen after the search is cancelled Exit Users can click the button to close the window Step 6 After the search the discovered modules will be listed on the Device Window left side Users can also see the tags on the Tag Window right side generated by the Search Modules File Add Ed
36. apter Settings dialog displays see figure click enable the Specify an IP address radio button in the IP Address tab and type in the IP Address Subnet Mask and Default Gateway into the respective fields 7 Choose the Name Servers tab and also type in the Primary DNS secondary DNS Primary WINS and Secondary WINS into the respective fields as shown in the figure below LANOO000 Network Compatible Adapter Settings IP Address Name Servers Mame server addresses may be Primary DNS Mel 95 192 1 aLitomatically assigned if DHCP is enabled on this adapter Secondary DNS 168 Ug des i You can specify additional WINS or DNS resolvers in the Inn WINS Par tii secondary wine 7 Fig 2 1 4 8 Click OK Note If you have changed any value of network configuration you must save the registry by means of WinCon Utility tools For more information about the WinCon Utility tool please refer to the WinCon Utility section Setting up the Device Name You can configure Wincon 8000 to have the device name of your choice To change the device name please refer to the following steps 9 Choose Start gt Settings gt Control panel to open the Control panel dialog Ver 1 09 Date Apr 25 2005 Page 36 Quicker User s Manual 10 Double click the System icon on the Control panel dialog to open the System Properties 11 When the System Properties dialog is displayed see figure select the De
37. ariable Return Values O indicates success WCA USERADDR_OVER means the iUserAddress over the range The legal range is from number 1 to number 19999 Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Get register value from address float 1Status UserGetReg_Float 1 amp iSatus VB NET Dim Rtn As Byte Dim m_UserGetRegFloatVal As Single Rtn Quicker UserShare UserGetReg_Float 1 m_UserGetRegFloatVal VCA NET byte Rtn float m_UserGetRegFloatVal Rtn Quicker UserShare UserGetReg_Float 1 out m_UserGetRegFloatVal UserSetReg_ Short The function can set a short variable into share memory block Syntax eVC unsigned char UserSetReg_Short unsigned short 1UserAddress short iStatus VB NET VC NET byte UserSetReg_short ushort 1UserAddress out int 1Status Ver 1 09 Date Apr 25 2005 Page 74 Quicker User s Manual Parameters iUserAddress in The address which you want to set into The range of address is from 1 to 19999 Status out short variable Return Values O indicates success WCA USERADDR OVER means the iUserAddress over the range The legal range is from number to number 19999 Remarks Requirements Runmson_ Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Set register value 222 into addre
38. ch can be run after the WinCE system has been launched on the WinCon 8000 system You can set ten execute files through the Browse button on the tab for WinCon Utility as shown in the below figure Note that they are executed in order of program 1 program 2 WinCon Utility 1 Ver 2 1 0 OK E Save Registry System Config Auto execute version Update Com About Winton Utility 1 At most 10 programs can Program 1 Browse Program z Browse Program 3 Browse be specified to execute Program 4 Browse automatically when system starup And there is none Program 5 Browse dependency between each program Program amp Program 7 Browse Program 8 n Browse Program 9 Browse Program 10 41 Browse Save Setting Fig 2 2 4 The tab includes the following folders Program 1 10 boxes These files allow one to configure the auto execute files for Wincon 8000 for when it is started up You can choose the execute Ver 1 09 Date Apr 25 2005 Page 40 Quicker User s Manual file and file directory path by means of the Browse button e Save Setting button If you have changed the settings for the Program 1 10 field contents you must then click the Save Setting button before closing the WinCon Utility window Version Update Tab The Version Update tab provides the function to be able to update newer versions of the operat
39. checked it removes all modules from the list window before searching Checking this box prevents adding a duplicate module The default setting is not checked Local Search If this field is checked it searches the I 8K modules plugged in the WinCon8000 first Baud Rate Searching opecifies which Baud Rate will be looking for The default setting is 9600 Naturally if multiple baud rates are checked the search will be longer Quicker has to close and then reopen the COM ports to communicate with Ver 1 09 Date Apr 25 2005 Page 8 Quicker User s Manual modules when searching for multiple baud rates This also reduces communication performance Thus using the same baud rate and COM port number for every module is highly recommended Select All Sets all the Baud Rate fields to be checked Please refer to the above Baud Rate Searching section Clear All Sets all the Baud Rate fields to be unchecked nothing to search Please refer to the above Baud Rate Searching section Address Start Specifies the starting address The default value is 1 and the valid range is from 1 to 255 It won t search for an address below these settings Address End Specifies the ending address The default value is 255 and the valid range is from 1 to 255 It won t search for an address greater than these settings Checksum Disabled If this field is checked modules are searched with no checksum If both the Disabled and En
40. cific tag Attribute in Assign which kind of analog value you want get Return Values O indicates success WCA_ ATT ERROR means the iAttibute is neither O nor 1 Remarks Requirements _Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Get the analog I O value Get the analog input value from modbus address float fRecvIn GetAIO_Float 1 amp fRecvIn 1 Get the analog output value from modbus address 2 float fRecvOut GetAIO_Float 2 amp fRecvOut 0 VB NET Dim m GetAIOVal As Single Quicker QuickerIO GetAIO Float 7 m GetAIO Val 0 VCA NET float m_GetAlOVal Quicker QuickerlO GetAIO_Float 7 out m_GetAIOVal 0 GetAlO_Word This function can get a single analog I O value from a specific modbus address Syntax eVC unsigned char GetAIO_Word unsigned short iMBAddr unsigned short Recv unsigned char 1Attribute Parameters MBA ddr in The modbus address of specific tag in the Quicker iRecv out The analog value of specific tag iAttribute in Assign which kind of analog value you want get Return Values O indicates success WCA_ ATT ERROR means the iAttibute is neither O nor 1 Remarks Ver 1 09 Date Apr 25 2005 Page 60 Quicker User s Manual Requirements WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Get the analog I O value Get the analog input valu
41. cker automatically Moreover if you want to execute the Quicker exe automatically while WinCon 8000 boots up please refer to the Auto execute function at 2 1 WinCon Utility File Edit View Go Favorites lladdres al Compact Flash Quicker Name i ES size Type IFODOCE 104KB Application Extension s MBT ool 22 0KB Application Extension s opccomn ps 60 0KE Application Extension i OPCDAAuta 1127EB Application Extension OPCProxy 72 SKB Application Extension im Quicker 260 bytes Unknown Type Quicker S 00KB Application Extension go S18KB Application Ejem er evi Demo 15 0KB Application A jouickerBoaots 4 50KE Application monk r ss me minm m m Fig 1 1 1 After that you just execute the main program Quicker exe which would call I7000CE DLL UARTCE DLL MBTool DLL WinConSDK DLL and Quicker DLL by itself to use Quicker If the files under Compact Flash Quicker loss or crash please copy the files under COMPACT FLASH Quicker in the CD to Compact Flash Quicker by yourself Ver 1 09 Date Apr 25 2005 Page 5 Quicker User s Manual 1 2 Function Overview 1 2 1 Search Modules The Search Modules function lets you configure Quicker automatically It searches the RS 485 network and embedded modules to find modules and then generates tags automatically This version of Quicker not only generates Al AO DI DO Latched DI and Counter tags but also
42. dicates success Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Set the analog output value as 5 5 to modbus address SetAO_Float 1 5 5 VB NET Quicker QuickerIO SetAO Float 1 5 5 Ver 1 09 Date Apr 25 2005 Page 64 Quicker User s Manual VC NET Quicker QuickerIO SetAO Float 1 5 5 SetAO Word This function can set a single analog output value to a specific modbus address Syntax eVC unsigned char SetAO_Word unsigned short MB Addr unsigned short 1Send VB NET VC NET byte SetAO_Word ushort 1iMBAddr out ushort iSend Parameters MBA ddr in The modbus address of specific tag in the Quicker Send out The analog value of specific tag Return Values O indicates success Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Set the analog output value as 222 to modbus address SetAO Word 1 222 VB NET Quicker QuickerIO SetAO_Word 1 222 VC NET Quicker QuickerlO SetAO_Word 1 222 SetAO DWord This function can set a single analog output value to a specific modbus address Syntax e V C unsigned char SetAO_DWord unsigned short MB A ddr unsigned long iSend VB NET VC NET byte SetAO_DWord ushort MB Addr out ulong 1Send Paramete
43. dule HAT Registry for Factory Setting Factor Default Save Fig 2 2 7 2 Toclick Slot Scan button and show all Cards in system Ver 1 09 Date Apr 25 2005 Page 42 Quicker User s Manual Hew Card Wizard Ver 1 0 OK x Resource 8041 Digital Out zi 8040 Digital In x 801 Analog In 4 8024 Analog Cut 5 8114 Serial Port Devicel Device Slote Shot Slot Scan Registry Save Mew Module Registry for Factory Setting Fig 2 2 8 3 To click Save New Module button and save the setting Card Mame Resource Slotl 5041 Slot 8040 He pro Slota clats It will take few minute to create registry for new Module Syst hern ai Slot Janey Slot Scan Registry Save Mew Module Registry for Factory Setting Factor Default Save Fig 2 2 9 Ver 1 09 Date Apr 25 2005 Page 43 Quicker User s Manual 4 Toclick Yes button and reset to finish adding Com Port New Card Wizard Ver 1 0 Card Marne Slot Slot2 Slots 8017 Slot Slots Slote 1115113 Slot Slot Scan Registry Save New Module About WinCon Utility 1 Tab This tab provides an easy function to hyperlink to the ICPDAS World Wide Web site http www icpdas com This is the best place to go for the latest developments and support information application stories and product news 3 Quick Start Pl
44. e en Internal Device y v T M Tg NA 2 qa a eL poke FEIT SEITI S7E HO Modules Analog Input Type Channel O Controller Location Output Reg ste Scaling 7 Enable Settings Simulation sine m ps Fig 1 2 5 3 1 Name Any Tag Name may be used but avoid names with spaces or punctuation such as The clients will use the Device Name and Tags to access its value Hence the Tag Name cannot be a duplicate of another tag in the same group Modbus address opecifies an unique modbus address for this tag in order to communicate with modbus client The default address is already an unique one After that you also need to choose the address type There are four address types you can choose They are Input Coil Output Coil Input Register and Output Register which depends on your tag property It is important to give an appropriate modbus address type and address value Address Type Output Coil 000001 065536 Input Coil 100001 165536 Input Register 300001 365536 Output Register 400001 465536 Ver 1 09 Date Apr 25 2005 Page 26 Quicker User s Manual Description Specifies the description text for this tag This can be blank 1 2 5 4 Scaling Settings In general the Scaling feature is only useful for the floating point data type Tag Process Settings Scaling Ray Units Em b Scales En Enn fo Max 1000 Max fio Conversion 8
45. e Change FTP default directory Temp to Prem Change Change HTTP default directory compact FlashiTemp HTTF to Compact FlashhTemp HTTP Change Fig 2 2 1 The Save Registry tab includes the following folders e Save and Reboot button It will take several seconds to save your settings into registry and non volatile internal memory You must then reboot the system for the new configuration e Recover to Factory Setting button It will take several seconds to clear your registry settings back to Factory Setting and Wright to non volatile internal memory You must then reboot the system for the new configuration e View Registry button Any settings are changed in the WinCon embedded controller can be pre viewed by using this function It is just like the regedit Ver 1 09 Date Apr 25 2005 Page 38 Quicker User s Manual function in the windows system that you are very familiar with shown in below figure File Help ES HKEY CLASSES ROOT E HKEY CURRENT USER l E HKEY LOCAL MACHINE E HKEY USERS NA Fig 2 2 2 e Change the VGA resolution box You can setting the VGA Resolution to 320x240 640x480 800x600 or 1024x768 and 2 4 8 16 bits color Bpp the monitor reflash Frequncy for normal TFT LCD setting is 60 Hz e Change FTP default directory to box Enter a FTP default directory path and click change button to setup the defined path to the ftp server e Change HTTP default directory to box
46. e a duplicate of another tag in the same group Modbus address Specifies an unique modbus address for this tag in order to communicate with modbus client The default address is already an unique one After that you also need to choose the address type There are four address types you can choose They are Input Coil Output Coil Input Register and Output Register which depends on your tag property It is important to give an appropriate modbus address type and address value Address Type Output Coil 000001 065536 Input Coil 100001 165536 Input Register 300001 365536 Output Register 400001 465536 Description Specifies the description text for this tag This can be blank Ver 1 09 Date Apr 25 2005 Page 24 Quicker User s Manual Specifies the data type of this tag which s location type is Input Register or Output Register NAPOPC Server support five kinds of data type which are Short Long Float Word and DWord Data Type 16 bit signed integer 32768 32767 Long 32 bit signed integer 2147483648 2147483647 Floating point variable 1 7E 308 1 7E 308 Word 16 bitunsigned integer 0 65535 DWord 32 bitunsigned integer 0 4294967295 Location Specifies the tag address It must be the same with the the variable address in the controller Besides you have to choice the location type After you choice the location number there are
47. e digital output status from modbus address 2 unsigned char iRecvOut GetDIOQ amp iRecvOut 0 VB NET Dim m_GetDIOVal As Byte Quicker QuickerIO GetDIO 7 m_GetDIOVal 0 VC NET byte m_GetDIO Val Quicker QuickerlO GetDIO 7 out m_GetDIOVal 0 Ver 1 09 Date Apr 25 2005 Page 57 Quicker User s Manual GetAlO_ Short This function can get a single analog I O value from a specific modbus address Syntax eVC unsigned char GetAIO_Short unsigned short iMBAddr short Recv unsigned char 1Attribute VB NET VC NET byte GetAIO_Short ushort MB Addr out short fRecv byte 1Attribute Parameters iMBAddr in The modbus address of specific tag in the Quicker iRecv out The analog value of specific tag iAttribute in Assign which kind of analog value you want get Return Values O indicates success WCA_ ATT ERROR means the iAttibute is neither O nor 1 Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Get the analog I O value Get the analog input value from modbus address short sRecvIn GetAIO_Short 1 amp sRecvIn 1 Get the analog output value from modbus address 2 short sRecvOut GetAIO_Short 2 amp sRecvOut 0 VB NET Dim m GetAIOVal As short Quicker QuickerIO GetAIO Short 7 m GetAIOVal 0 VC NET short m_GetAlOVal Quicker QuickerIO GetAIO Short 7 0ut m_GetAIOVa
48. e from modbus address unsigned short usRecvIn GetAIO_Word 1 amp fRecvIn 1 Get the analog output value from modbus address 2 unsigned short usRecvOut GetAIO_Word 2 amp usRecvOut 0 VB NET Dim m GetAIOVal As UInt16 Quicker QuickerIO GetAIO Word 7 m GetAIOVal 0 VC NET ushort m_GetAlOVal Quicker QuickerIO GetAIO Word 7 out m GetAIO Val 0 GetAlO_DWord This function can get a single analog I O value from a specific modbus address Syntax eVC unsigned char GetAIO_DWord unsigned short MB Addr unsigned long iRecv unsigned char Attribute VB NET VC NET byte GetAIO_DWord ushort iMB Addr out ulong fRecv byte 1Attribute Parameters iMBAddr in The modbus address of specific tag in the Quicker iRecv out The analog value of specific tag iAttribute in Assign which kind of analog value you want get Return Values O indicates success WCA_ ATT ERROR means the iAttibute is neither O nor 1 Remarks Requirements Runson Versions Definedin Include Link to WinCon 8000 4 1 0 0 and later Quicker lib WinConAgenth Ver 1 09 Date Apr 25 2005 Page 61 Quicker User s Manual Example eV C Get the analog I O value Get the analog input value from modbus address unsigned long ulRecvIn GetAIO_DWord 1 amp ulRecvIn 1 Get the analog output value from modbus address 2 unsigned long ulRecvOut GetAIO DWord Q amp ulRecvOut 0 VB NET Dim
49. e the tag name created in database Step 8 In the first cell of the item you have to write it the same as the Quicker configuration Please refer to the demo at CD Compact Flash Quicker Demo InduSoft Full Ver 1 09 Date Apr 25 2005 Page 49 Quicker User s Manual Dercnpion porcas Firm LI date Fiate rra Patent Duende She u 100 i Fiemote Sint Hanes quove 2 E Tag Name Herr Sean E i 13064_Ch00 405421 005 Choe E Ez 2 8064 Choi 8064 1 DOs Chl Bheires lanes Chor g06 1 005 Chi Bares T 4 qu 4 Cs g064_1 D005 0h02 Biways z 5 I 054 ChO4 8054 1 DOsCh 4 Awning amp ited ChOS 9064 1 005 10 LE EE T ted CRO g e4 1 Doschns Pav ated ChOT Bed 1 D oz ch Aag Lr 14059 Cho 4051 2013 Chop Alvar Step 9 Repeat the step between 7 to 8 to add more tags otep 10 Creating a Text String for the Input Output Dynamic Click the Text icon on the Object Editing toolbar Position the crosshairs in the MAIN SCR Press the z key three times to display in the gray square otep 14 Click the Text Input Output property icon on the Object Editing toolbar Text I O appears in the drop down menu of the Object Properties window In the Tag Expression field type the tag name you want to link otep 15 After you finish the configuration Execute the InduSoft Remote Agent by clicking Compact Flash Indusoft CEServer exe
50. ease follow these steps 1 Wiring Modules or Controllers Wiring modules in the RS 485 network Refer to GetStart pdf Wiring controllers to WinCon8000 Running Quicker Launch Quicker by means of executing the Quicker exe or QuickerBoot exe Searching Modules Refer to the 1 2 1 Searching Modules section to search modules Ver 1 09 Date Apr 25 2005 _2 8040 Digital In 3 8017 Analog In _4 8024 Analog Out 5 8114 Serial Port Registry for Factory Setting Fig 2 2 10 Configuring Modules or Controllers Using the DCON Utility to set modules Refer to GetStart pdf Using ISaGRAF to configure the 7188EG XG or I 8xx7 Page 44 Quicker User s Manual 5 Adding a new controller Refer to the 1 2 3 Adding A New Device section to add a new modbus RTU or modbus TCP controller 6 Saving Configuration Refer to the 1 2 12 File Save section to save the configuration 7 Closing Quicker Close Quicker by clicking the File Exit menu item Additional references Modules htm A list of modules that Quicker supports A list of module supported commands Descriptions of each command type GetStart PDF This manual can be downloaded from our web site It describes the following topics Connecting modules The DCON Utility user s manual Introduction to NAP7000P Introduction to NAP7000X Dual Watchdog FAQ for 7000 4 The Application of Quicker D IAS User can develop an
51. eaut Msg Delay JU Data Bits E RTL Ka Stop Bits L Ir Simulate I O does not access the RS 485 Modnus device Word Swap Cancel Fig 1 2 3 4 2 Device Name Names with spaces or punctuation such as cannot be used within a module name The clients use the Device Name and Tags to access its value The Device Name can not be the same as any other module Address opecifies a Address for this controller The default value is 1 and the valid range is between 1 to 255 Timeout opecifies timeout Response time value for this controller The default value is 200 ms A smaller timeout value may cause communication failure and a larger timeout value may reduce the performance of the client program Msg Delay Specifies message delay value for this controller The default value is O ms A smaller msg delay value may have a higher system loading but it will have a faster data exchange speed Word Swap The Word Swap checkbox switches the interpretation of 4 Byte values Sometimes we need to make the checkbox TRUE in order to achieve the purpose of Lo Hi Hi Lo communication Ver 1 09 Date Apr 25 2005 Page 19 Quicker User s Manual COM Port Specifies the COM port to be used Please verfiy which COM port number that the RS 485 network is using Wrong settings will always cause communication failure Baud Rate Specifies the baud rate to be used Verify the module s current baud rate A
52. ectory containing one or more tags A module may have many subgroups of tags All tags belong to their module when they are scanned to perform I O The OPC stands for OLE for Process Control and the DA stands for Data Access For software use Quicker creates a set up procedure requiring at most three steps for different kinds of users This kind of procedure simplifies the designing process for the programmer and ensures the stability and efficiency of control system Quicker can not only automatically map the physical I O to a specific Modbus address but also allows users to define their own variables into it Therefore users can develop their own application program with eVC VB NET and VC NET programming language via the Modbus RTU and Modbus TCP protocol to share their specific data with Modbus client Moreover users can operate the Quicker and NAPOPC in coordination to create a fantastic solution integrating SCADA software with on line data e ICPDAS ICPDAS ICPDAS Fig 1 1 Ver 1 09 Date Apr 25 2005 Page 4 Quicker User s Manual The main program of Quicker is Quicker exe lt automatically calls the I7000CE DLL UARTCE DLL MBTool DLL WinConSDK DLL and Quicker DLL functions on demand 1 1 Install Quicker You have to execute QuickerBoot exe in the compact flash of WinCon 8000 when you use Quicker for the first time after that QuickerBoot exe will register Qui
53. g 1 123 1 VB NET Quicker Modbus MBSetReg 1 123 1 VCA NET Quicker Modbus MBSetReg 1 123 1 Ver 1 09 Date Apr 25 2005 Page 68 Quicker User s Manual MBGetReg The function can get a register value from a specific modbus address Syntax eVC unsigned char MBGetReg unsigned short MB Address short iStatus unsigned char 1Attr VB NET VC NET byte MBGetReg ushort 1MBAddress out short 1Status byte Attr Parameters iMBAddress in The modbus address which you want to get from The range of modbus address is from 255 to 2048 iStatus out The register value of specific modbus address LA ttr in Assign which kind of register you want get means input register which will be requested by modbus function number 4 0 means output register which will be requested by modbus function number 3 6 16 Return Values O indicates success WCA_MBADDR_OVER means the MB Address over the range The legal range is from number 255 to number 2048 WCA_MBATTR_ERROR means the 1Attr 1s neither 1 nor 0 Remarks Requirements Runmson_ Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Get input register value from address 1 short 1Sataus MBGetReg 1 amp iSatus 1 VB NET Dim m_MBGetRegVal As short Quicker Modbus MBGetReg 1 m_MBGetRegVal 1 VC NET short m_MBGetReg Val Quicker Modbus MBGeReg 1 out m_MBGetRegVal 1
54. gned char UserGetReg_Str unsigned short iUserAddress char iStatus unsigned char UserSetReg Float unsigned short 1UserAddress float iStatus unsigned char UserGetReg Float unsigned short iUserAddress float iStatus unsigned char UserSetReg_Short unsigned short iUserAddress short iStatus unsigned char UserGetReg_Short unsigned short iUserAddress short iStatus unsigned char UserSetReg_Long unsigned short iUserAddress long iStatus unsigned char UserGetReg_Long unsigned short iUserAddress long iStatus 4 4 1 1 System Function This group provides two functions for users to start and stop the Quicker exe before using QuickerIO Function and Modbus Function StartQuicker This function launches the Quicker with different mode Syntax eVC unsigned char StartQuicker unsigned char iMode VB NET VC NET byte Quicker System StartQuicker byte 1Mode Parameters iMode in The decimal number of kernel mode It is always 1 now It will provide another mode in the future Ver 1 09 Date Apr 25 2005 Page 54 Quicker User s Manual Return Values 0 indicates success If the Quicker has been run the function will return mode number Please refer to the Appendix 2 1 Remarks You have to call this function to launch the Quicker before using the QuickerIO and Modbus functions Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgen
55. ing system Users can download the OS image file from the web site http www icpdas com You can choose the new OS image file name and directory path with the Browse button Click the Write to flash now button to update the current OS version It will take ten or more minutes to update your OS to Flash memory and then reboot your system Winton Utility 1 Ver 2 1 0 Save Registry System Config Auta execute Version Update cam about wincon Utility 1 Specify the new OS image file for version update Browse gx WServerNameShareFolderName nk bin Write to Flash new Fig 2 2 5 ComPort Tab Fig 2 12 Wincon 8000 show set the touch screen Com Port No now we can support ELO 3COM Dynapro EGALAX Please plug in the right Com Port No Ver 1 09 Date Apr 25 2005 Page 41 Quicker User s Manual Winton Utility 1 Ver 2 1 0 Save Registry System Config Auto execute version Update Com about Winton Utility 1 Serial Touch Change ComPort 9 Disable 3 Elo COMO Dynaproa COMO Eqalax COMO Parallel Communication Modules Setting Fig 2 2 6 Setting the 1 81 XX Serial Port 1 To click New Card Wizard button and show the New Card Wizard Window New Card Wizard Wer 1 0 OK x Card Marne Sloti Resource Slot2 Slots Slot Slots Slot Slot Slot Scan Registry Save Mew Mo
56. isabled for the 8000 sub devices It will use the 8000 main device s COM port setting Baud Rate opecifies the baud rate to be used Verify the module s current baud rate A wrong setting will always cause communication error for this module This field is disabled for the 8000 sub devices It will use the 8000 main device s baud rate Simulate I O The Simulate O checkbox switches from reading I O from the module to running a simulator Since the simulator does not open the COM port it is an easy way to work with the server to configure tags or to connect clients without requiring any hardware This field is disabled and not used for the 8000 main device Ver 1 09 Date Apr 25 2005 Page 15 Quicker User s Manual Slot The 8000 main device has 4 or 8 slots for the 8000 sub device to plug in This slot field indicates the slot number that the 8000 sub device is using The valid range is from 0 to 7 This field is disabled for 8000 main device and 7000 series modules OK Click on the OK button to add the new module setting Cancel Click on the Cancel button to avoid any changes Step 4 Click on the OK button to add this new module 1 2 3 3 Adding a New Modbus TCP Controller Step 1 Click on the Add New Device menu item or the t amp l icon to add a new module Few Group Mew Tag Ctrl T Search Modules Generate Tags Fig 1 2 3 3 1 Step 2 The Device Properties window pops up
57. it Bit t Input Bit Input Bit Input function automatically Bit Input 3 Bit Input Bit Input 5 Bit Input 6 EM 3017_5 2 chor Bit Input 7 E de Als 2 Chos Bit Input a EB 7017 6 choo Bit Input g des Als 2 chio Bit Input 10 chil Bit Input 11 2 chiz Eit Input 12 chi3 Bit Input 13 chi4 Bit Input 14 Chis Eit Input 15 Fig 1 2 1 6 The Search Modules function generates Digital Input Digital Output Bit Input or Bit Output tags The Digital Input and Digital Output tags use one communication to read the status of all channels while the Bit Input and Bit Output tags use one communication to read only one channel status The Digital Input and Digital Output tags have better performance than the Bit Input and Bit Output tags Using the Digital Input and Digital Output tags to access modules is highly recommended Ver 1 09 Date Apr 25 2005 Page 10 Quicker User s Manual File Add Edit View Help Bit Input O Bit Input 1 Bit Input e Bit Input E E Pee 4 J 6 n B d Bit Input 10 Bit Input 11 Bit Input lz Bit Input 13 Bit Input 14 Bit Input 15 1 2 2 Monitoring Devices Use the Monitor function to see values of tags by checking the View Monitor menu item Uncheck the item to stop monitoring otep 1 Click the View Monitor menu item to enable monitor File Add Edit We Help v Status Bar Gral d Name Twpe chamnel loca
58. l 0 GetAIO Long This function can get a single analog I O value from a specific modbus address Syntax eVC unsigned char GetAIO_Long unsigned short iMBAddr long iRecv unsigned char Attribute Ver 1 09 Date Apr 25 2005 Page 58 Quicker User s Manual Parameters MBA ddr in The modbus address of specific tag in the Quicker iRecv out The analog value of specific tag iAttribute in Assign which kind of analog value you want get Return Values O indicates success WCA_ ATT ERROR means the iAttibute is neither O nor 1 Remarks Requirements WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Get the analog I O value Get the analog input value from modbus address long IRecvIn GetAIO_Long 1 amp fRecvIn 1 Get the analog output value from modbus address 2 long IRecvOut GetAIO_Long 2 amp fRecvOut 0 VB NET Dim m GetAIOVal As long Quicker QuickerIO GetAIO Long 7 m GetAIO Val 0 VC NET long m_GetAIOVal Quicker QuickerlO GetAIO_Long 7 out m_GetAIOVal 0 GetAIO Float This function can get a single analog I O value from a specific modbus address Syntax eVC unsigned char GetAIO Float unsigned short MB Adadr float Recv unsigned char 1Attribute Parameters MBA ddr in The modbus address of specific tag in the Quicker Ver 1 09 Date Apr 25 2005 Page 59 Quicker User s Manual iRecv out The analog value of spe
59. l range is from number 499 to number 2048 WCA MBATTR ERROR means the 1Attr 1s neither 1 nor 0 Remarks Ver 1 09 Date Apr 25 2005 Page 66 Quicker User s Manual Requirements Runson_ Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example Set input coil status ON at address eV C MBSetCoil 1 1 1 VB NET Quicker Modbus MBSetCoil 1 1 1 VCA NET Quicker Modbus MBSetCoil 1 1 1 MBGetCoil The function can get a coil value from a specific modbus address Syntax e V C unsigned char MBGetCoil unsigned short MB Address unsigned char 1Status unsigned char 1Attr VB NET VC NET byte MBGetCoil ushort MB Address out byte iStatus byte 1Attr Parameters iMBAddress in The modbus address which you want to get from The range of modbus address is from 499 to 2048 Status out The coil status of specific modbus address means ON 0 means OFF LA ttr in Assign which kind of coil you want get means input coil which will be requested by modbus function number 2 0 means output coil which will be requested by modbus function number 1 5 15 Return Values O indicates success WCA MBADDR OVER means the MB Address over the range The legal range is from number 499 to number 2048 WCA MBATTR ERROR means the iAttr is neither nor 0 Remarks Requirements _Runson Versions Definedin Include Linkto WinCon 8000 4 1
60. loat The function can set a float variable into share memory block Syntax eVC unsigned char UserSetReg_Float unsigned short 1UserAddress float iStatus VB NET VC NET byte UserSetReg_Float ushort 1UserAddress out float 1Status Parameters iUserAddress in The address which you want to set into The range of address is from 1 to 19999 iStatus out float variable Return Values O indicates success WCA USERADDR OVER means the iUserAddress over the range The legal range is from number 1 to number 19999 Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Set register value 2 5 into address 1 UserSetReg_Float 1 2 5 VB NET Dim Rtn As Byte Dim UserSetRegFloatVal As Single Rtn Quicker UserShare UserSetReg_Float 1 UserSetRegFloatVal VC NET byte Rtn float RegFloat Rtn Quicker UserShare UserSetReg_Float 1 out RegFloat Ver 1 09 Date Apr 25 2005 Page 73 Quicker User s Manual UserGetReg Float The function can get a float variable from share memory block Syntax eVC unsigned char UserGetReg_Float unsigned short 1UserAddress float iStatus VB NET VC NET byte UserGetReg_Float ushort iUserAddress out float iStatus Parameters iUserAddress in The address which you want to get from The range of address is from 1 to 19999 Status out The pointer to a float v
61. m GetAIOVal As UInt64 Quicker QuickerIO GetAIO DWord 7 m_GetAIOVal 0 VCA NET ulong m_GetAIOVal Quicker QuickerlO GetAIO_DWord 7 out m_GetAIOVal 0 SetDO This function can set a single digital output status to a specific modbus address Syntax eVC unsigned char SetDO unsigned short iMBAddr unsigned char 1Send VB NET VC NET byte SetDO ushort MB Addr byte 1Send Parameters MBA ddr in The modbus address of specific tag in the Quicker iSend in The digital status of specific tag 1 means ON 0 means OFF Return Values 0 indicates success Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Set the digital output ON to modbus address 1 SetDO 1 1 VB NET Dim m_SetDOVal As Byte Quicker QuickerIO SetDO 1 m_SetDOVal VC NET byte m_SetDOVal Ver 1 09 Date Apr 25 2005 Page 62 Quicker User s Manual Quicker QuickerIO SetDO 1 m_SetDOVal SetAO Short This function can set a single analog output value to a specific modbus address Syntax eVC unsigned char SetAO_Short unsigned short MB Addr short iSend VB NET VC NET byte SetAO_Short ushort MB Addr out short iSend Parameters iMBAddr in The modbus address of specific tag in the Quicker iSend out The analog value of specific tag Return Values 0 indicates success Remarks Requirements _Runson Versi
62. maps each tag to an unique modbus address Please refer to the MODULES HTM at the Compact Flash Quicker Step 1 Click on the Add Search Modules menu item or the E icon to search for modules MEGA Edit View Help New Device Ctrl D Hew Group Ctrl Mew Tag Ctri T Search Modules b Generate an Fig 1 2 1 1 step 2 The Search Modules window pops up File Add Edit View Help miels 2 jm E 806 41 Search Modules DOS COP EE BD51 2 f Clear Modules io AER des DIs m Local Search a E 9056 3 Baud Rate Searching o AA DOS 521500 460800 230400 115200 a e024 4 s7eoo 38400 19200 v 3600 et ADs 4800 2400 1200 Ae 5 Paar Als Select all Clear All E 70176 i BY ATs Address 1 to 255 5 Checksum Timeout Start lo e Disabled 500 w Enable End 255 v Status Static Ver 1 09 Date Apr 25 2005 Page 6 Quicker User s Manual Step 3 If you want to search the I 8K I O modules plugged in the WinCon8000 you have to check the Local Search field COM 1 is for searching I 87K I O modules plugged in the WinCon8000 Search Modules COM Baud Rate O 5 9600 is 57600 38400 s 19200 400 2400 1200 Select All Clear All Checksum Disabled Enable Address 1 ta 255 Start lo End 255 Timeout 500 Status Static es Fig 1 2 1 3 Step 4 If
63. ny other module Module ID User can click on the ComboBox to select a Module ID Timeout Specifies timeout Response time value for this module The default value is 200 ms A smaller timeout value may cause communication failure and a greater timeout value may reduce the performance of the client program Ver 1 09 Date Apr 25 2005 Page 13 Quicker User s Manual Slot The WinCon8000 has 3 or 7 slots to plug in This slot field indicates the slot number that the I O module used The valid range is from 1 to 7 1 2 3 2 Adding a New I 7K I 8K I 87K I O Module Step 1 Click on the Add New Device menu item or the t amp l icon to add a new module z Mew Device Ctri D J Mew Group Mew Tag Ctri T Search Modules Generate Tags Fig 1 2 3 2 1 otep 2 The Device Properties window pops up Step 3 Click the I 7K I 8K I 87K I O Modules radio button Device Properties x Device Devices C Internal Device C I BK I 87K Embedded Modules C Controller Module Setting Controller Setting Port Type 7 Modbus TCP Port Address o repr 192 168 255 1 Module Timeout m ec 200 Slok o Oe For 8K 87k Modules Module Setting Module 7012 Timeout m5ec 200 Address O 255 Checksum Disable Slot fo OF For BK 87K Modules COM Port Setting COM f Parity Baud 3600 Data Bits je mu Stop Bits i 57 Simulate 1 0 fdoes not access the R5 485
64. ometimes we need to make the checkbox TRUE in order to achieve the purpose of Lo Hi Hi Lo communication Ver 1 09 Date Apr 25 2005 Page 17 Quicker User s Manual simulate I O The Simulate O checkbox switches from reading I O from the module to running a simulator Since the simulator does not open the COM port it is an easy way to work with the server to configure tags or to connect clients without requiring any hardware OK Click on the OK button to add the new controller setting Cancel Click on the Cancel button to avoid any changes Step 5 Click on the OK button to add this new device 1 2 3 4 Adding a New Modbus RTU Controller Step 1 Click on the Add New Device menu item or the Bl icon to add a new module Few Group Mew Tag Ctri T Search Modules Generate Tags Fig 1 2 3 4 1 otep 2 The Device Properties window pops up otep 3 Click on the Controller radio button otep 4 Click on the Modbus RTU radio button Ver 1 09 Date Apr 25 2005 Page 18 Quicker User s Manual Device Properties Device Devices C Internal Device C I 8E I 87K Embedded Modules M Controller Module Setting a Module 8017H Timeout tm5ec 200 Port Type Ing i all E De For SKJ87K Modules 7 Modbus TCP Port Address I 7K IT BKIT 87K 1 0 Modules C i TEPIP 19 168 255 1 Module Setting Timeout tm5ec 200 Address Tim
65. ons Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Set the analog output value as 42 to modbus address SetAO_Short 1 42 VB NET Quicker QuickerIO SetAO Short 1 42 VC NET Quicker QuickerIO SetAO Short 1 42 SetAO Long This function can set a single analog output value to a specific modbus address Syntax eVC unsigned char SetAO_Long unsigned short iMBAddr long iSend VB NET VC NET byte SetAO_Long ushort 1iMBAddr out long iSend Parameters MBA ddr in The modbus address of specific tag in the Quicker iSend out The analog value of specific tag Ver 1 09 Date Apr 25 2005 Page 63 Quicker User s Manual Return Values O indicates success Remarks Requirements WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Set the analog output value as 2323 to modbus address SetAO_Long 1 2323 VB NET Quicker QuickerlO SetAO_Long 1 2323 VC NET Quicker QuickerIO SetAO Long l 2323 SetAO Float This function can set a single analog output value to a specific modbus address Syntax eVC unsigned char SetAO_Float unsigned short iMBAddr float 1Send VB NET VC NET byte SetAO_Float ushort iMBAddr out float iSend Parameters MBA ddr in The modbus address of specific tag in the Quicker Send out The analog value of specific tag Return Values O in
66. rs iMBAddr in The modbus address of specific tag in the Quicker Ver 1 09 Date Apr 25 2005 Page 65 Quicker User s Manual Send out The analog value of specific tag Return Values O indicates success Remarks Requirements Runs on Versions Defined in Include Link to WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Set the analog output value as 2323 to modbus address 1 SetAO_DWord 1 2323 VB NET Quicker QuickerlO SetAOQ_DWord 1 2323 VC NET Quicker QuickerlO SetAO_DWord 1 2323 4 4 1 3 Modbus Function These functions allow users to add their own variables into Quicker for sharing the values to modbus client MBSetCoil The function can set a coil value into Quicker Syntax e V C unsigned char MBSetCoil unsigned short MB Address unsigned char iStatus unsigned char 1Attr VB NET VC NET byte MBSetCoil ushort MB Address byte iStatus byte 1Attr Parameters MBAddress in The modbus address which you want to set into The range of modbus address is from 499 to 2048 iStatus in The coil status of specific modbus address means ON 0 means OFF iAttr in Assign which kind of coil you want set 1 means input coil which will be requested by modbus function number 2 0 means output coil which will be requested by modbus function number 1 5 15 Return Values O indicates success WCA MBADDR OVER means the MB Address over the range The lega
67. se button Then select the Properties option Choose the Read amp Write page to read write the tag otep 1 Click the View Monitor menu item to enable monitor otep 2 Select a tag and right click the mouse button Then select the Properties option Step 3 Choose the Read amp Write page You can see the Tag name and Access right at the first If the access right is Read only the write function is disable Tag Properties Settings Read amp Write Read Value Value OFF ox x Quality Good Timestamp Tag name choo Access right Read amp yyrite Write Value Timestamp Quality value E Fig 1 2 6 1 Ver 1 09 Date Apr 25 2005 Page 28 Quicker User s Manual Read Value Value You can press the Read button to read the tag value as you saw on the Tag Window Read Value Quality Three kinds of qualities Good Bad and Uncertain would be shown If the communication status is good the quality shows Good If the communication status has something wrong the shows Bad And the other situation is Uncertain Read Value Timestamp It shows the time when you read the tag Tag name It is the same with the Name at the Settings page You can modify it at the Settings page Access right There are two kinds of aceess rights Read Only and Read amp Write The
68. serAddress over the range The legal range is from number to number 19999 Remarks Requirements Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Get register value from address 1 long iStatus UserGetReg Long 1 amp iSatus VB NET Dim Rtn As Byte Dim m_UserGetRegLongVal As Integer Rtn Quicker UserShare UserGetReg_Long 1 m_UserGetRegLong Val VC NET byte Rtn int m UserGetRegLong Val Rtn Quicker UserShare UserGetReg_Long 1 out m_UserGetRegLongVal Ver 1 09 Date Apr 25 2005 Page 77 Quicker User s Manual 4 4 2 Quicker API for VB NET VC NET Developer Step 1 Create a smart device project Step 2 Add Reference gt QuickerNet dl Step 3 Refer to the function prototype of QuickerNet dll by Object Browser Step 4 Call the functions in the QuickerNet dll Please refer to the Quicker VB NET Demo Quicker VCZ NET Demo Step 5 Build your project and copy it and relative library into WinCON 8000 Note Quicker dll QuickerNet dll and VB NET VC NET application program must be copied to the same folder in the WinCON 8000 4 5 Quicker with Rule Script Quicker provides Rule Script Editor to users for editing the rules This function is based on the instinctive design style to develop rule list The program designers can easily implement their logic via IF THEN syntax into rule list to achieve the p
69. ss 1 UserSetReg_Short 1 222 VB NET Dim Rtn As Byte Dim UserSetRegShortVal As Integer Rtn Quicker UserShare UserSetReg_Short 1 UserSetRegShortVal VC NET byte Rtn int RegShort Rtn Quicker UserShare UserSetReg_Short 1 out RegShort UserGetReg_Short The function can get a short variable from share memory block Syntax eVC unsigned char UserGetReg_Short unsigned short 1UserAddress short iStatus VB NET VC NET byte UserGetReg_Float ushort 1UserAddress out short 1Status Parameters iUserAddress in The address which you want to get from The range of address is from 1 to 19999 Status out The pointer to a short variable Return Values O indicates success WCA USERADDR OVER means the iUserAddress over the range The legal range is from number 1 to number 19999 Remarks Ver 1 09 Date Apr 25 2005 Page 75 Quicker User s Manual Requirements _Runson Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Example eV C Get register value from address 1 short 1Status UserGetReg_Short 1 amp iSatus VB NET Dim Rtn As Byte Dim m_UserGetRegShortVal As Integer Rtn Quicker UserShare UserGetReg_Short 1 m_UserGetRegShortVal VCA NET byte Rtn short m_UserGetRegShortVal Rtn Quicker UserShare UserGetReg_Short 1 out m_UserGetRegShortVal UserSetReg_Long The function can set a long variable into share memory block
70. th Start up the Quicker with mode 1 if StartQuicker 1 0 AfxMessageBox _T Start Quicker successfully j else AfxMessageBox _T Quicker has been started j VB NET Quicker System StartQuicker 1 VC NET Quicker System StartQuicker 1 StopQuicker This function stops the Quicker Syntax eVC unsigned char StopQuicker void VB NET VC NET byte Quicker System StopQuicker Parameters Return Values O indicates success WCA_Stop means Quicker has been stopped WCA_NOT_MASTER means not the main AP which calls Quicker Please refer to the Appendix 2 1 Remarks Quicker only can be stopped by the AP which launched it Requirements Runmson_ Versions Definedin Include Linkto WinCon 8000 4 1 0 01 and later Quicker lib WinConAgenth Ver 1 09 Date Apr 25 2005 Page 55 Quicker User s Manual Example eV C Stop the Quicker if StopQuicker 0 AfxMessageBox _T Stop Quicker successfully else if StopQuicker WCA_Stop AfxMessageBox _T Quicker has been stopped j else AfxMessageBox _T Can not terminate the Quicker j VB NET Quicker System StopQuicker VC NET Quicker System StopQuicker GetVersion This function gets the Quicker version Syntax eVC unsigned char GetVersion void VB NET VC NET byte Quicker System GetVersion Parameters Return Values The return value means the version value Ex
71. ts ERTU Stop Bits x Simulate IO does not access the R5 485 Madnus device Fig 1 2 3 5 2 Modbus RTU Address Timeout on Msg Delay Ej Word Swap Device Name Names with spaces or punctuation such as cannot be used within a module name The clients use the Device Name and Tags to access its value The Device Name can not be the same as any other module 1 2 4 Adding a New Group otep 1 Click on the Add New Group menu item or the l icon to add a new group otep 2 The Group window pops up Fig 1 2 4 1 Name A Group Name may have any name but avoid names with spaces or punctuation such as The Group Name must not be used twice A group can be defined as a subdirectory containing one or more tags A device may have many subgroups of tags All tags belong to their module when they are scanned to perform I O Ver 1 09 Date Apr 25 2005 Page 21 Quicker User s Manual 1 2 5 Adding a New Tag 1 2 5 1 Adding a New Tag For I 7K I 8K I 87K I O Module Step 1 Click on the Add New Tag menu item or the icon to add a new tag Step 2 The Tag Properties window pops up step 3 Choice the Settings page Because the tag belongs to the module type device the I 7K I 8K I 87K I O Modules radio button is active Tag Properties Settings Read amp write Mame mmm Modbus address Output Register Description Device Type
72. ty menu The WinCon Utility provides many functions within the following five tabs Save Registry Tab system Config Tab Auto execute Tab Version Update Tab Com Tab About WinCon Utility 1 Tab Ver 1 09 Date Apr 25 2005 Page 37 Quicker User s Manual Save Registry Tab This tab provides functions to save view the registry of the systems information and to setup the HTTP FTP directory path It is very important to save the registry when you change any system information Then you need to click the Save and Reboot button to renew the system configuration If you do not save the current configuration into the registry you will lose your information settings when you reboot the Wincon 8000 x Note The OS image in flash memory will crash if we push the reset or power off buttons for WinCon 8000 whilst it was writing the registry settings to flash memory It will take 10 15 seconds to save the registry settings Add these notes to your user manual because it is very important WinCon Utility 1 Ver 2 1 0 ok x Save Registry System Config auto execute Version Update Com About WinCon Utility 1 It will take several seconds to save your settings to registry and settings you changed will take effect after system reboot Change all settings to factory default settings Resolution 640 x 420 640 400 Recover to Factory Settings Bpp 16 16 Frequncy 60 Hz en Hz Chang
73. urpose of chain reaction control The Rule Script is suitable within the non critical situation Using this function can not only avoid typing error but also save developing time 4 5 1 Rule Script Syntax Rule script syntax is very instinctive as well In the IF area the relation between timer and other variables is AND The triggered frequency of the rule is decided by the timer of each rule If the rule has timer and the THEN area has Oxxxxx variable the Oxxxxx variable will frequently ON OFF switch like blinking function Ex IF THEN 000001 0 0 Timer 300 Which means the variable 000001 will do ON OFF switch every 300ms For more advanced application user can use the variable in the Internal device to chain each rule Ver 1 09 Date Apr 25 2005 Page 78 Quicker User s Manual Appendix A Error list and description Code Description I O Unit Min Max Code Define Description 0 WCAOK OK ScanKernel has been stopped Slot number must be 1 8 104 WCA ATT ERROR Attribute number error It should be 1 or 0 105 WCA COMNO OVER COM port No must be 2 or 3 106 WCA SLAVENO OVER Slave number must be 1 256 107 WCA NOT MASTER Not the main AP which calls ScanKernel WCA MBADDR OVER Modbus DIO address must be 449 2048 AIO address must be 225 2048 WCA MBATTR ERROR Modbus attribute must be 1 or 0 WCA USERADDR OVER User defined address must be 1 8192 WCA
74. vice Name tab in the dialog window System Properties These settings are used to identify your Windows CE device to other computers Please type a name without any spaces and a short description Device name Device description WindewscCE Device Fig 2 1 5 12 Type your preferred Device Name in the Device Name box and click OK a Note If you have changed any information of the Device Name you must save the registry by means of WinCon Utility tools For more information about the WinCon Utility tool please refer to the WinCon Utility section Here we only provide some demonstrations for configuring your settings The configuration steps and operation methods are the same as with the windows system However you need to keep in mind if you have changed any setting on WinCon 8000 embedded controller you would need to use the WinCon utility to save the current setting into non volatile internal memory Otherwise when you restart the system the setting will not change 2 2 WinCon Utility The WinCon Utility provides many tools to save view the system information registry and to setup the HTTP FTP path and update non volatile internal memory within the Wincon 8000 embedded controller This handy utility WinCon Utility 1 exe located in the Compact Flash icpdas Tools directory should be located in the computer s Program group Therefore you can launch it on the computer through Start gt Programs gt WinCon Utili
75. you want to search the I 7K I 87K remote I O modules via RS 232 you have to choice COM 2 and uncheck the Local Search Search Modules x Clear Modules et CT Dea Search Baud Rate Searching 221600 460800 230400 Y 115200 57600 38400 fy 19200 w 9600 4800 f 2400 1200 Select All Clear All Checksum Disabled Enable Address 1 to 255 Start o End 55 Timeout 3n Status Static Fig 1 2 1 4 Ver 1 09 Date Apr 25 2005 Page 7 Quicker User s Manual Step 5 If you want to search the I 7K I 87K remote I O modules via RS 485 you have to choice COM 3 and uncheck the Local Search Search Modules Clear Modules gitar ica Search Baud Rate Searching jazi oo 460800 230400 w 115200 57600 38400 fv 19200 w 9600 4800 2400 1200 Select All Clear All Address 1 to 255 4 Checksum Timeout Start n Disabled 500 E ps Enable Status Static Fig 1 2 1 5 COM Port Specifies which COM Port number to search The default value is 1 and the valid range is from 1 to 255 Please verify the COM Port number that the RS 485 network is connected to Modues COM1 COM2 COM3 Local F87K Ye Remote F7KIL87K viaRS 282 Yes Remote F7KI 87K via RS485 Yes Clear Modules Modules can be added many times If this field is
Download Pdf Manuals
Related Search
Related Contents
Chemical Hygiene Plan and Hazardous Materials Safety Manual 取扱説明書 - M 平成24年 3月5、6日フランス国パリ西郊クールブヴォア市ISO/TC 127 TR-1000VA-48VDC User Manual LG QM9800 User's Manual Copyright © All rights reserved.
Failed to retrieve file