
Page 104 of 126
198-0853-02 Rev F
B.1.9 NAK Response Command
– Sent when an error occurs in parsing a command
@AA.a Sync character (@) and unit address, AA = Unit ID (0 to 99; 0 is a global ID), a
= Channel ID (always 0)
s4
Command character of command received and Command Type
– 4=nak
#10,
Number of fields character and number of fields after the comma, excluding
CRC
0,
undefined
na
0,
wrong number of fields
– blank or 0=ok, 1=error
flds
0,
parse error, @ where none should be
– blank or 0=ok, 1=error
pars
0,
unknown command
– blank or 0=ok, 1=unknown cmd.
unkn
0,
bad field number
– first field to be found bad – blank or 0=ok, 1-XX=field
number
bfn
0,
undefined
bfv
0,
option not installed error
– blank or 0=ok, 1=error
oni
0,
cannot operate
– blank or 0=ok, 1=error
opr
0,
edit protect flag is enabled
– blank or 0=ok, 1=protected
editf
0,
general NAK code (see possible values below)
gnc
1 = Remote mode is required for the specified command
2 = Data out of range (bad field number indicates which field)
3 = Format error (bad field number indicates which field)
4 = Unknown command type (valid command types are set, read, ack,
nak, etc)
5 =
‘Set’ command type not allowed for the specifed command
6 = Factory config mode is required for the specified command
7 = Rx buffer overrun (message was greater than 1024 charcters)
8 = Failed to perform the requested save
9 = ‘Set’ command type not allowed while in operate mode
CRC
CRC value in ascii decimal
crlf
Carriage return and Line feed (0x0D 0x0A)
Example of NAK Command:
NAK’d setup command from unit 10 with a formatting error in field 2.
@10.0s4#10,0na,0flds,0pars,0unkn,2bfn,0bfv,0oni,0opr,0editf,3gnc,
54321