RMP Motion Controller
10.4.4
The RMP Motion Controller APIs
MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Contact
Support
RMP
◆
DigitalOutSet()
void DigitalOutSet
(
int32_t
digitalOutNumber
,
bool
outValue
)
Description:
DigitalOutSet sets the state of a digital output bit. It is passed a bit ID relative to the Node (not Segment).
Parameters
digitalOutNumber
The digital output number on the node, starts from 0.
value
Desired State of the output.
Remarks
This function is also available in
RapidSequencer
.
Part of the
IO Members
method group.
Sample Code:
Set output bit bitNum high.
// -- C++ -- //
io->
DigitalOutSet
(bitNum,
true
);
// -- C# --//
io.
DigitalOutSet
(bitNum,
true
);
Note
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
DigitalOutGet
RSI::RapidCode::IO::DigitalOutSet
void DigitalOutSet(int32_t digitalOutNumber, bool outValue)
Set the state of a digital output bit.
RSI
RapidCode
IO
Generated on Thu Sep 28 2023 12:52:43 for RMP Motion Controller by
1.8.20