Skip to main content
Open topic with navigation

ISO11783 Task Controller Interaction Layer

(Only available with ISO11783!) Valid for: CANoe DE • CANoe4SW DE To use the CAPL functions the ISO11783_TC_IL.dll i.e. Task Controller Interaction Layer (TC IL) must be included.
ON THIS PAGE:

Callback Functions

FunctionsShort Description
TCIL_OnAddressClaimConflictIs called if an address conflict is detected.
TCIL_OnAddressViolationIs called if an address violation is detected.
TCIL_OnCAIs called from the IL when a Command Address message is received.
TCIL_OnChangedStateIs called if the IL has changed its state.
TCIL_OnErrorIs called if an error has occurred.
TCIL_OnRequestIs called if a request (0xEA00) is received.
TCIL_OnRxMessageIs called from the IL if the IL receives the parameter group, namely before the parameter group is processed by the IL.
TCIL_OnTxMessageIs called if a message was sent successfully.
TCIL_OnTxPrepareIs called before a parameter group is sent.

DTC Support

FunctionsShort Description
TCIL_ActivateDiagnosticsSupportActivates or deactivates the support of ISO11783 diagnostics by the IL.
TCIL_ActivateDTCActivates a diagnostics trouble code (DTC) and add it to the list of active DTCs.
TCIL_ClearAllDTCsClears the list of active DTCs as well as the list of previously active DTCs.
TCIL_DeactivateDTCDeactivates a diagnostics trouble code (DTC) and removes it from the list of active DTCs.
TCIL_GetDTCStatusReturns the current occurrence count of a diagnostics trouble code (DTC).

Node Control

FunctionsShort Description
TCIL_AcceptRxPGChecks if the received parameter group is addressed to the TC IL.
TCIL_ControlInitSuppress the auto-start function of the IL.
TCIL_ControlStartActivate node to start Address Claiming.
TCIL_ControlStopDeactivates the IL and stops sending cyclic messages.
TCIL_EnableAddressViolationDetectionActivates detection of address violations by other nodes.
TCIL_EnableNameManagementThis function activates the name management of a node.
TCIL_GetAddressReturns the address that is used by the TC IL.
TCIL_GetStateReturns the current state of the TC IL.
TCIL_SetNodePropertyChanges an internal property of the node.
TCIL_GetDeviceNameGets the NAME as reported on the bus.

Other Functions

FunctionsShort Description
TCIL_GetLastErrorReturns the value of the last called TC IL function.
TCIL_GetLastErrorTextReturns the textual description of the value of the last called TC IL function.
TCIL_SetVerbositySet verbosity for writing in Write Window.

Signal/Message Access

FunctionsShort Description
TCIL_SetMsgEventSends a message immediately.
TCIL_SetMsgRawDataSets the data bytes of the message.
TCIL_SetSignalSets the physical value of a signal.
TCIL_SetSignalRawSets the raw value of a signal.

TC – Client Control

FunctionsShort Description
TCIL_MeasurementCommandRawSends a trigger definition to the client (using the raw value).
TCIL_MeasurementCommandPhysicalSends a trigger definition to the client (using the physical value).
TCIL_RequestValueCommandSends the Request Value command to the client.
TCIL_RequestVersionRequests the Version message from the client.
TCIL_StartTaskStarts a task.
TCIL_StopTaskStops a task.
TCIL_ValueAndAckCommandSends the current value of a data entity to the client with Set Value and Acknowledge command.
TCIL_ValueAndAckCommandRawSets the value of a data entity (using the raw value) and sends the value to the client with Set Value and Acknowledge command.
TCIL_ValueAndAckCommandPhysicalSets the value of a data entity (using the physical value) and sends the value to the client with Set Value and Acknowledge command.
TCIL_ValueCommandSends the current value of a data entity to the client with Value command.
TCIL_ValueCommandRawSets the value of a data entity (using the raw value) and sends the value to the client with Value command.
TCIL_ValueCommandPhysicalSets the value of a data entity (using the physical value) and sends the value to the client with Value command.

TC – Fault Injection for Messages

