![pyroscience Pico-pH-SUB Manual Download Page 26](http://html1.mh-extra.com/html/pyroscience/pico-ph-sub/pico-ph-sub_manual_1632886026.webp)
Pico-pH-SUB
| Manual
© PyroScience GmbH
26
This command writes
N
(
N
=1...64) values
Y
1
... Y
N
consecutively starting at the user
memory address
R
(
R
=0...63). Note, that
N
+
R
must be <=64.
This command must be used
economically
, because the flash memory is designed for typ. max. 20000 flash cycles.
Each time this command is executed, it will trigger a flash cycle.
Example Communication:
Command:
#WRUM
˽
0
˽
2
˽
-16
˽
777
↵
Response:
#WRUM
˽
0
˽
2
˽
-16
˽
777
↵
This example shows a command which writes the value -16 into the memory address 0,
and the value 777 into the memory address 1.
5.4.14
#ERRO
–
Response if Error Occurred
If an error occurred, the device will give the following response:
Command:
any command
Response:
#ERRO
˽
C
↵
This error response is mostly given, if the master did not send the command with the
correct communication syntax. The output parameter C represents the general
PyroScience error types as given by the following table.
Note: Warnings and errors directly related to the sensor measurements (e.g. a broken
Pt100 temperature sensor, or a "worn out" optical pH sensor) will not result in such an
#ERRO response. Instead, such warning and errors are given in the output parameter
R
0
of the MEA command (see above).
C
Error Type
Description
-1
General
A non-specific error occurred.
-2
Channel
The requested optical channel does not exist.
-11
Memory Access
Memory access violation either caused by a not
existing requested register, or by an out of range
address of the requested value.
-12
Memory Lock
The requested memory is locked (system register) and
a write access was requested.
-13
Memory Flash
An error occurred while saving the registers
permanently. The SVS request should be repeated to
ensure a correct permanent memory.
-14
Memory Erase
An error occurred while erasing the permanent
memory region for the registers. The SVS request
should be repeated.
-15
Memory
Inconsistent
The registers in RAM are inconsistent with the
permanently stored registers after processing SVS. The
SVS request should be repeated.