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.

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>.iDriveSpeedRef

INT

Speed reference associated with the drive via analog output. Connected to an analog input on 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.

Prg_<modul name>.c_rScaleMinIput

REAL

0

Minimum value for the input of FB_Scaling (speed reference), user-defined for example, 0%.

Prg_<modul name>.c_rScaleMaxIput

REAL

100

Maximum value for the input of FB_Scaling (speed reference), user-defined for example 100%.

Prg_<modul name>.c_rScaleMinOput

REAL

0

Minimum value for the output of FB_Scaling (speed reference), defined by the analog output.

Prg_<modul name>.c_rScaleMaxOput

REAL

32767

Maximum value for the output of FB_Scaling (speed reference), defined by the analog output.