Input and Output Pin Description

Input Pin Description

This table describes the input pins of the MOT1D2S function block:

Input

Data Type

Description

i_xAut

BOOL

TRUE: Automatic mode enabled

FALSE: Disabled

i_xMan

BOOL

TRUE: Manual mode enabled

FALSE: Disabled

i_xLoc

BOOL

TRUE: Local mode enabled

FALSE: Disabled

i_xFwdLoc

BOOL

Rising edge trigger from 0 to 1 runs the motor in forward direction.

Manual and Local Mode to be set to 1 simultaneously.

i_xStopLoc

BOOL

Rising edge trigger from 0 to 1 stops the motor in forward direction.

Manual and Local Mode to be set to 1 simultaneously.

i_xLocFast

BOOL

TRUE: Fast command is enabled in local mode

FALSE: Disabled

(Optional)

i_xFwdAut

BOOL

TRUE: Forward command enabled in auto mode

FALSE: Disabled

(Optional)

i_xAutFast

BOOL

TRUE: Fast command enabled in auto mode

FALSE: Disabled

(Optional)

i_xFwdFbck

BOOL

TRUE: Feedback is active.

FALSE: No feedback

i_xLock

BOOL

TRUE: Interlock is active.

FALSE: No interlock

i_xErr

BOOL

TRUE: External detected error is active.

FALSE: No external detected error.

i_xErrRst

BOOL

Acknowledgement is done with a rising edge.

Input to acknowledge internal and external detected errors indicated at the output q_xErr.

i_strPara

STRUCT Par_Mot_1d2s

Structure with parameters for this block.

Refer to structures used.

i_dwCtrl

DWORD

Command bits to interact from the HMI

Refer to command double word description.

Output Pin Description

This table describes the output pins of the MOT1D2S function block:

Output

Data Type

Description

q_xAut

BOOL

TRUE: Automatic mode enabled

FALSE: Disabled

q_xMan

BOOL

TRUE: Manual mode enabled

FALSE: Disabled

q_xFwd

BOOL

TRUE: Forward command active

FALSE: Disabled

q_xFast

BOOL

TRUE: Fast command active

FALSE: Disabled

q_xLock

BOOL

TRUE: Interlock is active

FALSE: No interlock

Indicates that the operation is blocked by an interlock (input i_xLock).

q_xErr

BOOL

TRUE: Detected error is active

FALSE: No detected error

q_dwStat

DWORD

Status bits to be displayed in the HMI.

Refer to status double word bit description.