Data type PLCTONC_AXIS_REF

The data structure PLCTONC_AXIS_REF is part of the AXIS_REF data structure and cyclically transfers information to the NC. PLCTONC_AXIS_REF is also referred to as axis interface between PLC and NC.


TYPE PLCTONC_AXIS_REF
STRUCT
ControlDWord       : DWORD; (* Control double word *)
Override           : DWORD; (* Velocity override *)
AxisModeRequest    : DWORD; (* Axis operating mode (PLC request) *)
AxisModeDWord      : DWORD; (* optional mode parameter *)
AxisModeLReal      : LREAL; (* optional mode parameter *)
PositionCorrection : LREAL; (* Correction value for current position *)
ExtSetPos          : LREAL; (* external position setpoint *)
ExtSetVelo         : LREAL; (* external velocity setpoint *)
ExtSetAcc          : LREAL; (* external acceleration setpoint *)
ExtSetDirection    : DINT; (* external direction setpoint *)
Reserved1          : DWORD; (* reserved *)
ExtControllerOutput: LREAL; (* external controller output *)
GearRatio1         : LREAL; (* Gear ratio for dynamic multi master coupling modes *)
GearRatio2         : LREAL; (* Gear ratio for dynamic multi master coupling modes *)
GearRatio3         : LREAL; (* Gear ratio for dynamic multi master coupling modes *)
GearRatio4         : LREAL; (* Gear ratio for dynamic multi master coupling modes *)
MapState           : BYTE; (* reserved - internal use *)
Reserved_HIDDEN    : ARRAY [105..127] OF BYTE;
END_STRUCT
END_TYPE

Extended description of the TYPE PLCTONC_AXLESTRUCT data structure