FB_AX2000_Reference

FB_AX2000_Reference 1:

Calibration

VAR_IN_OUT

VAR_IN_OUT
    stPZDIN             : ST_PZD_IN; 
    stPZDOUT            : ST_PZD_OUT;
END_VAR

stPZDIN : Data words from drive to PLC

stPZDOUT : Data words from PLC to drive

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: Set reference Point

bCalibrStart: Start home running.

bCalibrStop: Stop home running

iCalVelo: Basic velocity of Calibration. The end velocity contains of the basic velocity and the factor "v-jogmode" of 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 displays the error state.

Requirements

Development Environment

Target System

IO Hardware

PLC Libraries to include

TwinCAT v2.8.0 Build > 737

PC (i386)

AX2000 Profibus box

TcIoFunctions.Lib

( Standard.Lib; TcBase.Lib; TcSystem.Lib; TcUtilities.Lib are included automatically )