Us diagnostics – Bronkhorst DeviceNet slave interface User Manual

Page 27

Advertising
background image

BRONKHORST

®

 

Page 27   

 

 

 

 

DeviceNet interface 

 

 

 

9.17.026 

4.7 B

US DIAGNOSTICS

 

A propar (FLOW‐BUS) variable (process 125, parameter 20) can be used to retrieve a string with bus diagnostics. This 
zero terminated string contains 13 bytes of data and is described below. 
Layout bus diagnostics string for DeviceNet:  

Byte 
field 

Description 

Diagnostic values

Explanation 

Length

ces_state  

error active 

CAN error state 

1

error passive

bus off 

ces_event 

no events (always 0)

CAN error state event 

1

nas_state 

on line 

Network access state 

1

waiting for dup MAC ID check message

sending dup MAC ID check message

non existent 

communication fault

nas_event 

duplicate MAC ID check req/resp not received (num_reties = 1) Network access state 

1

duplicate MAC ID check req/resp not received (num_reties = 0)

duplicate MAC ID check request received

duplicate MAC ID check response received

powerup/reset

bus off detected     

sos_state 

executing 

duplicate MAC ID check req/resp 
not received (num_reties = 1) 

1

idle 

abort 

self‐testing 

self‐test exception

critical fault 

sos_event 

receipt of first valid IO data

Supervisor object state event

1

IO connection timeout

IO connection deleted

start request

abort request

stop request

reset request

recover request

self test passed

self test failed

10 

perform diagnostics request

11 

power applied

12 

critical fault from any state

diag_bits 

bit 0  ces state, error passive

Diagnostic bits  
(will be reset automatically) 

2

bit 1  ces state, bus off
bit 2  nas state, communication fault
bit 3  nas event occurred, duplicate MAC ID check request received
bit 4  nas event occurred, duplicate MAC ID check response received
bit 5  sos state, critical fault
bit 6  sos event occurred, IO connection timeout
bit 7  sos event occurred, IO connection deleted
bit 8  sos event occurred, self test failed
bit 9  sos event occurred, critical fault from any state

bit 10  rx queue overrun
bit 11  tx queue overrun
bit 12  can overrun 
bit 13  explicit connection timeout
bit 14  devicenet reset
bit 15  bus sense error (24V detection)

AnSens Data Type  
(attr:0x31/1/3) 

 

Analog sensor data type 

1

AnAct  Data Type    
(attr:0x32/1/3) 

 

Actuator data type 

1

10 

Contrl Data Type     
(attr: 0x33/1/3) 

 

Controller data type 

1

11 

Default Inp IO      
(attr: 0x30/1/102) 

 

Current Assembly Instance 
(Input) 

1

12 

Default Outp IO   
(attr: 0x30/1/103) 

 

Current Assembly Instance 
(Output) 

1

 

Advertising