Cdaqmx100::setrefalarm, Cdaqmx100::setrjctype – Yokogawa PC-Based MX100 User Manual
Page 618
![background image](/manuals/360310/618/background.png)
12-54
IM MX190-01E
CDAQMX100::setRefAlarm
Syntax
int setRefAlarm(int doNo, int refChNo, int levelNo, int
bValid);
Parameters
doNo
Specify the data number.
refChNo
Specify the reference channel number.
levelNo
Specify the alarm level.
bValid
Specify the Boolean value.
Description
Sets the reference alarm on the specified DO data number of the specified channel.
The reference alarm is specified by reference channel number and alarm level.
If the constant for “Specify All Channels” is specified for the channel numbers, all
channels are processed.
If the alarm level is set to the constant for “Specify all alarm level numbers,” all alarm
levels are processed.
Return value
Returns an error number.
Reference
getClassMXItemConfig setItemAll
CDAQMXChConfig::setRefAlarm
CDAQMXItemConfig::getClassMXChConfig
CDAQMX100::setRJCType
Syntax
int setRJCType(int chNo, int iRJCType, int volt = 0);
Parameters
chNo
Specify the channel number.
iRJCType
Specify the RJC type.
volt
Specify the RJC voltage.
Description
Sets the RJC type on the channel of the specified channel number.
Changes the setup data fields of the data member and sends them collectively.
If the constant for “Specify All Channels” is specified for the channel numbers, all
channels are processed.
Return value
Returns an error number.
Reference
getClassMXItemConfig setItemAll
CDAQMXChConfig::setRJCType
CDAQMXItemConfig::getClassMXChConfig
12.4 Details of the MX100 Class