User's Manual

RTM Elster AMCO applicative PFS Coronis Systems
4.2.2.Writing internal parameters
Writing request data format
Applicative
command
Operating
Mode
(1)
Mask on Operating
mode (indicate the
bits that must be
updated)
(1)
Number of
param to
write
(2)
1
st
param
ID
1
st
param
size
1
st
param
new
value
...
n
th
param
ID
n
th
param
size
n
th
param
new
value
0x19
2 bytes 2 bytes 1 byte 1 byte 1 byte variable ... 1 byte 1 byte variable
(1) These two fields has to be included in each writing command request. These 4 bytes are used to update
partially or entirely the operating mode parameter fields (See section §4.3.2.).
Indeed, the operating mode mask is used in the RTM Elster AMCO embedded software to reinitialize the
internal feature associated to these fields. With this method the application software don't need to take into
account the previous value of operating mode parameter.
It is recommended to use the writing command to initialize all parameters relative to a functionality like
datalogging in addition with positioning at “1” the concerned mask on operating mode. In this case the
internal function will be initialized with the parameters included in the frame.
(2) the maximum number of parameters to write must not be higher than n
max
= 10
It is possible to write only the operation mode using the writing parameter command. In this case the frame
format is as follows:
Writing acknowledgment data format
Applicative
acknowledgment
command
Operating
Mode
Number of
param written
1
st
param
ID
1
st
param
update status
(1)
... ...
n
nd
param ID
n
nd
param
update status
0x99
2 bytes 1 byte 1 byte 1 byte ... ... 1 byte 1 byte
(1) 'Update Status' possible value: 0x00 : param update ok
0xFF : param update error
ATTENTION : some of the parameters are limited, i.e. their values should not be written out of their limits.
If a value is written out of the limits, the value will not be written and the parameter value will remain
unchanged. The status of writing will be NOK.
Example: An hour parameter should be set up from 0 to 23. Thus if value 40 is set, the update status
relative to this parameter will be equal to “0xFF”.
Writing request data format with only operating mode
Applicative
command
Operating
Mode
Mask on Operating
mode (indicate the bits
that must be updated)
Number of param to
write
1 byte 2 bytes 2 bytes 1 byte
0x19
0x00
EVO RTM-UserMan 15