Yaskawa SmartTrac DeviceNet Card User Manual

Page 28

Advertising
background image



SMART TRAC DeviceNet Card

24

••

Troubleshooting Your Smart Trac DeviceNet Card Technical Manual 3554-0070

Status and Error Message Global Variables

Global Variable

(format

is <Card Name>_Variable

Type Source Action

<Card Name>_CAN_BP

BOOL

CAN Bus
Status
Word, Bit
9 (BP)

Indicates presence or absence of
network power. BP bit is clear if the
physical bus interface is not powered.

<Card Name>_CAN_BW

BOOL

CAN Bus
Status
Word, Bit
1 (BW

Set when abnormal number of
communication errors detected and
CAN chip stops transmitting error
frames.

Cleared when error count returns to
normal levels or CAN interface re-
initialized.

BW indicates potentially serious
communication fault such as out-of-
tolerance baud rate or physical layer
error (electrical noise, signal
attenuation, intermittent connections
etc.).

<Card Name>_CAN_ER

BOOL

CAN Bus
Status
Word, Bit
8 (ER).

Set each time a CAN communication
error is detected. An excessive
number of errors indicates a faulty
physical media component (cable,
connector etc.) or excessive noise
from external sources (check cable
routing and shield connection).

<Card Name>_CAN_ERROR WORD

CAN
error
counter
at offset
0038h

The CAN communication error counter
is incremented when a CAN frame
error is detected

<Card Name>_CAN_LOST

WORD

CAN
LOST
counter
at offset
003Ah.

The CAN lost messages counter is
incremented when a CAN message is
received before the previous message
is placed into the receive queue.

<Card Name>_CAN_ML

BOOL

CAN Bus
Status
Word, Bit
7 (ML)

ML is set when a message is received
from the bus while the previous
message is still in the receive buffer.
ML indicates a lower layer application
error (in the kernel interrupt handler).
Report this condition to your
MagneTek Application Engineer.

<Card Name>_CAN_O1

BOOL

CAN Bus
Status
Word, Bit
12 (O1)

O1 is set when the scanner is online at
125 Kbaud.

<Card Name>_CAN_O2

BOOL

CAN Bus
Status
Word, Bit
13 (O2)

O2 is set when the scanner is online at
250 Kbaud

<Card Name>_CAN_O5

BOOL

CAN Bus
Status
Word, Bit
14 (O5).

O5 is set when the scanner is online at
500 Kbaud.

Advertising