CIA405.GET_LOCAL_NODE_ID (FB)

( CAA_CiA405.Library)

Function block CIA405.GET_LOCAL_NODE_ID returns the own node ID.

Extends CIA405.CIA405BASE.

Input:

NETWORK

USINT

see CIA405.CIA405BASE 

ENABLE

BOOL

see CIA405.CIA405BASE 

TIMEOUT

UDNT

see CIA405_CIA405BASE 

Output:

CONFIRM

BOOL

see CIA405_CIA405BASE

ERROR

CIA405.CANOPEN_

KERNEL_ERROR

see CIA405_CIA405BASE

DEVICE

CIA405.DEVICE

Local node id; 0 means error

range: 0 … 127

initial: 0

插图 565: Request/Response diagram
  • Data output DEVICE is valid only if CONFIRM is TRUE. If CONFIRM is FALSE, the data output is invalid and may contain any value.
  • The request for data is initiated only once with the rising edge at ENABLE. Another request is initiated not before another rising edge at ENABLE is recognized.
  • In case of an error during execution of the function block it is defined to deliver the invalid node number DEVICE=0 and ERROR = 0.
  • For behavior of ENABLE and CONFIRM see chapter “Control mechanism”.
  • For inputs NETWORK and TIMEOUT see chapter   Additional parameters .