ARCNET HEADER

 

 

 

Here is a brief description of what we decided to go along with for the ARCNET header. The NODE_ID filed is still the node id on each board. (If possible we will place them in a certain order). The FEMS software uses the reserved nodes (0xF0- 0xFF). The COMMAND field only has a few basic calls such as read and write. The DEVICE TYPE field will select the device being written or read to, such as a serial port, memory address or a data port. The data length is set by the control node and will be modified by the FEM when a read back is requested. If the ERROR field has a value other than zero, then an error or a reset has occurred at the FEM.

 COMMAND WORD FIG 1.

 

 
FIELD
BITS
FUNCTION
NODE_ID
31..24
FEM specific field used to select a node at the front end.
COMMAND
23..16
FEM specific field specifies function for FEM's to perform.
DEVICE TYPE
15..8
Used to select unique device type.
GROUP CMD
7..0
Used to select a group of FEMS 
ERROR
31..24
FEM specific field used to return error codes to the control.
----
23..16
NOT DEFINED
DATA LENGTH
15..0
Specifies the total number of bytes in hopper command, including command word and data,
 

COMMAND WORD TABLE 1.

 

 
FEM ERROR CODES

 

ERROR CODE 
DESCRIPTION
0
E_OK
1
System Reset Occurred
2
Bad Packet Received Over Network
3
Time Out ERROR 
4
Flash EEPROM Was Not Programmed Correctly
5
PGB NOT SET (Program
6
Incorrect Number of Bytes Received 
7
Duplicate Node Id detected
8
UNKOWN COMMAND CODE