JVL MAC050 User Manual page 134

Integrated servo motors
Hide thumbs Also See for MAC050:
Table of Contents

Advertisement

4.4
Expansion Modules MAC00-FC2/FC4
4.4.19
MacTalk CAN debug window
The hardware CAN Node chip have a Node Control Register, this controls the initiali-
zation, defines the node specific interrupt handling and selects an operation mode. The
Node Control Register have a field call LEC (Last Error Code), this bit field indicates if
the latest CAN message has been correct (No error) or it indicates the type of error,
which has been detected.
The register contains the following fields:
Bit
Field
Read
Write
Where:
Field
LEC
TXOK
RXOK
EWRN
BOFF
Table for last Error code
LEC
000
001
010
011
100
101
110
111
130
JVL Industri Elektronik A/S - User Manual - Integrated Servo Motors MAC050 - 800
15-8
7
6
0
BOFF
EWRN
X
X
Meaning
Value
Last Error Code
0
Message Transmit-
ted Successfully
1
0
Message Received
Successfully
1
0
Error Warning Status
1
0
Bus-Off Status
1
Meaning
Description
No error
The latest transfer on the CAN bus has been completed successfully
More than 5 equal bits in a sequence have occurred in a part of a received
Stuff error
message where this is not allowed
Form error
A fixed format part of a received frame has the wrong format
Ack error
The transmitted message was not acknowledged by another node
Bit1 error
During a message transmission the CAN node tried to send a recessive level
(1), but the monitored bus value was dominant (outside the arbitration field
and the acknowledge slot)
Bit0 error
Two different conditions are signaledby this code:
1. During transmission of a message (or acknowledge bit, active error flag,
overload flag), the CAN node tried to send a dominant level (0), but the
monitored bus value has been recessive.
2. During bus-off recovery, this code is set each time a sequence of 11 reces-
sive bits has been monitored. The CPU may use this code as an indication,
that the bus is not continuously disturbed
CRC error
The CRC check sum of the received message was incorrect
Reserved
5
4
3
0
RXOK
TXOK
X
X
X
X
X
Description
See table below
No successful transmission since last flag reset
A message has been transmitted successfully (error free
and acknowledged by at least one other node)
No successful reception since last flag reset.
A message has been received successfully.
No warning limit exceeded.
One of the error counters in the Error Management Logic
reached the error warning limit of 96
CAN controller is not in the bus-off state.
CAN controller is in the bus-off state
2
1
0
LEC
X
X

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mac800Mac141Mac400

Table of Contents