RMP Motion Controller
10.5.2
The RMP Motion Controller APIs
MotionController
NetworkNode
Axis
MultiAxis
IOPoint
Cartesian
RsiError
Contact
Support
RMP
◆
ServiceThreadEnableSet()
void ServiceThreadEnableSet
(
bool
enable
)
Description:
ServiceThreadEnableSet configures the service thread.
Parameters
enable
True = service thread is running, false = service thread is stopped.
Remarks
This function is also available in
RapidSequencer
.
Sample Code:
Stop the service thread before starting to use the controller's Sync interrupt.
// -- C++ -- //
controller->
ServiceThreadEnableSet
(
false
);
RSI::RapidCode::MotionController::ServiceThreadEnableSet
void ServiceThreadEnableSet(bool enable)
Enable or disable the service thread.
// -- C# -- //
controller.
ServiceThreadEnableSet
(
false
);
Note
The service thread is started automatically by default when the controller is initialized. It should only be disabled if using the periodic Sync interrupt from the controller.
See also
InterruptEnable
Examples
SyncInterrupt.cpp
.
RSI
RapidCode
MotionController
Generated by
1.10.0