FB_AX2000_JogMode

FB_AX2000_JogMode 1:

The FB_AX2000_JogMode function block is used for jog mode.

FB_AX2000_JogMode 2: Inputs

VAR_INPUT
    bStart     : BOOL;
    bStop      : BOOL;
    iBasicVelo : INT;(*BasicVelocity*)
    tTimeOut   : TIME := DEFAULT_ADS_TIMEOUT;
END_VAR

Name

Type

Description

bStart

BOOL

Start jog mode

bStop

BOOL

Stop jog mode

iBasicVelo

INT

Basic velocity; the actual velocity is derived from the basic velocity and the "v-jog mode" factor for the drive.

tTimeOut

BOOL

Maximum time allowed for the execution of the command.

FB_AX2000_JogMode 3: Inputs/outputs

VAR_IN_OUT
    stPZDIN    : ST_PZD_IN;
    stPZDOUT   : ST_PZD_OUT;
END_VAR

Name

Type

Description

stPZDIN

ST_PZD_IN

Data words from the drive to the PLC.

stPZDOUT

ST_PZD_OUT

Data words from the PLC to the drive.

FB_AX2000_JogMode 4: Outputs

VAR_OUTPUT
    bBusy       : BOOL;
    bErr        : BOOL;
    bTimeOutErr : BOOL;
END_VAR

Name

Type

Description

bBusy

BOOL

This output remains TRUE until the function block has executed a command. While Busy = TRUE, no new command will be accepted at the inputs. Note that it is not the execution of the service that is monitored in terms of time, but only its acceptance.

bErr

BOOL

This output shows the error state.

bTimeOutErr

BOOL

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)