DMx ¶ DTC DTC (Struct) FMI (Enum) Lamps LAMP_FLASH (Enum) LAMP_INFO (Struct) LAMP_STATUS (Enum) Receive DM1_Read (FunctionBlock) DM2_Read (FunctionBlock) DTC Processing (DTC Handler) DTCBufferWriter (FunctionBlock) DTCLogger (FunctionBlock) Transmit DM1_Write (FunctionBlock) DM2_Write (FunctionBlock) DTCProvider (FunctionBlock)
DTC ¶ DTC (Struct) FMI (Enum) Lamps LAMP_FLASH (Enum) LAMP_INFO (Struct) LAMP_STATUS (Enum)
Receive ¶ DM1_Read (FunctionBlock) DM2_Read (FunctionBlock) DTC Processing (DTC Handler) DTCBufferWriter (FunctionBlock) DTCLogger (FunctionBlock)
Transmit ¶ DM1_Write (FunctionBlock) DM2_Write (FunctionBlock) DTCProvider (FunctionBlock)
ReceiveWatchdog (FB) ¶ FUNCTION_BLOCK ReceiveWatchdog EXTENDS CBM.LTrig This function block monitors the reception of a specific parameter group ( itfParameterGroup ). xError becomes TRUE if there is no reception after tTimeout else function block stays in busy state. InOut: Scope Name Type Comment Inherited from Input xEnable BOOL TRUE : Action starts FALSE : Action stops, outputs xDone , xBusy , xError are resetted LTrig Output xDone BOOL TRUE : Action successfully completed LTrig xBusy BOOL TRUE : Function block active LTrig xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error LTrig Input itfParameterGroup IReceiveParameterGroup parameter group to be monitored tTimeout TIME monitoring time: t#0ms = infinite timeout (no timeout monitoring) Output eError ERROR detailed error information if xError is TRUE . xReceived BOOL TRUE : parameter group was received in previous cycle.
ParameterGroups ¶ ReceiveParameterGroup (FunctionBlock) TransmitParameterGroup (FunctionBlock)
ReceiveParameterGroup (FB) ¶ FUNCTION_BLOCK ReceiveParameterGroup EXTENDS CBM.ETrig IMPLEMENTS IReceiveParameterGroup This function block represents a receive parameter group defined in J1939 configurator. InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError ) are present at the outputs for exactly one cycle. ETrig Output xDone BOOL TRUE : Action successfully completed ETrig xBusy BOOL TRUE : Function block active ETrig xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrig Input itfECU IJ1939ECU ECU instance where parameter group belongs to. dwPGN DWORD parameter group number Output itfParameterGroup IReceiveParameterGroup mainly for graphical programming: output for connection to other function blocks eError ERROR detailed error information if xError is TRUE .
TransmitParameterGroup (FB) ¶ FUNCTION_BLOCK TransmitParameterGroup EXTENDS CBM.ETrig IMPLEMENTS ITransmitParameterGroup This function block represents a transmit parameter group defined in J1939 configurator. InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError ) are present at the outputs for exactly one cycle. ETrig Output xDone BOOL TRUE : Action successfully completed ETrig xBusy BOOL TRUE : Function block active ETrig xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrig Input itfECU IJ1939LocalECU ECU instance where parameter group belongs to. dwPGN DWORD parameter group number byDestinationAddress BYTE for P2P parameter groups: destination address; for broadcaste: do not care Output itfParameterGroup ITransmitParameterGroup mainly for graphical programming: output for connection to other function blocks eError ERROR detailed error information if xError is TRUE .
TransmissionTrigger (FB) ¶ FUNCTION_BLOCK TransmissionTrigger EXTENDS CBM.ETrig This function block triggers the transmission of a parameter group. Note The transmission is not done immediately. The function block only sets a flag in communication stack which causes a transmission in next bus cycle. InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError ) are present at the outputs for exactly one cycle. ETrig Output xDone BOOL TRUE : Action successfully completed ETrig xBusy BOOL TRUE : Function block active ETrig xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrig Input itfParameterGroup ITransmitParameterGroup parameter group which should be transmitted. Output eError ERROR detailed error information if xError is TRUE .
Device Diagnosis ¶ IoDrvJ1939Diag (FunctionBlock) IBus GetBusInfo (Method) GetBusState (Method) GetQoS (Method) IDevice GetDeviceInfo (Method) GetDeviceState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) J1939LocalECUDiag (FunctionBlock) IDevice GetDeviceInfo (Method) GetDeviceState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) J1939RemoteECUDiag (FunctionBlock) IDevice GetDeviceInfo (Method) GetDeviceState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)