beautypg.com

Hanna Instruments HI 504 User Manual

Page 32

background image

63

62

Following are examples for setup item format:

• item C.32, maximum relay ON time

:

parameter value =

15, format =

“+015

◊◊

“, where

indicates a blank;

• item C.21, setpoint 2 value while in ORP mode: parameter
value = -1200 mV, format = “-01200”;

• item G.01, temperature compensation: parameter value
= “AtC”, format = “+0*AtC”.

For all items with a fixed set of choices, blank spaces on the
left of the value displayed are replaced with “*” (as many “*”
characters are needed to reach the maximum string length,
which is for example 3 for item C.57).

Blanks must be put on the tail for all items in order to have
always a total length of 6 characters (see the setup table).

The same parameter format used for setup item setting is
used also for setup item getting (i.e. when a
“NNGETCNN” command is received from the PC,
the reply “NNP

1

P

2

C

1

C

2

C

3

C

4

” is sent back).

To perform a “NNSETCNN...” command the general pass-
word has to be sent in advance through the “NNPWD...”
command. See above for the password effectiveness time-out.

Some special setup items can not be set through RS485 com-
mands. In particular it is not possible to access any setup
item that performs a test on the instrument and it is not pos-
sible to configure the hardware identifier (setup item G.12).

The “NNSET...” and “NNGET...” commands when used for
password items, baud rate, hardware identifier, F.00 and F.10
items, P.00 through P.09 items, are answered with
“NN”.

As soon as the process controller realizes that a command
has been received, it sends one of the following answers:

1) “NN”, ACK (char 0x06) if the process controller recog-

nizes the set command and performs the requested task;

2) “NN”, STX (char 0x02), DATA, ETX (char 0x03) if the re-

ceived command is a request of data;

3) “NN”, NAK (char 0x15) if the process controller does not

recognize the command or if the command syntax is wrong;

Command

Parameter

Remarks

NNEVN

not available

Requests new events
(always available)

NNAER

not available

Requests active errors
(always available)

NNCLS

not available

To start advanced cleaning
(always available)

NNCLP

not available

To abort cleaning
(always available)

NNHLD

not available

To enter/exit the hold mode
(always available; pwd required)

NNKDS

null

Same as

LCD

key

NNKCD

null

Same as

CAL DATA

key

NNKUP

null

Same as

æ

key

NNKRG

null

Same as key

NNKST

null

Same as

SETUP

key

NNKCL

null

Same as

CAL

key

NNKDW

null

Same as key

NNKCF

null

Same as

CFM

key

NNK 02

null

Same as

LCD+CAL+SETUP

keys

(*)

C

1

C

2

C

3

C

4

are ASCII chars corresponding to the setup item

content; P

1

P

2

are two additional bytes used for sign and half

digit as follows:

P

1

=

+

if>0

P

1

=

-

if<0

P

2

=

0

if most significant digit is not used

P

2

=

1

if most significant digit is used

When an item is shorter than 4 digits the C

i

characters are

filled with blanks.