Is there an API for getting the host address of a dedicated input/output for an
I see APIs for general I/O, but not dedicated.
I could use the
IOPoint interface, but that has the unfortunate side effect of allocating memory that I cannot directly deallocate (without destroying the process instance of the
Is there a good way to do this? (I need the address for a user limit.)
You can use Axis.AddressGet with
Dedicated Outputs (Amp Enable, Brake, etc)
Dedicated Inputs (Home, Limits, Amp Fault, etc)
How do I separate the various inputs in the respective words(?) of the memory at that address?
I need an address, a mask, (and a comparator, but that comes from elsewhere).
To get the mask for the positive hardware limit (for example), you can use:
(1 << RSIMotorDedicatedInLIMIT_HW_POS)