Owner manual
11-2 IM MX190-01E
11.2 DARWIN Constants
This section describes the mnemonic and the meaning of the constants. For
DARWIN terminology, see appendix 2.
Communication Constants
Mnemonic Description
DAQDARWIN_COMMPORT Communication port number of DARWIN.
Enumeration Constants
Sets the number of items such as the number of modules or units.
Mnemonic Description
DAQDARWIN_NUMCHANNEL The number of channels.
DAQDARWIN_NUMALARM The number of alarms.
DAQDARWIN_NUMUNIT The number of subunits.
DAQDARWIN_NUMSLOT The number of slots per subunit.
DAQDARWIN_NUMTERM The number of terminals per slot (module).
Maximum Values
Mnemonic Description
DAQDARWIN_MAXCHNAMELEN Maximum length of the channel name string.
DAQDARWIN_MAXCHRANGLEN Maximum length of the channel range name string.
DAQDARWIN_MAXUNITLEN Maximum length of the unit name string.
DAQDARWIN_MAXMODULELEN Maximum length of the module name string.
DAQDARWIN_MAXRELAYLEN Maximum length of the relay name string. Same as
the maximum length of the channel name string.
Relay refers to the output relay of the alarm output
module or the DI/DO module.
DAQDARWIN_MAXALARMLEN Maximum length of the alarm type string.
DAQDARWIN_MAXDECIMALPOINT Maximum value of the decimal point position.
The maximum length of the string does not include the terminator (NULL).
String
Mnemonic Description
DAQDARWIN_TERMINATE Terminator string.
Boolean Value (valid/invalid)
Mnemonic Description
DAQDARWIN_VALID_OFF Invalid (OFF) value.
DAQDARWIN_VALID_ON Valid (ON) value.