RMP Motion Controller
10.4.4
The RMP Motion Controller APIs
MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Contact
Support
RMP
◆
FirmwareAddressGet()
uint32_t FirmwareAddressGet
(
uint64_t
hostAddress
)
Description:
FirmwareAddressGet converts and returns a host controller address to a firmware address.
Parameters
hostAddress
Any address (host) in the controller's memory.
Returns
(int32_t) Host address.
Remarks
This function is also available in
RapidSequencer
.
Sample Code:
// -- C# -- //
int
addr = controller.
AddressGet
(
RSIControllerAddressType
.RSIControllerAddressTypeSAMPLE_COUNTER);
Console.WriteLine(
"Host address is 0x{0} Firmware Address is 0x{1}"
, addr, controller.
FirmwareAddressGet
(addr));
See also
MemorySet
,
MemoryGet
,
AddressFromStringGet
Examples
Gantry.cpp
, and
Memory.cpp
.
RSI::RapidCode::MotionController::AddressGet
uint64_t AddressGet(RSIControllerAddressType type)
Get the an address for some location on the MotionController.
RSI::RapidCode::RSIControllerAddressType
RSIControllerAddressType
Used to get firmware address used in User Limits, Sequencers, etc.
Definition:
rsienums.h:412
RSI::RapidCode::MotionController::FirmwareAddressGet
uint32_t FirmwareAddressGet(uint64_t hostAddress)
Convert a host controller address to a firmware address.
RSI
RapidCode
MotionController
Generated on Thu Sep 28 2023 12:52:43 for RMP Motion Controller by
1.8.20