DoJogP()

DoJogP() 1:

This method performs the start and stop of the axis in the positive direction.

Syntax:

METHOD DoJogP : HRESULT
VAR_INPUT
    bEnable : BOOL;
END_VAR

DoJogP() 2: Return value

Name

Type

Description

DoJogP

HRESULT

See below

The return value of the method is of type HRESULT. The following return values are to be expected.

E_AdsErr

Return value

Cause

DEVICE_BUSY

0x9B00 0708

The axis is busy performing another core function.

DEVICE_INVALIDDATA

0x9B00 0706

Not all data and parameters for the core function are available and valid.

DEVICE_INVALIDSTATE

0x9B00 0712

The state of the axis does not allow the execution.

DEVICE_NOTINIT

0x9B00 0718

The core function is not or not completely initialized.

NOERR

0x1B00 0000

The core function has accepted the command.

DoJogP() 3: Inputs

Name

Type

Description

bEnable

BOOL

A rising edge starts a jogging in positive direction. A falling edge triggers a stop of the axis.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticFunctions v3.12.4.26 or higher