WinConOPC DA Server

Modules and Commands List

Version 1.01
Date: Aug-12-2003

Type Analog Input/Output Modules Digital I/O,
Relay and Counter Modules
Analog Output Modules
7K 7011/ 7011D/ 7011P/ 7011PD
7012/ 7012D/ 7012F/ 7012FD
7013/ 7013D
7014D
7016/ 7016D
7017/ 7017F
7018/ 7018P
7033
7041/ 7041D
7042/ 7042D
7043/ 7043D
7044/ 7044D
7050/ 7050D
7052/ 7052D
7053/ 7053D
7060/ 7060D
7063/ 7063A/ 7063B
7063D/ 7063AD/ 7063BD
7065/ 7065D
7066/ 7066D
7067/ 7067D
7080/ 7080D
7021/ 7021P/7022
7024
8K 8013,8017LP,8017MP,8017H,8018 8037/ 8040/ 8041/ 8042 8051/ 8052/ 8053/ 8054
8055/8056/ 8057/ 8058
8060/ 8063/ 8064/ 8065
8066/ 8068/ 8077
8024
87K 87017, 87018, 87013 87051/ 87052/ 87053
87054/ 87055/ 87056/ 87057
87058/ 87063/ 87064
87065/ 87066/ 87068/ 87069
87022,87024,87026

 


Command Access Right

Command Access Right Data Type

Channel

Description
Analog Input Read VT_R4
(float)
V F Read the analog input value
Analog Output Read/Write VT_R4
(flaot)
V F Read/Set the analog output value

F Read: Analog Output Read-Back

Digital Input Read VT_I4
(word)
  F Read the digital input value
(for all channels)

F refer to Note 1

Digital Output Read/Write VT_I4
(word)
  F Read/Set the digital output value
(for all channels)

F Read: Digital Output Read-Back
F Value Range: 0 to 15

F refer to Note 1

Bit Input Read VT_BOOL
(boolean)
V F Read the digital input value
(for single channel)

F Value Range: true(High) or false(Low)

F refer to Note 1

Bit Output Read/Write VT_BOOL
(boolean)
V F Read/Set the digital output value
(for single channel)

F Value Range: true(High) or false(Low)
F Read: Digital Output Read-Back

F Note: The 7011/7012/7014/7016/7080
uses the "cache" mechanism to implement
the "Bit Output" features.

F refer to Note 1

LatchLow DI Read/Write VT_I4   F Read the latch-Low digital input value
(for all channels)

F Clear: Write any value to clear latched DI
(Low and High).

F refer to Note 1

LatchHigh DI Read/Write VT_I4   F Read the latch-High digital input value
(for all channels)

F Clear: Write any value to clear latched DI
(Low and High).

F refer to Note 1

LatchLow BitIn Read VT_BOOL
(boolean)

V

F Read the latch-Low digital input value
(for single channel)

F Value Range: true or false

F refer to Note 1

LatchHigh BitIn Read VT_BOOL
(boolean)

V

F Read the latch-High digital input value
(for single channel)

F Value Range: true or false

F refer to Note 1

Counter Read/Write VT_R8
(double)
V F Read the counter value(in DWord)
and change to Double type before return.

F Clear: Write any value to clear counter

Counter Status Read/Write VT_BOOL
(boolean)
V F Read/Set the Counter status.

F Value Range:
true(Enable) or false(Disable)

Alarm Mode Read/Write VT_I2
(short)
  F Read/Set the Alarm Mode.

F Value Range:
0(Disabled) or 1(Momentary) or 2(Latch)

Alarm Low Read/Write VT_R4
(float)
  F Read/Set the Low Alarm Limit value
for analog input.
Alarm High Read/Write VT_R4
(float)
  F Read/Set the High Alarm Limit value
for analog input.
Alarm Output Read/Write VT_I2
(short)
  F Read the Alarm Output value.
(for all channels)

