RMP Motion Controller
10.4.1
The RMP Motion Controller APIs
MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Contact
Support
RMP
◆
MemoryBlockGet()
void MemoryBlockGet
(
uint64_t
address
,
void *
dataStart
,
int32_t
size
)
Description:
MemoryBlockGet accesses data in the controller's memory by reference.
Parameters
address
An address (host) in the controller's memory.
dataStart
Location to store address memory.
size
Size of data in bytes
Remarks
This function is also available in
RapidSequencer
.
Sample Code:
// -- C++ -- //
int32_t anAddress = axis->AddressGet(RSIAxisAddressTypeACTUAL_POSITION);
controller->MemoryBlockGet(anAddress, (
void
*) addressValue,
sizeof
(addressValue));
printf(
"Value is %ld\n"
, addressValue);
// -- C# -- //
int
anAddress = axis.AddressGet(RSIAxisAddressTypeACTUAL_POSITION);
controller.MemoryBlockGet(anAddress, (
void
*) addressValue,
sizeof
(addressValue));
Console.WriteLine(
"Value is {0}."
, addressValue);
See also
MemoryBlockSet
RSI
RapidCode
MotionController
Generated on Mon Mar 27 2023 15:31:02 for RMP Motion Controller by
1.8.20