
EDAM-4200 Series User’s manual Version 1.03
6.7
Properties of TCPDAQ ActiveX Control
Name
Type
Description
Avaliable Model(s)
AOValue
double
Set the analog output voltage
All models
ASCIICommandReceive
string
Return the ASCII response message
from module
All models
ASCIICommandSend
string
Send the ASII command message to
module
All models
DIChannelIndex
short
Specifies the digital input channel to
perform other DI properties read/write
operation.
All DIO models
DIounterValue
long
Return the counting value for the
specific DI channel which functions in
“Count/Frequency mode”
All DIO models
DILatchStatus
short
Return the latch status for the specific
DI channel which functions in
“Lo-Hi/Hi-Lo latch mode” (1=Latched,
0=No latched)
All DIO models
DIStartCount
boolean
Start/stop counting for the specific DI
channel which functions in
“Count/Frequency mode” (True=Start,
0=Stop)
All DIO models
DIStatus
short
Return the status for the specific DI
channel which functions in “DI mode”
(1=Active, 0=Inactive)
All DIO models
DOChannelIndex
short
Specifies the digital output channel to
perform other DO properties
read/write operation.
All DIO models
DOCount
long
Set the output count value for the
specific DO channel which functions in
“Pulse output mode”
All DIO models
DOStatus
short
Return/set the status for the specific
DO channel which functions in “D/O
mode” (1=Active, 0=Inactive)
All DIO models
EventTriggerEnable
boolean
Enable/disable event trigger mode
(True=Enable, False=Disable)
All models
LastError
short
Return the Error code of operation
All models
MoudleIDNo
short
Return the module ID number
All models
ModuleIP
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
UpdateTimeInterval
long
Return/set data update time
interval(ms)
All models
6.8
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
short Counts
short coildata[]
None
Read coil data from remote module, and stored
into coildata[] buffer
Printed Date: 27 February 2018
60