F Clear: Write any value to clear latch alarm.

Alarm BitOut Read VT_BOOL
(boolean)
V F Read the Alarm Output value.
(for single channel)

F Value Range: true(High) or false(Low)

CntAlarm Mode Read/Write VT_I2
(short)
  F Read/Set the Counter Alarm Mode.

F Value Range: 0(Mode 0) or 1(Mode 1)

CntAlarm Mode0 Read/Write VT_BOOL
(boolean)
V F Read/Set the Counter Alarm Mode.
(for 7080 Mode-0 only)

F Value Range:
true(Enabled) or false(Disabled)

CntAlarm Mode1 Read/Write VT_I2
(short)
  F Read/Set the Counter Alarm Mode.
(for 7080 Mode-1 only)

F Value Range:
0(Disabled) or 1(Momentary) or 2(Latch)

CntAlarm Limit Read/Write VT_R8
(double)
V F Read/Set the Counter Alarm Limit value
(in DWord) and change to Double type
before return.
CntAlarm Output Read VT_I2
(short)
  F Read the Counter Alarm Output value.
(for all channels)
CntAlarm BitOut Read VT_BOOL
(boolean)
V F Read the Counter Alarm Output value.
(for single channel)

F Value Range: true(High) or false(Low)

 

Note 1: Using "Cache" mechanism on DI, LatchedDI and DO to improve
the performance.

DI cache:

A. Everytime the OPC reads the DI value, the DI_Value
and the Update_Time will be recorded on the cache.
B. When clients ask to read the "Digital Bit Input"
(DI channels respectively), the OPC server will check
the Update_Time and Current_Time to decides to uses
the cached data(CurrentTime - UpdateTime < 10ms) or
to read the new one(CurrentTime - UpdateTime >= 10ms).

if ( CurrentTime - UpdateTime < 10 )

return CachedData;

else {

Read_DI();
Records the new DI_value and Update_Time.
return New_DI_Value for channels;

}

LatchedLow and LatchedHigh DI cache:

Similar to the "DI cache" mechanism.

 

DO cache:
For the DO_ReadBack, it is similar to the "DI cache"
mechanism and when clients ask to output the DO value
(or for channels respectively)...

A. The DO value will be recorded in the cache for further
reference of output or read-back.
B. But the Update_Time will not be recorded in the cache
, to let the OPC to fresh the Cached_Data and
Update_Time as soon as possible.

Performance Test:

Test Platform: MS Windows NT 4.0 SP3
CPU : PII 300 MHz
RAM : 128 MB
Client : FactorySoft's OPC Client (Demo)
Modules : 7520 + 7053D
Baud Rate : 9600
Checksum : Disabled
Tags : 7053D1.DIs.Ch00 to 7053D1.DIs.Ch15
Update Rate : 100 ms
CPU Usage : NAP7000OPC v2.21 ==> 73%
NAP7000OPC v2.22 ==> 10%

Note 2: "Channel" field, It has to specify the channel number for this command if checked.

 


Analog Input/Output Modules

  7011/ 7011D/
7011P/ 7011PD
7012 /7012D
7012F/ 7012FD
7014 7016/ 7016D
Analog Input V V V V
Analog Output      

V

Analog Output Read-Back       V
Digital Input V V V V
Bit Input V V V V
Digital Output V V V V
Digital Output Read-Back V V V V
Bit Output V V V V
Bit Output Read-Back V V V V
Counter V V V  
Alarm Mode V V V V
Alarm Low V V V V
Alarm High V V V V
Alarm Output V V V V
Alarm BitOut V V V V

Note 3: The 7011/7012/7014/7016 uses the "cache" mechanism
to implement the "Bit Output" features.

 

  7013/ 7013D 7033 7017/ 7017F 7018/ 7018P
Analog Input V V V V
Analog Output        
Analog Output Read-Back        
Counter        

