FB_AX2000_Reference

FB_AX2000_Reference 1:

Homing.

VAR_IN_OUT

VAR_IN_OUT
    stPZDIN  : ST_PZD_IN;
    stPZDOUT : ST_PZD_OUT;
END_VAR

stPZDIN : Data words from the drive to the PLC (type: ST_PZD_IN).

stPZDOUT: Data words from the PLC to the drive (type: ST_PZD_OUT).

VAR_INPUT

VAR_INPUT
    bSetRefPoint : BOOL;(* set Reference Point*)
    bCalibrStart : BOOL;(* start home running*)
    bCalibrStop  : BOOL;(* stop home running*)
    iCalVelo     : WORD;(* basic velocity of Calibration*)
END_VAR

bSetRefPoint : Setting the reference point.

bCalibrStart: Start the homing run.

bCalibrStop: Stop the homing run.

iCalVelo : Basic speed for the reference travel. The final speed is composed of the basic speed and the "v-jogging mode" factor for the drive.

VAR_OUTPUT

VAR_OUTPUT
    bBusy : BOOL;
    bErr  : BOOL;
END_VAR

bBusy: This output remains TRUE until the block has executed a command. While Busy = TRUE, no new command will be accepted at the inputs. Please note that it is not the execution of the service but its acceptance whose time is monitored.

bErr: This output shows the error status.

Requirements

Development environment

Target platform

IO hardware

PLC libraries to be integrated (category group)

TwinCAT v3.1.0

PC or CX (x86)

AX2000 Profibus box

Tc2_IoFunctions (IO)