Supported platforms: CODESYS 2.3

 

ISOBUS_AUX_LoadPreferred (FUN)

Description

This function configures AUX Function Handler to load AUX-N Function preferred assignments to VT.

 

Preferred assignment loading is allowed to start in following states:

ISOBUS_AUX_N_FUNCTION_HANDLER_WAIT_PREFERRED

ISOBUS_AUX_N_FUNCTION_HANDLER_OPERATIONAL

 

Application needs to configure PreferredAssignment data to all AUX Functions before calling this function.

LoadPreferredAssignment flag needs to be TRUE on all AUX Functions which will be loaded in preferred assignment command.       

Inputs

Input variable name

Data type

Description

i_pAUXFunctionHandler

POINTER TO ISOBUS_AUX_FunctionHandler

Pointer to AUX Function handler instance

i_LoadEmptyAssignmentsOnError

BOOL

Empty preferred assignment list is loaded when VT indicates error in response

i_LoadEmptyAssignmentsOnTimeout

BOOL

Empty preferred assignment list is loaded when preferred AUX Input is not found within timeout

i_Timeout

TIME

Time to wait for preferred AUX Input device

Output

Data type

Description

BOOL

TRUE if successfully executed

Example code

For implementation guide see How to use AUX Functions.

 

See also

 

Source file topic100734.htm

Last updated 13-Jun-2024