Cm598CanopenNmt (FB)
FUNCTION_BLOCK PUBLIC FINAL Cm598CanopenNmt EXTENDS Cm598Base
The Function Block used to control the state of the NMT nodes in a CANopen network Its behavior is implemented according to the ETrig Function Block.
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Input
DeviceIDeviceCM598Can0
Instance of CM598Can device
Output
ErrorIDERROR_ID.NO_ERROR
Error code that describes the occured error
Input
NodeIdUDINT0
Node ID (1.127)
NmtCmdCm598NmtCmd.Start
Nmt command
Output
AddErrorIDUDINTCM598Defines.CM598_ADD_ERROR_NONE
Additional description of error, when ErrorID is “REQUEST_FAILED”