MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ FirmwareAddressGet()

uint32 FirmwareAddressGet ( uint64  hostAddress)
pure virtual

Convert a host controller address to a firmware address.

Description:
FirmwareAddressGet converts and returns a host controller address to a firmware address.
Parameters
hostAddressAny address (host) in the controller's memory.
Returns
(int32) Host address.
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, Memory.cpp, and UserLimitDigitalInputOneCondition.cpp.