MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
MemoryGet()
int32 MemoryGet
(
uint64
address
)
pure virtual
Read controller memory.
Description:
MemoryGet returns the value the controller's memory.
Parameters
address
An address (host) in the controller's memory.
Returns
(int32) 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
, and
MotionHoldReleasedBySoftwareAddress.cs
.