MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
DigitalOutSet()
void DigitalOutSet
(
RSIMotorGeneralIo
bitNumber
,
bool
value
)
pure virtual
Set a digital output bit.
Description:
DigitalOutSet sets the state of a digital output bit.
Parameters
bitNumber
A
RSIMotorGeneralIo
value.
value
True = ON, false = OFF.
Sample Code:
// Set Motor Bit 0 to true (ON) (HIGH)
axis->
DigitalOutSet
(RSIMotorIoMask0 ,
true
);
RapidSetup:
Use the
IO
object associated with the
Axis
Node in order to change Outputs.
See also
DigitalOutGet()