RMP Motion Controller
10.5.2
The RMP Motion Controller APIs
MotionController
NetworkNode
Axis
MultiAxis
IOPoint
Cartesian
RsiError
Contact
Support
RMP
◆
DigitalOutSet()
void DigitalOutSet
(
RSIMotorGeneralIo
motorGeneralIoNumber
,
bool
outValue
)
Description:
DigitalOutSet sets the state of a digital output bit.
Parameters
motorGeneralIoNumber
A
RSIMotorGeneralIo
value.
outValue
True = ON, false = OFF.
Remarks
This function is also available in
RapidSequencer
.
Part of the
User IO
method group.
Sample Code:
IO: Input & Output
// Retrieve dedicated inputs with generic and specific function.
Console.WriteLine(
"RSIMotorDedicatedInLIMIT_HW_NEG: {0} and {1}"
,
axis.
DedicatedInGet
(
RSIMotorDedicatedIn
.RSIMotorDedicatedInLIMIT_HW_NEG),
axis.
NegativeLimitGet
());
Console.WriteLine(
"RSIMotorDedicatedInLIMIT_HW_POS: {0} and {1}"
,
axis.
DedicatedInGet
(
RSIMotorDedicatedIn
.RSIMotorDedicatedInLIMIT_HW_POS),
axis.
PositiveLimitGet
());
Console.WriteLine(
"RSIMotorDedicatedInHOME: {0} and {1}"
,
axis.
DedicatedInGet
(
RSIMotorDedicatedIn
.RSIMotorDedicatedInHOME),
axis.
HomeSwitchGet
());
Console.WriteLine(
"RSIMotorDedicatedInAMP_FAULT: {0} and {1}"
,
axis.
DedicatedInGet
(
RSIMotorDedicatedIn
.RSIMotorDedicatedInAMP_FAULT),
axis.
AmpFaultGet
());
Console.WriteLine(
"RSIMotorDedicatedInAMP_ACTIVE: {0} and {1}"
,
axis.
DedicatedInGet
(
RSIMotorDedicatedIn
.RSIMotorDedicatedInAMP_ACTIVE),
axis.
AmpEnableGet
());
RapidSetup:
Use the
IO
object associated with the
Axis
Node in order to change Outputs.
See also
DigitalOutGet()
RSI
RapidCode
Axis
Generated by
1.10.0