Cm598CanopenSetNodeMode (FB)

FUNCTION_BLOCK PUBLIC FINAL Cm598CanopenSetNodeMode EXTENDS Cm598Base

The Function Block used to activate/deactivate a node in a CANopen network Its behavior is implemented according to the ETrig Function Block.

InOut:

Scope

Name

Type

Initial

Comment

Inherited from

Input

Device

IDeviceCM598Can

0

Instance of CM598Can device

Cm598Base

Output

ErrorID

ERROR_ID

ERROR_ID.NO_ERROR

Error code that describes the occured error

Cm598Base

Input

NodeId

UDINT

Node ID (1.127)

NodeModeCmd

Cm598NodeModeCmd

Node mode command

Output

AddErrorID

UDINT

CM598Defines.CM598_ADD_ERROR_NONE

Additional description of error, when ErrorID is “REQUEST_FAILED”