MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ MemoryBlockGet()

void MemoryBlockGet ( uint64  address,
void *  data,
int32  size 
)
pure virtual

Read controller memory.

Description:
MemoryBlockGet accesses data in the controller's memory by reference.
Parameters
addressAn address (host) in the controller's memory.
dataLocation to store address memory.
sizeSize of data in bytes
Sample Code:
// -- C++ -- //
controller->MemoryBlockGet(anAddress, (void*) addressValue, sizeof(addressValue));
printf("Value is %ld\n", addressValue);
// -- C# -- //
controller.MemoryBlockGet(anAddress, (void*) addressValue, sizeof(addressValue));
Console.WriteLine("Value is {0}.", addressValue);
See also
MemoryBlockSet