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 function block.

IEC interface

  • AxisInterface[].stDeviceNames
  • This structure contains two string variables that include the name of the logical device (stLogicalDeviceName) and the associated physical device (stPhysicalDeviceSlotName). These two variables are for diagnostic purposes only and should not be copied or used further due to the size of the string variables. For simulated and virtual axes, the stPhysicalDeviceSlotName variable 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 for the axis and the various modes.