For the object topics, the item names are the atom names or attribute names as listed in the following tables for the different kinds of objects. In many cases, an extra parameter is allowed after the atom or attribute name to specify further details of the request. The atom name or attribute name and the parameter are delimited by the character "#".
When atoms are updated, a time stamp can also be given so that updates back in time can be made.
List of item names in DDE
|
Analog |
Table |
Digital |
Counter |
String |
|---|---|---|---|---|
|
"High alarm" |
"Index 0" |
"Command" |
"Counter" |
"String" |
|
"High limit" |
"Index 1" |
"State" |
"Counter limit" |
|
|
"Value" |
"Index 2" |
"Ana value" |
"Preset" |
|
|
"Setpoint" |
"Index 3" |
|
"Command" |
|
|
"Low limit" |
"Index 4" |
|
|
|
|
"Low alarm" |
"Index 5" |
|
|
|
|
|
"Index 6" |
|
|
|
|
|
"Index 7" |
|
|
|
|
|
"Index 8" |
|
|
|
|
|
"Index 9" |
|
|
|
Parameters
All atoms can be specified with the following parameters:
|
Parameter |
Description |
|
IOMODE |
Returns the I/O mode (in, out, in/out or local). |
|
FULLATOM |
Returns the value, time and quality (OPC). |
|
DIGINAMES |
Returns the digital state name instead of the state number. |
|
FULLATOMDIGI |
Returns the state name, time and quality (OPC) |
Attributes
The following attributes are available:
|
This attribute … |
Returns the following … |
|
High range |
Maximum value defined for an object |
|
Low range |
Minimum value defined for an object |
|
Type |
Object type (analog, digital, etc.) |
|
Scan class |
Scan class for the object |
|
Scan ivl |
Scan interval in msec. |
|
Base class |
Base class for the object |
|
Red ivl |
Base interval in min. |
|
Decimals |
Number of decimals |
|
Table len |
Table length if object is a table |
|
Description |
Descriptive text for object |
|
Unit |
Measurement unit |
|
Change time |
Time for latest change of object |
|
Alarm state |
State of alarm, if any, on object |
|
Alarm value |
Current value for object in alarm |
|
Alarm number |
Number of alarm, if any, on object |
|
Alarm start s |
Start time of alarm, if any, on object (in seconds) |
|
Alarm start ms |
msec. part of Alarm start time |
|
Alarm ack s |
Acknowledge time of alarm, if any, on object (in seconds) |
|
Alarm ack ms |
msec. part of alarm ack time. |
|
Alarm end s |
End time of alarm, if any, on object (in seconds) |
|
Alarm end ms |
msec. part of alarm end time |
|
Alarm prio |
Priority of alarm, if any, on object |
|
Alarm |
List of all previously mentioned alarm attributes for an alarm, if any, on object. |
|
Alarm list |
List of all alarms, if any on object |
|
Alarm clear |
End an alarm on an object. Alarm number required |
|
Alarm set |
Set an object in alarm. Alarm number required. |
|
Alarm ack |
Acknowledge alarm on object. Alarm number required. |
|
All atoms |
Value, time and quality of all atoms.
|
$Sys_info items
Click here for a list of the $Sys_info items.
See Also