FB_AX2000_JogMode

FB_AX2000_JogMode 1:

Jogging operation.

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
    bStart     : BOOL;
    bStop      : BOOL;
    iBasicVelo : INT;(*BasicVelocity*)
    tTimeOut   : TIME := DEFAULT_ADS_TIMEOUT;
END_VAR

bStart: Start jogging mode.

bStop : Stop jogging mode.

iBasicVelo: Basic speed for jogging mode; the actual speed is derived from the basic speed and the "v-jogging mode" factor for the drive.

tTimeOut: Maximum time allowed for the execution of the command.

VAR_OUTPUT

VAR_OUTPUT
    bBusy       : BOOL;
    bErr        : BOOL;
    bTimeOutErr : 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.

bTimeOutErr : TimeOut error.

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)