Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_TIMSetFunctionValue

Iso11783IL_TIMSetFunctionValue

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long Iso11783IL_TIMSetFunctionValue(byte functionId, word rawValue); // form 1
  • long Iso11783IL_TIMSetFunctionValue(dbNode server, byte functionId, word rawValue); // form 2

Description

Sets the value of a TIM function. This value is transmitted in the status message of the TIM function.

Parameters

  • functionID: ID of the function.
    • Function ID: Description
      • 1-32 (1h-20h): Auxiliary Value 1 – 32
      • 64 (40h): Front PTO
      • 65 (41h): Rear PTO
      • 66 (42h): Front hitch
      • 67 (43h): Rear hitch
      • 68 (44h): Vehicle speed
      • 70 (46h): External guidance
  • rawValue: New raw value of the TIM function.
  • server: TIM server node.

Return Values

  • 0: Property has been set successfully
  • < 0: An error has occurred, see error codes

Example