Hanna Instruments HI 504 User Manual
Page 34

67
66
a 1-point calibration is performed) it is indicated with a “N” letter.
2) Process controller configured for ORP:
If mV is not calibrated: “NN
If calibration has been performed: “NN
buf1 buf2 N
The items in italic are separated by a blank spaces and have the
following formats:
date
ddmmyy
(“020498” for April 2, 1998)
time
hhmm
(“1623” for 4:23 pm)
buf1
ASCII string for a float (example: “0”)
buf2
ASCII string for a float (example: “1900”)
None of the items above can be missing when the Process Control-
ler is configured to measure and control ORP (as it always has to be
calibrated on two points).
Note
When the “measurement input selection” item is set to “Digi-
tal Transmitter” the last calibration data retrieved through
this command refer to Digital Transmitter and is stored in that
device.
The event log file is requested through the NNEVF
command. The maximum length of the event log file is 100
records. Here is the format for the answer:
If there is no generated error or event, the answer has the format
“NN
“NN
1
start_date
1
start_time
1
end_date
1
end_time
1
desA
1
desB
1
...
event_code
2
start_date
2
start_time
2
end_date
2
end_time
2
desA
2
desB
2
...
event_code
m
start_date
m
start_time
m
end_date
m
end_time
m
desA
m
desB
m
where m is the number of events. Each token is followed
by a blank space, except the last one (“desB
m
”), directly
followed by the
“events_no” is the number of events and its format is the
ASCII format for a number (“1”, “2”.... “99”, “100”).
The meaning of “start_date
i
” and “start_time
i
” is:
• for errors: date and time at which the error was generated;
• for setup events: date and time of a setup item change;
ON; bit 2 = 1 and bit 1 = 1: LED blinks)
B
2
bit 3
relay #1 (1: energized, 0: de-energized)
B
2
bit 4
relay #2 (1: energized, 0: de-energized)
B
2
bit 5
relay #3 (1: energized, 0: de-energized)
B
2
bit 6
relay #4 (1: energized, 0: de-energized)
B
2
bit 7
hold digital output (1: ON, 0: OFF)
B
1
bit 0
control (1: ON, 0: OFF)
B
1
bit 1,2 setup mode (bit 2=0 and bit 1=0: not in setup
mode; bit 2=1 and bit 1=0: setup mode, view
only; bit 2=1 and bit 1=1: setup mode, unlocked)
B
1
bit 3
calibration mode with device unlocked
(1: yes, 0: no)
B
1
bit 4
setup updated (set to 1 after a device power-up or
a device reset or a change in setup made through
the instrument keyboard; reset to 0 after receiving
a GET command)
B
1
bit 5
calibration mode (set to 1 after a device power-up
or whatever complete calibration; reset to 0 after
receiving a CAR command)
B
1
bit 6
hold mode (1: ON, 0: OFF)
B
1
bit 7
free for future use (and set to 0)
The NNCAR request produces the following answer:
1) Process controller configured for pH:
If pH is not calibrated: “NN
If calibration has been performed: “NN
slope1 slope2 buf1 buf2 N
The items in italic are separated by blank spaces and have the
following formats:
date
ddmmyy
(“020498” for April 2, 1998)
time
hhmm
(“1623” for 4:23 pm)
offset ASCII string for a float (example: “-0.2”)
slope1 ASCII string for a float (example: “62.5”)
slope2 ASCII string for a float (example: “60.4”)
buf1
ASCII string for a float (example: “7.01”)
buf2
ASCII string for a float (example: “4.01”)
When some of the above items is missing (for example buf2 when