Hanna Instruments HI 504 User Manual
Page 33

65
64
where S means “status” and can be equal to “A” (control and
alarm ON), “C” (control ON and alarm OFF), “N” (control
OFF).
The NNHOP request produces the following answer:
“NN
1
C
2
C
3
C
4
where C
1
C
2
are the ASCII representation of byte B
1
described
below (e.g. B
1
= 0xF3 C
1
= “F”, C
2
= “3”), C
3
C
4
are the
ASCII representation of byte B
2
described below (e.g. B
2
= 0x1D
C
3
= “1”, C
4
= “D”). The meaning of B
1
and B
2
is:
B
2
bit 0
optional relay 2 (1: available; 0: not available)
B
2
bit 1
Digital Transmitter input
(1: available; 0: not available)
B
2
bit 2
PID control (1: available; 0: not available)
B
2
bit 3
free for future use (and set to 0)
B
2
bit 4
free for future use (and set to 0)
B
2
bit 5
free for future use (and set to 0)
B
2
bit 6
free for future use (and set to 0)
B
2
bit 7
free for future use (and set to 0)
B
1
bit 0
serial port (1: available, 0: not available)
B
1
bit 1
serial port type (0: RS485)
B
1
bit 2
analog outputs (1: available, 0: not available)
B
1
bit 3
second analog output (1: available, 0: not avail
able; no meaning if bit 2 = 0)
B
1
bit 4
optional relay 3 and relay 4
(1: available, 0: not available)
B
1
bit 5
hold digital output (1: available)
B
1
bit 6
free for future use (and set to 0)
B
1
bit 7
relay 1,2,3,4 type (0: electromechanical)
The answer to the NNSTS command is:
“NN
1
C
2
C
3
C
4
where C
1
C
2
are the ASCII representation of byte B
1
described
below (e.g. B
1
= 0xF3 C
1
= “F”, C
2
= “3”), C
3
C
4
are the
ASCII representation of byte B
2
described below (e.g. B
2
= 0x1D
C
3
= “1”, C
4
= “D”).
The meaning of B
1
and B
2
is:
B
2
bit 0
alarm relay (1: energized, 0: de-energized)
B
2
bit 1,2 red LED (bit 2 = 0 and bit 1 = 0: LED is OFF;
bit 2 = 1 and bit 1 = 0: LED is fixed
4) “NN”, CAN (char 0x18) if the process controller can not
answer to the request (e.g. the current process model does
not support the request, the given general password is
wrong, etc.)
The “NN” in the front of the answer is the Process ID
(“00” to “99”).
The time-out for the above answers is:
1) answer to “STS”, “PHR”, “MVR”, “TMR”, “AER” commands:
30 ms @ 19200 or 9600 bit/s, 40 ms @ 4800 bit/s, 60 ms
@ 1200 bit/s (for the complete answer, from STX to ETX).
2) answer to other commands: 2s (for the first character of the
answer).
The minimum delay between the last received and the first
sent character is 15 ms to allow the master to set itself into
receiving mode.
Here are descriptions of the answers format (for setup item
request see above):
The NNSNR request produces the following answer:
“NN
ware identifier>
the Process ID alias RS485 address is 29 and the hardware
identifier is 1234567).
The NNGET command is answered with “NN
used for the hardware identifier.
The NNMDR request produces the following answer:
“NN
where VV is the firmware version, e.g. ”10” for 1.0;
XYZ are the three model digits, e.g. XYZ=214 for dual setpoint,
ON/OFF and PID control, dual analog output;
AB is the first HI 92500 software version compatible with the
firmware, even if it may not be able to exploit all the features of
the firmware, e.g. “34” for 3.4;
CD is the first HI 92500 software version fully compatible with
this firmware, e.g. “45” for 4.5.
The NNPHR, NNMVR, NNTMR requests produce the fol-
lowing answer:
“NN