Skip to content

Digital Out Example

Get Value from DO

Get Value

When we want to get current value from Digital Output we can do it using next command

CustomNameDO.aGetValue().send();

Return signal

Value(bool)

Set Value to DO

Set Value

When we want to set value on Digital Output we can do it using next command

CustomNameDO.SetValue(true).send();

Set Value to DO (Timed)

aTimedSetValue

When we want to set value on Digital Output and turn it to oposite value after certain time we can do it using next command

CdDoTimeValue tvalue;
tvalue.m_bSetValue = true;
tvalue.m_fSetBackTimeInMs = 200.0;

CustomNameDO.aTimedSetValue(tvalue).send();

Return signal

Done()