User manual

Chapter 6 Backplane Programming
6-6 ADVANCED MICRO CONTROLS INC
Status Word
The status word is broken down into two bytes. The low byte, bits 0 – 7, is used to report
hardware faults. The format of this byte is shown in figure 6.3. The high byte, bits 8 –15, is
used to report programming errors. Table 6.4 lists the error codes and a brief description of the
their causes.
Program
Error
Error
Byte
Comments
Invalid
Command
21h
The Command Word of an instruction is incorrect. Usually occurs when a
data word is interpreted as a command word. For example, a Transducer 1
Setup instruction specifies three new parameters and four are included. The
fourth instruction will be interpreted as a command word.
Invalid
Message
Length
22h
1) The final instruction of the block transfer write file does not contain
enough data words to complete the instruction. Check the
length
parameter of the block transfer write.
2) An instruction follows any Read Status instruction.
Message
Ignored
24h
You attempted to write a program instruction to the module while it was
reporting a programming error.
Invalid
Transducer
Number
25h
You attempted to write parameter values for a transducer channel that does
not exist on your module. Example: Writing to transducer 4 on a 1732.
Invalid
Mode
26h
Occurs when you send a Read Status instruction to the module that is not in
read status mode.
Invalid
Parameter
Number
27h
Occurs if the Read Status instruction sent to the module requests more
parameters than the block transfer read file can transmit. Example:
Requesting two parameter values from a 1731.
Invalid SF 41h
A programmed scale factor is out of range.
Invalid CO 42h
A programmed circular offset is out of range.
Invalid LO 43h
A programmed linear offset is out of range.
Invalid PV 44h
A programmed preset value is out of range.
Invalid TR 45h
A programmed tachometer response value is out of range.
0
0
Transducer 1 fault
Transducer 2 fault
Transducer 3 fault
Transducer 4 fault
Reserved for future use
"0" – Transmitting position/tach data
"1" – Transmitting read status data
Hardware ErrorsSoftware Error Codes
0
Bit Numbers
123456789101112131415
0
Figure 6.3 Hardware Error Bits
Table 6.4 Programming Error Codes