13
7.2 Status (6 bytes inputs)
The two mode state bits show the status of the PN/CAN Gateway. Principally, an
attempt is made to occupy the status required in the mode of the control word.
However, this can be prevented by conguration errors.
INIT (0) = CAN controller is at the bus, no frames are transmitted, received frames
are discarded; outputs/inputs are set to zero; FIFOs are deleted.
PASSIV (1) = CAN controller is at the bus; received frames are discarded, no frames
are transmitted; error counters are transmitted to the PLC; FIFOs are maintained and
can be operated; Rx-FIFO can be read until it is empty; Tx-FIFO can be described, but
no frames are transmitted; data from automatic receiver modules remain frozen.
RX-Only (2) = Only the CAN reception is processed. No CAN frames are transmitted.
RX-TX (3) = Normal operation with transmitter and receiver.
Byte/Bit 7 6 5 4 3 2 1 0
In 0 1= Gateway
ready
1 = Reset carried
out
– – – – – –
In 1 Error code for conguration errors - - Mode State
In 2 CAN receive error counter
In 3 CAN transmit error counter
In 4+5 First slot with conguration error
Error code for conguration errors
1: Pluggable objects: Dual CAN-ID assignment
3: Reception channel FIFO: Filter mask and lter code results in too many lter
entries (max. 16)
4: Filter table CAN hardware lter is full
5: General conguration errors
6: The rmware doesn‘t support a congured module -> Firmware update
required
First slot with conguration error
In connection with the error code for conguration errors, this value indicates the
plug point of the rst module with a conguration error.
CAN receive error counter: Error counter of the CAN controller
CAN transmit error counter: Error counter of the CAN controller