Commands List

Some commands include indexes or passwords and parameters. Indexes or passwords are sent enclosed with “[]”and are coded in decimal, if numbers. Parameters are enclosed with “()” and the codification depends on the command. The default password is “PIC” but can be changed modifying the application source code. Examples:

  • Example 1: DCW [10] (100000) writes 0x100000 in the control register with index equal to 10
  • Example 2: IDW [PIC] (12345Q) sets the Meter Identifier to 12345Q

If the command is not properly received, decoded or processed by the application, the console will return an error message, like “Unsupported Command”, “Password Error”, ...

These are the supported commands:

Table 1-6. Table 2-1. Meter Demo Commands
CMDFuntionExampleTypeFrame
DCRRead DSP_CONTROL registersRead DSP_CONTROL P_K_t registerFrame sentDCR [09]
Answer

09 P_K_T

500000

NoteThis command can be sent without index. In this case, all the control registers values will be displayed
DCWWrite DSP_CONTROL registerWrite DSP_CONTROL P_K_t register sentFrame sentDCW [09] (A00000)
Answerset is Ok
DCMWrite DSP_CONTROL, several registersWrite DSP_CONTROL registers 38 to 41Frame sentDCM(38:7B6310; 39:0; 40:51B7E89; 41:4A9D4CA)
AnswerSet is Ok
DSRRead DSP_ST registerRead DSP_ST STATE_FLAG registerFrame sentDSR [02]
Answer

02 STATE_FLAG

7180020

NoteThis command can be sent without index. In this case, all the status registers values will be displayed
DARRead DSP_ACC registerRead DSP_ACC I_A registerFrame sentDAR [00]
Answer

00 I_A

3000054CB

NoteThis command can be sent without index. In this case, all the accumulator registers values will be displayed
HARRead harmonic registerRead third harmonic registerFrame sentHAR [03]
Answer

03 I_B_R

0

NoteThis command can be sent without index. In this case, all the accumulator registers values will be displayed
HRRRead harmonic Irms/VrmsRead third harmonic Irms/VrmsFrame sentHRR [03]
Answer

The calculated harmonic Irms/Vrms:

Irms_Har_A(A) Irms_Har_B(A) Irms_Har(A)

0.057A 0.029A 0.028A

Vrms_Har_A(V) Vrms_Har_B(V) Vrms_Har(V)

2.552V 1.262V 1.298V
IDRRead meter idFrame sentIDR
Answer

Meter ID is:

12345Q

IDWWrite meter id (id length limited to 6 characters)Frame sentIDW[PIC](PI3456)
AnswerSet Meter ID is Ok !
RSTSystem resetFrame sentRST[PIC]
AnswerReset Command is Ok !
RLDReload Core 1 metrology libraryFrame sentRLD[PIC]
AnswerReloaded core-1 image! Metrology lib reloaded!
DCBGo to low power modeFrame sentDCB
RTCWWrite meter RTCWrite RTC 20-10-19 01 09:59:00Frame sentRTCW[PIC](20-10-19 01 09:59:00)
AnswerSet RTC is OK
RTCRRead meter RTCFrame sentRTCR
Answer

Present RTC (yy-mm-dd w hh:mm:ss):

20-07-07 2 12:44:54

TOUWWrite meter TOUWrite TOU=8:30 T2 10:30 T3 18:30 T1 22:00 T4Frame sentTOUW [PIC] (08:30 02 10:30 03 18:30 01 22:00 04)
AnswerSet TOU is OK
TOURRead meter TOUFrame sentTOUR
Answer

TOU table is:

TOU1=08:30 T2 TOU2=10:30 T3 TOU3=18:30 T1 TOU4=22:00 T4

ENRRead energyRead current month energyFrame sentENR [0]
Answer

Last 0 Month Energy is:

TT=4.10kWh

T1=1.09kWh

T2=1.65kWh

T3=0.01kWh

T4=1.35kWh

ENCClear all energyFrame sentENC [PIC]
AnswerClear energy is OK!
EVERRead single event recordRead last 2 times Ub sag eventFrame sentEVER[Ua][2]
Answer

Last 2 times Ub Sag is:

Total Num=0003 start time is 10-08 12:25

End time is 10-08 16:23

EVECClear all event recordFrame sentEVEC [PIC]
AnswerClear All Event is ok
MDRRead maxim demandRead previous 1 month maxim demand and happen timeFrame sentMDR [1]
Answer

Last 1 Month MaxDemand is:

TT=26.325kW 8-4 18:45

T1=26.325kW 8-2 18:45

T2=12.350kW 8-9 14:30

T3= 8.627kW 8-6 11:15

T4= 9.483kW 8-18 23:15

MDCClear all maxim demand and happen timeFrame sentMDC [PIC]
AnswerClear MaxDemand is ok
PARRead measure parameterRead voltageFrame sentPAR [U]
Answer

Present voltage is:

Ua=221.317V Ub=223.213V Uc=219.248V

Read currentFrame sentPAR [I]
Answer

Present current is:

Ia=4.0114A Ib=5.0125A Ic=4.5844A Ini=0.8289A Inm=0.9491A Inmi=0.1202A

Read active powerFrame sentPAR [P]
Answer

Present active power is:

Pt= 750.1W Pa= 250.2W Pb= 250.8W Pc= 249.1W

Read reactive powerFrame sentPAR [Q]
Answer

Present reactive power is:

Qt= 360.6Var Qa=120.2Var Qb=120.3 Var Qc=120.1Var

Read apparent powerFrame sentPAR [S]
Answer

Present apparent power is:

St=900.8VA Sa=300.1VA Sb=300.5VA Sc=300.2VA

Read frequencyFrame sentPAR [F]
Answer

Present frequency is:

Freq=50.01Hz

Read angleFrame sentPAR [A]
Answer

Voltage and current angle is :

Angle_A= 4.704 Angle_B= 160.699 Angle_C= 0.000

DCDLoad default metrology control register valuesFrame sentDCD
AnswerLoad Default Is Ok !
DCSSave metrology constants to non-volatile memoryFrame sentDCS
AnswerSave Data Is Ok !
CALAutomatic calibrationSingle phase exampleFrame sentCAL A (Ua=220.01,Ia=4.999,Aa=59.99)
Answer

It is calibrating...

Calibrating Done!

Poly phase exampleFrame sentCAL T (Ua=220.01,Ia=4.999,Aa=59.99, Ub=220.01,Ib=4.999,Ab=59.99,Uc=220.01, Ic=4.999, Ac=59.99)
Answer

It is calibrating...

Calibrating Done!

CNFAutomatic configurationCurrent Transformer exampleFrame sentCNF(MC=800,ST=0,F=50.00, G=1,Tr=1000,Rl=3.24,Ku=1651)
AnswerConfigure Meter is ok!
Shunt resistor exampleFrame sentCNF(MC=800,ST=1,F=50.00, G=8,Tr=1000,Rl=150,Ku=1651)
AnswerConfigure Meter is ok!
Rogowski Coil exampleFrame sentCNF(MC=800,ST=2,F=50.00,G=4, Tr=416.667,Rl=3.24,Ku=1651)
AnswerConfigure Meter is ok!
BUFRead waveform capture data (if a parameter is used, only a 512 samples sector is returned) Frame sentBUF
Answer

Waveform Capture Data...

FF89BEE4

A928D0C4