Adding Device Module to the Project

Instantiation of the Device Module

Using Add Function From Template for this Device Module, you can:

  • map variables to physical inputs and outputs of your configuration

  • adjust initial values for selected variables which are part of the template

Variables selected for I/O mapping (input):

Variable

Data Type

Default Value

Description

GVL_<modul name>.xMcbRdy

BOOL

Signal associated with the motor circuit breaker contact indicating that the device is under power.

GVL_<modul name>.xFwdFbck

BOOL

Feedback signal indicating motor runs in a forward direction.

Variable selected for I/O mapping (output):

Variable

Data Type

Default Value

Description

GVL_<modul name>.xDriveMotFwd

BOOL

Activates the drive in a forward direction.

Variables selected for parameterization (constant):

Variable

Data Type

Default Value

Description

Prg_<modul name>.c_xEnFbckCtrl

BOOL

FALSE

Enables the monitoring of the feedback signals of the motor run state.

Prg_<modul name>.c_ iDlyTimeFbckCtrl

INT

2

Delay time in seconds to determine that the feedback signal is inoperable and to activate an alarm.