MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
CreateDigitalInput()
[2/3]
IOPoint
* CreateDigitalInput
(
Axis
*
axis
,
RSIMotorGeneralIo
bitNumber
)
static
Create a Digital Input from an
Axis
' general purpose inputs.
Description:
Parameters
axis
bitNumber
RSIMotorGeneralIo
Returns
(IOPoint*) A pointer to the newly created
IOPoint
.
Sample Code:
Create a new IOPOint...
// -- C++ -- //
IOPoint
*myInput =
IOPoint
:
CreateDigitalInput
(axis,
RSIMotorGeneralIo::RSIMotorGeneralIo3
);
Note