Barber-Colman MACO 4000 Series Instruction Manual - page 4
1640-IN-026-A-00
Page 4 of 10
Figure 2.6 Error Code Screen
2.6
Error Codes Screen
This screen will list sixteen (16) lines of errors. An error line will
contain the device number, CMD1 byte, CMD 2 byte, and an
error code. The command 1 and 2 bytes distinguish what
parameter failed, and the error code tells why it failed. An error
code of 16 represents that a time-out occurred, the device did
not respond to the command within the allotted one second.
Any other error code is a SPI generated error from the device
and must be interpreted based on the following definition:
BIT 7 MSbit - Invalid data
BIT 6
- Reserved by SPI
BIT 5
- Set to 1
BIT 4
- Reserved by SPI
BIT 3
- Command not supported
BIT 2
- Command not executed
BIT 1
- Invalid preamble
BIT 0 LSbit
- Communication error
An error code value of 44 = 2C hex would indicate that the
device does not support this command and the command was
not executed. After 16 lines of errors have been accumulated,
or at any other time the clear error codes reverse video area
can be energized to allow for more errors to be displayed.
2.6.1
Baud Rate Setpoints
Baud rate is set by entering a baud rate setpoint on the error
code screen figure 2.6. The baud rate must match that of the
host. Enter a baud rate setpoint for each device;
0 = 9600
3 = 1200
1 = 4800
4 = 19200
2 = 2400
If the baud rate setpoint is not programmed on a screen it
defaults to 9600 baud.
2.6.2
SPI Status Relays
The SPI status relays are located on the middle right of the
Error Code screen and indicate the status of any ongoing
communications. SPI status is indicated by “TXD” or an
“RXD” will indicate direction (transmit or receive) and an
asterisk will indicate if data is actually being transmitted or
received (these are not “real time” indicators - they are meant
only to show that communication is taking place).