Acknowledge, Value, Error – Rockwell Automation 1398-PDM-xxx IQ Master Version 3.2.4 for IA-2000 and IQ-5000 Positioning Drive Modules, IQ-55 User Manual

Page 316

Advertising
background image

294

Syntax • Response Syntax

Publication 1398-PM601A-EN-P — October 2000

HOST

M

O

D

E

Acknowledge

The acknowledge response is used as a simple handshake acceptance of all execution and assignment
commands that are accepted without error. It consists of an ASCII ACK (^F) control character.

Value

The value response returns variable information to request commands. It consists of the ACK character,
the value(s) requested, an optional SUM, and an END sequence. The value of the checksum, if present,
when summed with the characters in value, will be zero. (Note: the ACK character is not included in the
SUM.) The END field for a value response will always be present.

Error

The error response is used for all commands that could not be accepted. It consists of an ASCII NAK
(^U) character, and an “E”, followed immediately by a decimal error number. If the HOST runtime
command flag is FALSE (0) an appropriate error message in the format “: message” will follow the
error number. The error response is terminated with the END field. The following decimal error codes
are returned following a negative acknowledge error response:

Error Code

Description

0

Unrecognized command

1

Syntax error in data or missing data

2

Invalid data or data out of range

3

Cannot execute command in current operating mode

4

Command or file, data checksum error

5

Illegal access of read-only or write-only variable

6

Illegal program number

7

Out of memory during file load

8

File transfer error or transfer aborted

Advertising