Adding Device Module to the Project

Instantiation of the Device Module

Using the instantiation of 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>.xDriveNoFlt

BOOL

Signal associated with the drive contact indicating that the drive is operational (no error detected).

GVL_<modul name>.xDriveRun

BOOL

Signal associated with the drive contact indicating that the drive is running.

GVL_<modul name>.xMotor1StatSel

BOOL

Signal associated with the contactor indicating motor 1 is linked to the drive.

GVL_<modul name>.xMotor2StatSel

BOOL

Signal associated with the contactor indicating motor 2 is linked to the drive.

Variables selected for I/O mapping (output):

Variable

Data Type

Default Value

Description

GVL_<modul name>.xDriveCmdMotFwd

BOOL

Operates the drive in a forward direction. Associated to a connected input on the drive.

GVL_<modul name>.xDriveCmdMotRev

BOOL

Operates the drive in a reverse direction. Associated to a connected input on the drive.

GVL_<modul name>.xDriveRst

BOOL

Resets the drive in case an error is detected. Associated to a connected input on the drive.

GVL_<modul name>.xDriveCmdFast

BOOL

Selects the second preset speed for the drive. Associated to a connected input on the drive.

GVL_<modul name>.xMotor1CmdSel

BOOL

Activates the contactor which links the motor 1 to the drive.

GVL_<modul name>.xMotor2CmdSel

BOOL

Activates the contactor which links the motor 2 to the drive.

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.

Prg_<modul name>.c_iDlyTimeRevs

INT

2

Delay time in seconds for changing direction.