Home
Table of Contents
Contents
1. Controls Designers Insertable Objects ROCClientHost 1 0 Type Library Recording Actives Control module Ref Edit Control Shockwave Activex Control Shockwave Flash Switch Activex System Monitor Control aT CPOAO Actives Control module trialoc 1 0 Type Library VB 6 Application Wizard VB 6 Data Form Wizard VB 6 M5Chart Wizard VOI First Impression Library hd Browse E Selected Items Only TCPDAO Activex Control module Location C WINDOW Sisysbem3eytcpdag ocx EDAM 9000 ActiveX Control Module User s manual Place a TCPDAQ control from the Toolbox on the form Use the default name Your form should look similar to the one shown below BER EDAM 9000 ActiveX Control Module User s manual 2 2 Building TCPDAQ Applications with Delphi Start Delphi Delphi will launch as shown below Select Import ActiveX Control from the Component menu The Import ActiveX dialog box loads Select the TCPDAQ ActiveX Control Module and press the Install button A dialog box is displayed as follows Import ActiveX Import Actives Switch Actives version 1 0 System Monitor Control Wersion 3 6 Tabular Data Control 1 1 Type Librar TCPO 0 Actes Control module version 1 0 trialoc 1 0 Type Library Version 1 0 TrueReuse Active Control module Version 1 0 TSHOOT 3 1 Type Library Version 1 0 CW INDO W S eystem se topdag ocx Remove Class names TTCPDAG Palette page Active
2. ActiveX controls for performing I O operations within any compatible ActiveX control container such as Visual Basic Delphi etc You can easily perform the I O operations through properties events and methods Specific information about the properties methods and events of the TCPDAQ ActiveX controls can be found later in this manual With TCPDAQ ActiveX Control you can perform versatile I O operations to control your Inlog EDAM 9000 module series The TCPDAQ ActiveX Control setup program installs TCPDAQ OCX through a process that may take several minutes Installing the necessary software to use the TCPDAQ OCX in your application involves two main steps Installing the TCPDAQ ActiveX Control Using the Inlog EDAM 9000 utility to configure the modules that is attached to your computer You can use these ActiveX controls in any development tool that supports them including Microsoft Visual C Microsoft Visual Basic Borland C Builder Borland Delphi 1 1 Installing the TCPDAQ ActiveX Controls Before using the TCPDAQ ActiveX Control you must install the TCPDAQ OCX first Insert the TCPDAQ installation CD ROM disc into your computer The installation program should start automatically If autorun is not enabled on your computer use your Windows Explorer or the Windows Run command to execute Setup exe on the TCPDAQ installation CD ROM disc assume d is the letter of your CD ROM disc drive D Setup exe EDAM 9000 ActiveX C
3. DAM 9000 ActiveX Control Module User s manual DO channel which functions in Pulse output mode DOStatus short Return set the status for the specified DO 9017 9019 9050 9051 9052 channel which functions in D O mode 1 Active O Inactive EventTriggerEnable boolean Enable disable event trigger mode All models True Enable False Disable LastError short Return the Error code of operation All models MoudlelDNo short Return the module ID number All models ModulelP string Set the remote module IP address All models ModuelName string Return the module name All models TCPTimeOut long Return set the TCP IP Timeout ms All models UpdateTimelnterval long Return set data update time interval ms All models EDAM 9000 ActiveX Control Module User s manual Chapter 4 Methods of TCPDAQ ActiveX Control Name Arguments Returned type Description Open None None Open TCPDAQ OCX to start operation Must be called before accessing properties at run time Close None None Close TCPDAQ OCX Must be called before terminating the APP ModBusReadCoil short Startaddress None Read coil data from remote module and stored short Counts into coildata buffer short coildata ModBusWriteCoil shot StartAddress Write coil data stored in coildata buffer to short Counts remote module short coildata ModBusReadReg short Startaddress None Read holding register data from remot
4. EDAM 9000 ActiveX Control Module User s manual Table of Contents Chapter 1 What is TCPDAQ ActiveX Control oooooonoononncononoconnconnnonnnononoconononn nono nooo nconnnonnnnonanos 2 1 1 Installing the TCPDAQ ActiveX ControlS oooooooooccociccnococococonocononnnononononnonconnonnonocnnonncnnanns 2 Chapter 2 Building TCPDAQ ActiveX Control with Various Tools oooooooncnicnnnniconicococicncononncnncnnnos 3 2 1 Building TCPDAQ Applications with Visual BasSiC oooooonoonncnincincnnocnoonconccononononnnonnons 4 2 2 Building TCPDAQ Applications with Delphi ooooooooconocnocnocccoconononnconnconocononononnnonnnos 7 2 3 Building TCPDAQ Applications with Visual C oo ccc eccceccesecesecsseeeeeseeseeeteesseeseeees 10 24 Building TCPDAQ Applications with Borland C Builder o ooooooonociccco c m 13 Chapter 3 Properties of TCPDAQ ActiveX CoONtrOl oooocoooonocccnoccnoncconncoonononnonanoconoconn cono nconnccnnncnnos 15 Chapter 4 Methods of TCPDAQ ActiveX CONTFOl oooooooononnononcconnconnononconnnonanoconnonanornnnonnccnnncnnos 17 Chapter 5 Events of TCPDAQ ActiveX CoONtrol ooooocooonocononacoconcconnonanconanonnocanononanonanonn nooo nnonnos 18 5 1 Building TCPDAQ ActiveX Applications with Various Development Tools 18 EDAM 9000 ActiveX Control Module User s manual Chapter 1 What is TCPDAQ ActiveX Control TCPDAQ OCX is a collection of
5. e short Counts module and stored into regdata buffer short regdata ModBusWriteReg shot StartAddress Write register data stored in regdata buffer to short Counts remote module short regdata EDAM 9000 ActiveX Control Module User s manual Chapter 5 Events of TCPDAQ ActiveX Control short EventChannel out short EventType out short EventStatus out short EventValue out Name Arguments Returned type Description OnError short ErrCode out None be called when error occurred string Errmsg out EventDataArrival string Datetime out None be called when received an event data from the remote module Please see TCPDAQ_Data_Structure pdf file to understand the means of parameters 5 1 Building TCPDAQ ActiveX Applications with Various Development Tools The demo programs of TCPDAQ AvtiveX control module are included in the provided DISC The Installed folders include the demo programs for various development tools Microsoft Visual C version 6 0 SP5 Microsoft Visual Basic version 6 0 SP5 Borland Delphi version 6 0 with the Delphi 6 Update Pack fixes for ActiveX installed Borland C Builder version 6 0
6. lse DiStatus 0 DOChannellnd 0 DOCounts O DOStatus 0 EventTriggerEr False Height 28 HelpContext 0 Hint LastError 1 11 Left 136 ModulelDNo 0 ModulelP ModuleN ame Name TCPDA01 Tag 0 TCPTimeDut 1000 A Top 148 UpdateT imelnt 100 y All shown TFormi class TForm TCPDAQ1 TTCPDAO private Private declarations public Public declarations end Ll var Formi TFormi implementation R DFM end lt i 1 1 Modified Insert EDAM 9000 ActiveX Control Module User s manual 2 3 Building TCPDAQ Applications with Visual C Start Visual C program Select Add to Project gt Components and Controls from the Project menu and double click on Registered ActiveX Controls The result should be as below Components and Controls Gallery Choose a component to insert into your project Hse B Registered ActiveX Controls e E e En aH gt Ai AAU i BA System Information 1KB Hig 201 ld Tabular Data Control 1KB FEE 201 Ea TaskSymbol Class 1KB 2 201 E J TCPDAQ Control 1KB PEE 20 ThumbCtl Class 1KB 2 201 y ES gt ERAH TCPDAQ Control ink CPDAQ Control Close More Info Path to control CAWINDOWSIsystem321tcpdaq ocx EDAM 9000 ActiveX Control Module User s manual Scroll down to the TCPDAQ Control and press the Insert button A Class Confirm dialog box is displayed Press OK butto
7. n Confirm Classes The checked class es will be generated from the ActiveX Control Click on a class name to browse or edit its attributes Parcel MICTCPDAQ The selected class has already been generated Click OK to update the class Class name Base class c TCPDAQ CYnd Header file tcp daq h Implementation file tcpdaq cpp 11 EDAM 9000 ActiveX Control Module User s manual The TCPDAQ control will be showed in Visual C Toolbar Place a TCPDAQ control from the Controls Toolbar on the dialog based form a eae A EDAM 9000 ActiveX Control Module User s manual 2 4 Building TCPDAQ Applications with Borland C Builder Start Borland C Builder BCB BCB will launch as shown below Select Import ActiveX Control from the Component menu The Import ActiveX dialog box loads Select the TCPDAQ Control and press the Install button A dialog box is displayed as follows Import ActiveX Import Active Shockwave Activex Control Version 1 0 Shockwave Flash Version 1 0 Switch Activex Version 1 0 System Monitor Control Version 3 6 Tabular Data Control 1 1 Type Librar TCPDAG Activex Control module Version 1 0 trialoc 1 0 Type Library Version 1 0 CXAWINDOWSAsystem32Mtcpdaq ocx Add Remove Class names TTCPDAG Palette page Activex Unit dir name je Program Files Borland CBuilder5 mports Al Search path S BCBJLib S BCBMBin BCBJUm
8. na eaa a aa DO Counts 0 Poach chats O O O eee Oey a Cee OO OOO Chater year yer O O met et eet NOOO OOOO RO eh Cer tty DOStatus 0 CO O O ORAR OO O OOO OO O OOOO fa mete fl w a OOOO OOOO O ROO OO O A EventimagerEn false OM a e e eea aa a O e anien o yae ie fers Height 28 CO O O ORAR ADO OO O O OO OO O OOOO O O ORO OOOO OOO O AO OO OA HelpGortest 0 S IEE O e anien o yeas ea aa H int E ON ODEA T A O O OO OOA C E O O E Ot oP do o O A LastError A EE E A A A EDAM 9000 ActiveX Control Module User s manual Chapter 3 Properties of TCPDAQ ActiveX Control Name Type Description Avaliable Model s AlChannellndex short Specifies the analog input channel to perform 9015 9017 9019 other Al properties read write operation AlNrmalValue double Normal voltage of specifies the analog 9015 9017 9019 channel AlAveragevalue double Average voltage value of the channels that 9015 9017 9019 are in average AlMaximumValue double Maximal voltage of specifies the analog 9015 9017 9019 channel AlMinimumValue double Minimal voltage of specifies the analog 9015 9017 9019 channel AlLowAlarmStatus short Return the low alarm status of specifies the 9015 9017 9019 analog channel 1 Alarm occurred O No alarm AlHighAlarmStatus short Return the high alarm status of specifies the 9015 9017 9019 analog channel 1 Alarm occurred O No alarm AlBurnOutStatus
9. ontrol Module User s manual Chapter 2 Building TCPDAQ ActiveX Control with Various Tools This chapter describes how you can use the TCPDAQ ActiveX Control with the following development tools Microsoft Visual C version 6 0 SP5 Microsoft Visual Basic version 6 0 SP5 Borland Delphi version 4 0 with the Delphi 6 Update Pack fixes for ActiveX installed Borland C Builder version 5 0 This chapter assumes that you are familiar with the basic concepts of using Visual Basic Delphi Borland C Builder and Visual C including selecting the type of application designing the form placing the control on the form configuring the properties of the control creating the code event handler routines for this control Note For Borland Delphi 6 the Delphi 6 Update Pack fixes for ActiveX must be installed EDAM 9000 ActiveX Control Module User s manual 2 1 Building TCPDAQ Applications with Visual Basic Start Visual Basic New Project Pe a ent po ga An x A H ActiveX Active ActiveX YE YE Wizard ActiveX Control Applicat Manager Docume EXE DLL Y Y Y Addim Data Project DHTM rae is LUT an BAH l Don t show this dialog in the future EDAM 9000 ActiveX Control Module User s manual Select Standard EXE icon and press the Open button A new project is created Click on Components from the Project menu The Components dialog box is loaded as shown below Components
10. ports S BCB AF El Install Create Unit Cancel Help JE EDAM 9000 ActiveX Control Module User s manual Enter TCPDAQ into the File name field under the Into new package tab and press OK button A Confirm dialog box is displayed press Yes button The TCPDAQ control is loaded into the Component Palette You can check it by clicking on Install Package from the Component menu A dialog box is shown as below Object Inspector TCPDAD1 TTCPDAG z TAN a a T EE E Properties Events nuoooooboreooooo0Do ooo ooo occ S rro 00o0oo Ot AlAverageValu O a G ABUSE Mn e e A o e AlChannclnde n LME a pa ee eree a e a O eee ala eo io ed AlHigh lamsta0 u CME oee pa ene e a e e e a aaa AlliowSlanmSta Gs ME e e e ega e ae aana e O o ea a ee e aa AMan e E E e A O e a A a a AMM E E E e a a Aloma ue DO ME oee A Cite O o oe al a a AUChannelnda e e es ADWalue 0 Petty O O ORO Orta ees O O O O CIMCON Chak yet beat O OOOO ORO OOO ot i Pe eet eee OOO O ety ASCliGommand Ii o rhe e od ASCliGommand II E o po lee CokUunchomian r O as this e a Cursor PEE e stig Sete o O DiGhannelda UT EE A e ee a il DiGaurtervehe Dn O no ol Io DiLatchStatus 0 SOLS oR OL AA aE ROLES Gc te AA ea O Ce gE ROR gee o DISta REoUnta fabes c cuota cor NCE Bop NTE UR DiStatus 0 OO Yes es Be O eos p gt ee o gt se ee RR RR eee a aie tele olin 0 E Oi WE oa a see se eer Behe isco oe e anga
11. s Unit dir name C Program Files Borland D elphiS mports El Search path IDELPHI Lib DELPHI Bin DELPHI Impor BJ Install Create Lirit Cancel Help EDAM 9000 ActiveX Control Module User s manual The TCPDAQ control is loaded into the Component Palette You can check it by clicking on Install Package from the Component menu A dialog box is shown as below Into existing package Into new package File name TCPDAG Browse Description TEPDAQ Activex Control coa tuo EDAM 9000 ActiveX Control Module User s manual Switch to the form and select the ActiveX tab from the Component Palette Place a TCPDAQ control from the Component Palette on the form Use the default names TCPDAQ1 Your form should look similar to the one shown below Object Inspector E TCPDAD1 TTCPDAQ Dll RRE RARE Dre EEES TERREA Properties Events ere a a o AlAverageV alu 0 FT AAA AAA AlBumDutStatu 0 y RS A A Ad A a o A da eee E o a do Al M aximum al 0 OO O E OO O E A OO ORO A A O IO O AO O OO AO OOOO EO a O AlMinimum alu DO gt gt gt MMM ooo s c AlNomalValue 0 E E E E T OS tach A Wane Gai E E AOChannell nde DIS Petro co cabot bo poo oo non abot ooo modo KOO ODO Ob OOD HOOD Odoe ADValue 0 ASCIICommang ASCIICommanc ColdJunctionTe 0 Cursor crDefault DIChannellnde 0 DICounteryalue 0 DiLatchStatus 0 DIStartCount Fa
12. short Return the Burnout status of specifies the 9015 and 9019 analog channel 1 open O normal AOChannellndex short Specifies the analog output channel to Reserved for Ver 1 0 perform other properties read write operation AOValue double Set the analog output voltage All models ASCIlCommandReceive string Return the ASCII response message from All models module ASCIlCommandSend string Send the ASII command message to module All models ColdJunctionTemperature double Return the cold junction temperature 9019 DIChannellndex short Specifies the digital input channel to perform 9050 9051 9052 other DI properties read write operation DlounterValue long Return the counting value for the specified DI 9050 9051 9052 channel which functions in Count Frequency mode DILatchStatus short Return the latch status for the specified DI 9050 9051 9052 channel which functions in Lo Hi Hi Lo latch mode 1 Latched O No latched DIStartCount boolean Start stop counting for the specified DI 9050 9051 9052 channel which functions in Count Frequency mode True Start O Stop DIStatus short Return the status for the specified DI channel 9050 9051 9052 which functions in DI mode 1 Active 0 Inactive DOChannellndex short Specifies the digital output channel to 9017 9019 9050 9051 9052 perform other DO properties read write operation DOCount long Set the output count value for the specified 9050 9051 9052 15 E
Download Pdf Manuals
Related Search
Related Contents
User Manual - ACE PLUS CORP. Metra Electronics 99-7863 User's Manual Swiss Map online Manual NHT X2 User's Manual The Terra Latch 0001 Installation Guide Watlow Electric Series 97 User's Manual MultiSync 70GX2 MultiSync 90GX2 CentreCOM x900シリーズ・SwitchBlade x908 VCS Copyright © All rights reserved.
Failed to retrieve file