Note 4: "Digital Input" = "Bit Input" for every channel
Note 5: "Digital Output" = "Bit Output" for every channel

 

  8017/ 8017LP/8017MP/ 8017H/ 87017/ 8018/ 87018/ 8013/ 87013
Analog Input V

 


Digital I/O, Relay and Counter Modules

  7050/
7050D
7052/
7052D
7053/
7053D
7041/
7041D
7042/
7042D
7043/
7043D
7044/
7044D
Digital Input V V V V     V
Bit Input V V V V     V
Digital Output V       V V V
Digital Output Read Back V       V V V
Bit Output V       V V V
Bit Output Read Back V       V V V
Counter V V V V     V
LatchLow DI V V V V     V
LatchHigh DI V V V V     V
LatchLow BitIn V V V V     V
LatchHigh BitIn V V V V     V

 

  7060/
7060D
7063/ 7063D
7063A/ 7063AD
7063B/ 7063BD
7065/
7065D
7066/
7066D
7067/
7067D
7080/
7080D
Digital Input V V V      
Bit Input V V V      
Digital Output V V V V V V
Digital Output Read Back V V V V V V
Bit Output V V V V V V
Bit Output Read Back V V V V V V
LatchLow DI V V V      
LatchHigh DI V V V      
LatchLow BitIn V V V      
LatchHigh BitIn V V V      
Counter V V V     V
Counter Status          

V

CntAlarm Mode           V
CntAlarm Mode0           V
CntAlarm Mode1           V
CntAlarm Limit           V
CntAlarm Output           V
CntAlarm BitOut           V

 

  8037 8040 8041 8042
Digital Input   V   V
Bit Input   V   V
Digital Output V   V V
Digital Output Read Back V   V V
Bit Output V   V V
Bit Output Read Back V   V V
Counter        
LatchLow DI        
LatchHigh DI        
LatchLow BitIn        
LatchHigh BitIn        

 

  8051 8052 8053 8054 8055 8056 8057 8058
Digital Input V V V V V     V
Bit Input V V V V V     V
Digital Output       V V V V  
Digital Output Read Back       V V V V  
Bit Output       V V V V  
Bit Output Read Back       V V V V  
Counter                
LatchLow DI                
LatchHigh DI                
LatchLow BitIn                
LatchHigh BitIn                

 

  8060 8063 8064 8065 8066 8068 8077
Digital Input   V          
Bit Input   V          
Digital Output V V V V V V V
Digital Output Read Back V V V V V V V
Bit Output V V V V V V V
Bit Output Read Back V V V V V V V
Counter              
LatchLow DI              
LatchHigh DI              
LatchLow BitIn              
LatchHigh BitIn              

 

 

  87051 87052 87053 87054 87055 87056 87057 87058
Digital Input V V V V V     V
Bit Input V V V V V     V
Digital Output       V V V V  
Digital Output Read Back       V V V V  
Bit Output       V V V V  
Bit Output Read Back       V V V V  
Counter                
LatchLow DI V V V V V     V
LatchHigh DI V V V V V     V
LatchLow BitIn V V V V V     V
LatchHigh BitIn V V V V V     V

 

  87063 87064 87065 87066 87068 87069
Digital Input V          
Bit Input V          
Digital Output V V V V V V
Digital Output Read Back V V V V V V
Bit Output V V V V V V
Bit Output Read Back V V V V V V
Counter            
LatchLow DI V          
LatchHigh DI V          
LatchLow BitIn V          
LatchHigh BitIn V          

 

Note 6: The "Counter" command supports D-type modules only.
Note 7: "Digital Input" = "Bit Input" for every channel
Note 8: "Digital Output" = "Bit Output" for every channel
Note 9: The 7080 uses the "cache" mechanism to implement the "Bit Output" features.

 


Analog Output Modules

  7021/ 7021P 7022 7024 8024 87022 87024 87026
Analog Output V V V V V V V
Analog Output
Read-Back
V V V V V V V