◆ MemoryGet()

virtual int32_t MemoryGet ( uint64_t  address)
pure virtual

Read controller memory.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
MemoryGet returns the value the controller's memory.
Parameters
addressAn 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));
// -- C# -- //
anAddress = axis.AddressGet(RSIAxisAddressType.RSIAxisAddressTypeACTUAL_POSITION);
Console.WriteLine("Value is {0}", controller.MemoryGet(anAddress));
See also
MemorySet
Examples
MotionHoldReleasedBySoftwareAddress.cpp.