E 18
LOREME
12, rue des Potiers d'Etain - 57071 Metz
03.87.76.32.51 - Email: [email protected] - [email protected]
Answer: length of frame 5 bytes+ number of read bytes.
5.2) Word writing (reset energies):
Function code used:
$06, Address $7000, Word value $55AA
Question: length of frame 8 bytes.
Answer : length of frame 8 bytes
5.3) Exception frame:
When a physical error of transmission of a question frame occurs (CRC16 or parity), the dependent station does not an-
swer. If an error of frame (data address, function, value) occurs, an answer of exception will be emitted by the depend-
ent station.
Length of frame: 5 bytes.
Features of the exception frame:
- Function code: The function code of the exception frame is identical to the one of the question frame, but its bit of
strong load is set to 1 (logical or with $80).
- Error code:
Error code establishes the reason of a sending of an exception frame.
Error frame
Meaning
$01
Function code not used. Only the functions reading of words, $03 or $04,
writing of a word $06, or words $10 are allowed.
$02
Non-valid data address. Memory access not allowed.
$03
Non-valid value. Value of word not allowed.
$04
Slave Not Ready.
6) Communication data:
6.1) Reading:
All measures are accessible in reading mode, voltage, current, frequency, power, cosinus phi, energies on phases 1, 2,
3 and sum.
Numerical values are:
- on 2 words at signed 32 bits integer format (4 bytes), for voltages, currents, frequency, active, reactive,
apparent powers and cos.
- on 2 words at 32 bits unsigned integer format (4 bytes) for energies (value in KW.h and KVAR.h)
Consult the enclosed tables for measures detail.
6.2) Writing:
It's possible to reset all energies with a single writing. Reset is made by writing $55AA value at $7000 address