Adding Device Module to the Project

Instantiation of the Device Module

The instantiation of this Device Module requires the CANopen manager under the CAN interface of the controller within the Devices tree of the Logic Builder configuration.

Using Add Function From Template, you can:

  • Select the fieldbus master which manages the device.

  • Assign the node ID to the CANopen remote device.

  • Map variables to physical inputs and outputs of your configuration.

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

Variable selected for I/O mapping (input):

Variable

Data type

Default value

Description

GVL_<name device module>.xMcbRdy

BOOL

Indicates the state of motor circuit breaker.

Variable selected for parameterization (constant):

Variable

Data type

Default value

Description

Prg_<name device module>.c_udiTmotGetStat

UDINT

1000

Parameter for timeout monitoring on FB instance GET_STATE in ms.