58
A.4 On-board Memory downloading via serial line
Use the following command sequence:
1. 8 bit UART Setting
In order to have a correct download of data stored, UART has to be set to 8 bits.
N.B.
This setup is necessary because the data stored inside the internal memory are in decimal format.
PC Request: Microvip3Plus Response:
:01 05 0006 0000 LRC crlf Eco
2. Request for the Number of stored records:
PC Request: Microvip3Plus Response:
:01 03 4000 0001 3B crlf :01 03 02 nnnn LRC crlf
where nnnn = number of stored records
3. Request for n stored records:
PC Request: Microvip3Plus Response:
:01 03 xxxx yyyy LRC crlf :0103 nn rrr...rrr rrr...rrr LRC CR LF
xxxx = Address of the starting record (8000h..9EA0h) where nn = number of WORDS transmitted ( in the standard Modbus nn
should be the number of bytes !)
yyyy = Number of records to be transmitted
(0001, 0002, 0003 o 0004)
rrr...rrr = it is the record of 113 bytes stored and transmitted in binary
format ( therefore it is necessary an 8 bit transmission ).
Example 1:
PC Request:
:0103 8000 0001 7A CR LF (request for 1 record of 113 bytes starting from the first address 8000h)
Microvip3 Plus Response (hexadecimal) in case of a campaign of rms meas. in Three-phase, Standard1 mode, Star insertion:
:010339
where 01 = address
03 = reading command
39 = number of transmitted words
D1= 20 (Configuration)
The first byte of each record is that one included in the configuration of the instrument at the moment of the measurement storing inside
the internal memory . Its format is as follows:
Bit 7, 6 = type of campaign ( 00 = rms meas. 01 = samples )
Bit 5 = single-phase/three-phase ( 0 = single-phase, 1= three-phase )
Bit 4, 3 = instrument configuration ( 00 = Standard 1, 01 = Standard 2, 10 = Cog 4 )
Bit 2 = type of insertion ( 0 = Star, 1 = Delta )
Bit 1, 0 = phase number ( 00 = phase 1, 01 = phase 2, 10 = phase 3 )
D2 = 01 (day) D3 = 06 (month) D4 = 63 (year hex ) log date: 1 June 1999
D5 = 00 (seconds) D6 = 08 (minutes) D7 = 09 (hours) log hour: 09:08:00
D8 D9 D10
8C 0F FF ( V = 398 three-phase voltage, expressed as LSB, MSB, EXP )
D11 D12 D13
94 11 FF ( I = 450 A three-phase current, """"" )
D14 D15 D16
40 1F FC ( PF= 0.80, """"" )
D17 D18 D19
C8 05 FF ( W= 148 kW, """"" )
D20 D21 D22
1C 0C 02 (VA = 310 kVA, """"" )
D23 D24 D25
A0 0A 02 ( var = 272 kvar, """"" )
D26 D27 D28
88 13 FE ( Hz = 50.0, """"" )