Supported platforms: CODESYS 3.5

 

IRequestPGNCallbackHandler (ITF)

Description

This is the interface to requested PGN handling POU. The interface has method HandlePGN.

 

HandlePGN method is executed each time when request PGN (EA00h) is received and it requests transmit PGN which has request callback defined.

Typically this is used by higher level libraries.

Limitations

This interface and it's methods are used only in CODESYS 3.5.

 

 

To use this interface it is required to execute EnableRequestPGNs method to J1939 function block before J1939 initialization. Then J1939 function block will handle the received request PGNs (EA00h).

 

 

Request callbacks are added with J1939 function block's method AddRequestPGNCallback.

 

 

 

Method HandlePGN

Inputs

Input variable name

Data type

Description

i_pData

POINTER TO J1939_RequestedPGNData

Callback data pointer.

 

Outputs

-

 

Example

Usage example is shown in J1939 function block's method AddRequestPGNCallback.

 

See also

 

 

Source file topic001082.htm

Last updated 19-Dec-2024