CAPL Script

Chip State

Syntax

long ChipState ()

Method

CANx.ChipState

Function

Returns the current chip state of the CANxcontroller. Validxvalues: 1…32

Parameters

Return Values

Chip state of the CANxcontroller. See the following table for a description of the return values. A description of the chip states can also be found here:Bus Statistics Windowof option CAN.

write ("Chip state of CAN1 = %d", CAN1.ChipState);