RMP Motion Controller
10.7.1
APIs
, concepts, guides, and more
Community
Support
Contact
◆
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.
Sample Code:
// -- C++ -- //
anAddress = axis->AddressGet(
RSIAxisAddressTypeACTUAL_POSITION
);
printf(
"Value is %ld\n"
, controller->MemoryGet(anAddress));
RSI::RapidCode::RSIAxisAddressType::RSIAxisAddressTypeACTUAL_POSITION
@ RSIAxisAddressTypeACTUAL_POSITION
Actual Position.
Definition
rsienums.h:435
// -- C# -- //
anAddress = axis.AddressGet(
RSIAxisAddressType
.RSIAxisAddressTypeACTUAL_POSITION);
Console.WriteLine(
"Value is {0}"
, controller.MemoryGet(anAddress));
RSI::RapidCode::RSIAxisAddressType
RSIAxisAddressType
Used to get firmware address used in User Limits, Recorders, etc.
Definition
rsienums.h:434
See also
MemorySet
RSI
RapidCode
MotionController
Generated by
1.15.0