Digital I/O Addresses for Axes

NetworkNode objects have API functions for dealing with digital I/O.

  • DigitalInCountGet
  • DigitalInAddressGet
  • DigitalInMaskGet
  • DigitalInGet

Axis objects have their own APIs for get/set of I/O state of the digital inputs hosted by the Axis object/node.

  • DigitalInGet(RSIMotorGeneralIo motorGeneralIoNumber)

However, there’s no Axis method to retrieve the address of an I/O point. Will the addresses returned by the NetworkNode functions “point” to the same I/O that is used by the Axis digital I/O methods?

Hi @todd_mm,

DigitalInGet(RSIMotorGeneralIo motorGeneralIoNumber) is a legacy function from the SynqNet days. I would stick to using Axis::NetworkNode::DigitalInGet and similar functions.

The two IOPoint creation methods for DedicatedIO and GeneralIO would be how you created IOPoints but I don’t recommend them.

1 Like