CIA405.CIA405BASE (FB)

( CAA_CiA405.Library)

To implement the common behavior model for all the CIA405 function blocks this function block is used as a base class. All other CIA405 function blocks within this document extend this function block.

Input:

NETWORK

USINT

CAN channel number; defines on which CAN-Bus a CiA405 function block performs its action.

range: 1 …MAX NETWORKS

initial: 1

The CAN channel number is not the same like the Net ID specified in the CANBus configurator. For calculating the CAN channel number use following formula: 

ENABLE

BOOL

Enable execution

range: true / false

initial: false

TIMEOUT

UDINT

Maximum execution time in ms; 0 means disable timeout

range:

initial: 0

Output:

CONFIRM

BOOL

Executed with success

range: true / false

initial: false

ERROR

CIA405.CANOPEN_

KERNEL_ERROR

Error code

range: 0000 … FFFF

initial: 0