beautypg.com

Kipp&Zonen 2AP Sun Tracker User Manual

Page 93

background image


REFERENCE

INFORMATION

92

6.3 ERROR

CODES

If an unrecognised command or a command with missing or incorrect parameters is received, the
2AP will respond NO followed by one of the following error codes:

• 1

framing

error.

2

reserved for future use.

• 3

unrecognized

command.

4

message too long.

5

unimplemented instruction or undecodable parameters.

6

motion queue is full, movement command rejected .

7

travel bounds exceeded.

8

maximum velocity exceeded.

9

maximum acceleration exceeded.

A

instrument is operating autonomously, command rejected.

B

invalid adjustment size.

C

invalid total adjustment.

D

duration out of range.

E

attempt to read unavailable analogue input.

F

illegal extent specified.

G

attempt to change password protected data.

Y

hardware failure detected.

Z

illegal internal firmware state.


An explanation is given for each code in the following sections.

1 Framing

Error:

A message was received by the 2AP that did not sum to zero during the FED processing.
Probable cause: a communication problem. If this error occurs often, it may be that the serial line
is unable to support the selected baud rate. Try lowering the baud rate on the 2AP and resetting
the 2AP.

3 Unrecognised

Command:

The 2AP received a command with a two-letter command code that it did not recognize.

4

Message Too Long:

The 2AP received a message exceeding the buffer length.
Probable cause: mismatched baud rates or failure to send carriage return character.

5

Unimplemented Instruction Or Undecodable Parameters:

An undecodable parameter list was encountered in a command that did not have a parameterless
form. Normally when the 2AP receives undecodable parameters it uses the parameterless form of
the message. This message occurs when no parameterless form exists, or when the parameterless
form affects the tracker’s internal state (e.g. LO, SL).

6

Motion Queue Is Full, Movement Command Rejected:

The queue of path segments is full and the 2AP cannot accept this command as a result.

7

Travel Bounds Exceeded:

The command attempts to position the motor beyond its travel limits. The 2AP will not accept this
command.