The RMP Motion Controller API

◆ DigitalOutSet()

virtual void DigitalOutSet ( int32_t  digitalOutNumber,
bool  outValue 
pure virtual

Set the state of a digital output bit.

DigitalOutSet sets the state of a digital output bit. It is passed a bit ID relative to the Node (not Segment).
digitalOutNumberThe digital output number on the node, starts from 0.
valueDesired State of the output.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the IO Members method group.

Sample Code:
Set output bit bitNum high.
// -- C++ -- //
// -- C# --//
io.DigitalOutSet(bitNum, true);
Slice I/O has multiple segments of same type (Digital/Analog In/Out) which are grouped together. The reference number for any bit of a given type can be defined as when it is encounted relative to the Slice I/O Node or an individual Slice.
See also