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:
:01 05 0006 0000 LRC crlf
2.
Request for the Number of stored records:
PC Request:
:01 03 4000 0001 3B crlf
3.
Request for n stored records:
PC Request:
:01 03 xxxx yyyy LRC crlf
xxxx = Address of the starting record (8000h..9EA0h)
yyyy = Number of records to be transmitted
(0001, 0002, 0003 o 0004)
Example 1:
PC Request:
:0103 8000 0001 7A CR LF
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
Bit 5
= single-phase/three-phase
Bit 4, 3
= instrument configuration
Bit 2
= type of insertion
Bit 1, 0
= phase number
D2 = 01 (day)
D3 = 06 (month)
D5 = 00 (seconds) D6 = 08 (minutes) D7 = 09 (hours)
D8 D9 D10
8C 0F FF ( V = 398 three-phase voltage,
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,
(request for 1 record of 113 bytes starting from the first address 8000h)
( 00 = rms meas. 01 = samples )
( 0 = single-phase, 1= three-phase )
( 00 = Standard 1, 01 = Standard 2, 10 = Cog 4 )
( 0 = Star,
( 00 = phase 1,
D4 = 63 (year hex )
log date: 1 June 1999
log hour: 09:08:00
expressed
"
"
"
"
"
"
Microvip3Plus Response:
Eco
Microvip3Plus Response:
:01 03 02 nnnn LRC crlf
where nnnn = number of stored records
Microvip3Plus Response:
:0103 nn rrr...rrr rrr...rrr LRC CR LF
where nn = number of WORDS transmitted ( in the standard Modbus nn
should be the number of bytes !)
rrr...rrr = it is the record of 113 bytes stored and transmitted in binary
format ( therefore it is necessary an 8 bit transmission ).
1 = Delta )
01 = phase 2,
10 = phase 3 )
as
LSB,
MSB,
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
58
EXP )
" )
" )
" )
" )
" )
" )
Need help?
Do you have a question about the Microvip 3 plus and is the answer not in the manual?