MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
CreateDigitalInput()
[1/3]
IOPoint
* CreateDigitalInput
(
Axis
*
axis
,
RSIMotorDedicatedIn
bitNumber
)
static
Create a Digital Input from an
Axis
' Dedicated Input bits.
Description:
Parameters
axis
bitNumber
RSIMotorDedicatedIn
Returns
(IOPoint*) A pointer to the newly created
IOPoint
.
Sample Code:
Create a new IOPOint...
// -- C++ -- //
IOPoint
*myInput =
IOPoint
:
CreateDigitalInput
(axis,
RSIMotorDedicatedIn::RSIMotorDedicatedInHOME
);
Note
Examples
UserLimitDigitalInputAction.cpp
,
UserLimitDigitalInputOneCondition.cpp
,
UserLimitDigitalInputOneCondition.cs
, and
UserLimitDigitalInputTwoCondition.cpp
.