MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ DigitalOutGet()

bool DigitalOutGet ( RSIMotorGeneralIo  bitNumber)
pure virtual

Get the state of digital output bit.

Description:
DigitalOutGet returns the state of a digital output bit.
Parameters
bitNumberA RSIMotorGeneralIo value.
Returns
(bool) State of the input.
Sample Code:
if(axis->DigitalOutGet(RSIMotorIoMask0) == true)
{
printf("Motor Bit 0 (Output) is ON \n");
}
RapidSetup:
Use the IO object associated with the Axis Node in order to monitor Outputs.
See also
DigitalOutSet