Adding Device Module to the Project

Instantiation of the Device Module

The instantiation of this Device Module requires that a CANopen manager be added to the CAN interface of your controller.

Using the instantiation dialog, you can:

oselect the CANopen manager which shall manage the device

oassign the CANopen node address for the device

omap variables to physical inputs and outputs of your configuration

oadjust initial values for selected variables which are part of the template

Variables selected for parameterization (constant):

Variable

Data Type

Default Value

Description

Prg_<modul name>.c_usiNodeId

USINT

1

CAN node address of the device.

Prg_<modul name>.c_usiNetworkNb

USINT

1

Network number of the CAN interface.

Prg_<modul name>.c_udiTmotGetStat

UDINT

1000

Parameter for timeout monitoring on FB instance GET_STATE.