FunctionsShort Description
TCIL_BlockRxMessagePrevents processing of a received message by the Interaction Layer.
TCIL_ResetBlockedRxMessage
TCIL_ResetAllBlockedRxMessages
TCIL_BlockTxMessagePrevents transmitting of a message generated by the interaction layer.
TCIL_ResetBlockedTxMessage
TCIL_ResetAllBlockedTxMessages
TCIL_DelayRxMessageDelays processing of a received message by the interaction layer.
TCIL_ResetDelayedRxMessage
TCIL_ResetAllDelayedRxMessage
TCIL_ManipulateMessageModifies the content of a message generated and sent by the interaction layer.
TCIL_ResetManipulatedMessage
TCIL_ResetAllManipulatedMessages
TCIL_SetResponseContentChanges the content of the next TC response.
TCIL_ResetResponseContent
TCIL_SetTCStatusChanges the content and cycle time of the TC Status message.
TCIL_ResetTCStatus

TC – Fault Injection for Transport Protocols

FunctionsShort Description
TCIL_BlockTxTpAbortPrevents transmission of (E)TP.Abort message by the Interaction Layer.
TCIL_ResetBlockedTxTpAbort
TCIL_BlockTxTpCtsPrevents transmission of (E)TP.CTS message by the Interaction Layer.
TCIL_ResetBlockedTxTpCts
TCIL_BlockTxTpDpoPrevents transmitting of a ETP.DPO message generated and sent by the interaction layer.
TCIL_ResetBlockedTxTpDpo
TCIL_BlockTxTpDtPrevents transmission of (E)TP.DT message by the Interaction Layer.
TCIL_ResetBlockedTxTpDt
TCIL_BlockTxTpEomaPrevents transmission of (E)TP.EoMA message by the Interaction Layer.
TCIL_ResetBlockedTxTpEoma
TCIL_DelayTxTpAbortDelays transmission of (E)TP.Abort message by the Interaction Layer.
TCIL_ResetDelayededTxTpAbort
TCIL_DelayTxTpCtsDelays transmission of (E)TP.CTS message by the Interaction Layer.
TCIL_ResetDelayedTxTpCts
TCIL_DelayTxTpDpoDelays transmitting of a ETP.DPO message generated and sent by the interaction layer.
TCIL_ResetDelayedTxTpDpo
TCIL_DelayTxTpDtDelays transmission of (E)TP.DT message by the Interaction Layer.
TCIL_ResetDelayedTxTpDt
TCIL_DelayTxTpEomaDelays transmission of (E)TP.EoMA message by the Interaction Layer.
TCIL_ResetDelayedTxTpEoma
TCIL_FreezeTpFreezes the current (E)TP connection immediately.
TCIL_UnfreezeTp
TCIL_KillTp

TC – Other Functions

FunctionsShort Description
TCIL_ConnectSysVarWithDataEntityConnects a data entity to a system variable.
TCIL_ConnectSysVarWithSectionConnects a single section state to a system variable.
TCIL_ExportAllDdopsExports the device descriptor object pools of all Task Controller clients into a file.
TCIL_ExportDdopExports the device descriptor object pool into a file.
TCIL_GetDesignatorReturns the designator of DeviceProcessData (DPD) or DeviceProperty (DPT).
TCIL_GetDeviceParametersReturns parameters of the client device which are contained in the Device XML element (DVC) of the device description.
TCIL_GetElementNumbersReturns a list of corresponding element numbers for the given DDI.
TCIL_GetValuePresentationDataReturns all properties (id, offset, scale, numberDecimals, unitDesignator) of the ValuePresentation object.
TCIL_MakeDdopAvailableEnables a device descriptor object pool (DDOP) to be loaded by Object-pool Activate message.
TCIL_RemoveAllDdopsRemoves the device descriptor object pools of all Task Controller clients.

TC – Peer Control

FunctionsShort Description
TCIL_AssignReceiverSends an Assign Receiver message to the setpoint value user device.
TCIL_AssignTransmitterSends an Assign Transmitter message to the setpoint value source device.
TCIL_CreatePeerControlAssignmentCreates an assignment of a settable process data object to a setpoint value source.
TCIL_RemovePeerControlAssignmentRemoves an assignment of a settable process data object to a setpoint value source.
TCIL_UnassignReceiverSends an Unassign Receiver message to the setpoint value user device.
TCIL_UnassignTransmitterSends an Unassign Transmitter message to the setpoint value source device.

TC – Value Access

FunctionsShort Description
TCIL_GetSectionStateReturns the current state of a single section.
TCIL_GetValueRawReturns the current raw value of a data entity.
TCIL_GetValuePhysicalReturns the current physical value of a data entity.
TCIL_SetSectionStateSets the state of a single section without sending any command.
TCIL_SetValueRawSets the value of a data entity without sending any command (using the raw value).
TCIL_SetValuePhysicalSets the value of a data entity without sending any command (using the physical value).
IL Error CodesTC IL Functional PropertiesTC IL Network Properties