RMP Motion Controller
10.4.4
The RMP Motion Controller APIs
MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Contact
Support
RMP
◆
BackgroundCycleCounterGet()
int32_t BackgroundCycleCounterGet
(
)
Description:
BackgroundCycleCounterGet returns the value of the counter
Returns
(int32_t) Background cycle counter value.
Remarks
This function is also available in
RapidSequencer
.
Sample Code:
// -- C++ -- //
printf(
"Background Cycle Counter reads %ld\n"
, controller->
BackgroundCycleCounterGet
());
// -- C# -- //
Console.WriteLine(
"Background Cycle Counter reads {0}"
, controller.
BackgroundCycleCounterGet
());
See also
SampleCounterGet
Note
The return value is a 32 bit counter which will roll over.
RSI::RapidCode::MotionController::BackgroundCycleCounterGet
int32_t BackgroundCycleCounterGet()
Get the current value of the controller's processor's background cycle counter.
RSI
RapidCode
MotionController
Generated on Thu Sep 28 2023 12:52:43 for RMP Motion Controller by
1.8.20