RMP Motion Controller
10.4.4
The RMP Motion Controller APIs
MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Contact
Support
RMP
◆
MemoryGet()
int32_t MemoryGet
(
uint64_t
address
)
Description:
MemoryGet returns the value the controller's memory.
Parameters
address
An address (host) in the controller's memory.
Returns
(int32_t) The value stored at the address.
Remarks
This function is also available in
RapidSequencer
.
Sample Code:
// -- C++ -- //
anAddress = axis->AddressGet(RSIAxisAddressTypeACTUAL_POSITION);
printf(
"Value is %ld\n"
, controller->
MemoryGet
(anAddress));
// -- C# -- //
anAddress = axis.AddressGet(
RSIAxisAddressType
.RSIAxisAddressTypeACTUAL_POSITION);
Console.WriteLine(
"Value is {0}"
, controller.
MemoryGet
(anAddress));
See also
MemorySet
Examples
MotionHold.cs
, and
MotionHoldReleasedBySoftwareAddress.cpp
.
RSI::RapidCode::MotionController::MemoryGet
int32_t MemoryGet(uint64_t address)
Read controller memory.
RSI::RapidCode::RSIAxisAddressType
RSIAxisAddressType
Used to get firmware address used in User Limits, Sequencers, etc.
Definition:
rsienums.h:430
RSI
RapidCode
MotionController
Generated on Thu Sep 28 2023 12:52:43 for RMP Motion Controller by
1.8.20