beautypg.com

Hanna Instruments HI 504910 User Manual

Page 22

background image

42

43

(*)

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.

Following are examples for setup item format:

• item I.12, minimum pH probe slope

:

parameter value =

56.2 mV, format =

“+0562

◊◊

“, where

indicates a blank;

• item F.11, temperature reading offset adjustment: param-
eter value = -0.3°C, format = “-00003”;

• 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 I.11).

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 baud rate (setup item O.30).

Following is the complete list of commands available:

Command

Parameter

Remarks

NNMDR

not available

Requests firmware code
(always available)

NNSTS

not available

Requests instrument status

(LEDs, configuration change flag, etc.)

NNPHR

not available

Requests last pH reading
(instrument configured for pH)

NNMVR

not available

Requests last mV reading
(always available)

NNTMR

not available

Requests temperature reading
(always available)

NNCAR

not available

Requests all last calibration data
(always available)

NNGET

CNN

Requests setup item C.NN

NNPWD

C

1

C

2

C

3

C

4

Sends the general password
(always available)

NNSET

CNNP

1

P

2

C

1

C

2

C

3

C

4

Sets setup item C.NN with
parameter P

1

P

2

C

1

C

2

C

3

C

4

(*)

(not available in setup mode)

NNEVF

not available

Requests event log file
(always available)

NNEVN

not available

Requests new events
(always available)

NNAER

not available

Requests active errors
(always available)

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