Axis driver interface

The axis driver can be operated either directly via the inputs/outputs or via the global variable interface. By default, the global variable AxisInterface[x] is linked to the inputs and outputs of the axis driver module.

IEC interface

  • AxisInterface[].stDeviceNames
  • In this structure, there are two string variables containing the name of the logical device (stLogicalDeviceName) and the associated real device (stPhysicalDeviceSlotName). These two variables are for diagnostic purposes only and should not be copied and used further due to the size of the string variables. For simulated and virtual axes, the variable stPhysicalDeviceSlotName has the value "Simulated".
  • AxisInterface[].In
  • This structure contains the control variables for the axis.
  • AxisInterface[].Out
  • This structure contains the status and actual values of the axis.
  • AxisInterface[].Config
  • This structure contains configuration values of the axis and the various modes.