Supported platforms: CODESYS 2.3
This function block is the main handler for AUX-N Functions (see also ISO 11783-6 Annex J).
Initializes Input maintenance and Input status Rx PGNs
Handles AUX Function assignment commands between VT - ECU
Handles AUX Function preferred assignment command between VT - ECU
Monitors AUX Inputs
Updates AUX Function data to application
o_AUXInputInfo contains list of AUX Inputs which are monitored.
i_pAUXFunctions contains list of AUX Functions defined by application code template. AUX Function objects are automatically updated.
Application needs to trigger loading of preferred assignments with ISOBUS_AUX_LoadPreferred (FUN).
AUX Function preferred assignments needs to be initialized by application before triggering the loading process.
If preferred input is detected while handler is already in operational state, the output o_PreferredInputDetected is set TRUE.
Application needs to re-trigger preferred assignment loading.
Following image illustrates the architecture of AUX-N function handling in system level:
For AUX-N requirements see ISOBUS Conformance Guide |
For implementation guide see How to use AUX Functions |
Input variable name |
Data type |
Range |
Description |
i_pVTClient |
POINTER TO ISOBUSVtClient |
≠ 0 |
Pointer to used VT client instance |
i_pAddressClaimServer |
POINTER TO ACL_AddressClaimServer |
≠ 0 |
Pointer to used ACL instance |
i_pJ1939 |
POINTER TO J1939 |
≠ 0 |
Pointer to used J1939 instance |
i_pAUXFunctions |
POINTER TO ISOBUS_AUX_Function |
≠ 0 |
Pointer to AUX Functions list |
i_AUXFunctionCount |
UINT |
|
Count of AUX Functions in list |
i_Configuration |
ISOBUS_AUX_FunctionHandlerConfig |
|
Handler configuration parameters |
Output variable name |
Data type |
Description |
o_State |
ISOBUS_AUX_FunctionHandlerState |
State of AUX Handler |
o_Error |
ISOBUS_ErrorCodes |
Errors, ISOBUS_ERR_SUCCESS if OK |
o_AUXInputInfo |
ARRAY [1..G_ISOBUS_AUX_MAX_NUMBER_OF_INPUT_DEVICES] OF ISOBUS_AUX_FunctionInputInfo |
List of monitored AUX Inputs |
o_AUXInputListFull |
BOOL |
Handler's AUX Input monitored list is full, no new inputs can be added |
o_PreferredAssignmentState |
ISOBUS_AUX_PreferredAssignmentState |
Status from preferred assignment response |
o_PreferredInputDetected |
BOOL |
Preferred AUX Input is detected during operational state |
AUX Function handler is included in the MultiTool Creator code template. For implementation guide see How to use AUX Functions. |
Source file topic100733.htm
Last updated 19-Dec-2024