1.2.7.3.4 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 coding 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
Note: In newer versions of the Terminal, the characters “[]” and “()” can be omitted and the parameters are correctly processed (if the command and parameters order is respected), as explained in Terminal Interface Notes.

If the command is not properly received, decoded, or processed by the application, the console will return an error message, such as Unsupported Command, Password Error, and so on.

The following are the supported commands:

CMDFunctionExampleTypeFrame
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 registerFrame sentDCW [09] (A00000)
AnswerSet Is Ok !
DCMWrite DSP_CONTROL, multiple registersWrite DSP_CONTROL registers 38 to 41Frame sentDCM(38:7B6310; 39:0; 40:51B7E89; 41:4A9D4CA)
Answer

Set 38 Is Ok !

Set 39 Is Ok !

Set 40 Is Ok !

Set 41 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

000 I_A_m_R 031 V_A_m_R 062 I_B_m_R 093 V_B_m_R

0 0 0 0

124 I_C_m_R 155 V_C_m_R 186 I_N_m_R 217 I_A_m_I

0 0 0 0

248 V_A_m_I 279 I_B_m_I 310 V_B_m_I 341 I_C_m_I

0 0 0 0

372 V_C_m_I 403 I_N_m_I

0 0

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

Irms_Har_A(A), bitmap: 0x00000004

0.000 0.000 0.057 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

Irms_Har_B(A), bitmap: 0x00000004

0.000 0.000 0.029 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

Irms_Har_C(A), bitmap: 0x00000004

0.000 0.000 0.028 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

Irms_Har_N(A), bitmap: 0x00000004

0.000 0.000 0.004 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

Vrms_Har_A(V), bitmap: 0x00000004

0.000 0.000 2.552 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

Vrms_Har_B(V), bitmap: 0x00000004

0.000 0.000 1.262 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

Vrms_Har_C(V), bitmap: 0x00000004

0.000 0.000 1.298 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

HRRXExtended version of HRR, using Harmonics bitmap and Start/Stop functionalityRead third and fifth harmonic calculated Irms/VrmsFrame sentHRRX 1 [00000014]
Answer

Irms_Har_A(A), bitmap: 0x00000014

0.000 0.000 0.057 0.000

0.025 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

Irms_Har_B(A), bitmap: 0x00000014

0.000 0.000 0.029 0.000

0.013 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

Irms_Har_C(A), bitmap: 0x00000014

0.000 0.000 0.028 0.000

0.012 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

Irms_Har_N(A), bitmap: 0x00000014

0.000 0.000 0.004 0.000

0.002 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

Vrms_Har_A(V), bitmap: 0x00000014

0.000 0.000 2.552 0.000

1.224 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

Vrms_Har_B(V), bitmap: 0x00000014

0.000 0.000 1.262 0.000

0.631 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

Vrms_Har_C(V), bitmap: 0x00000014

0.000 0.000 1.298 0.000

0.649 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000 0.000

0.000 0.000 0.000

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
RSTPerform System ResetFrame sentRST[PIC]
AnswerReset Command is Ok !
RLDReset Core 1 and its peripherals. Reload Core 1 metrology libraryFrame sentRLD[PIC]
AnswerReloading Metrology...
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 energy stored dataRead 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 energy stored dataFrame sentENC [PIC]
AnswerClear Energy is ok !
EVERRead single event recordRead last 2 times Ub sag eventFrame sentEVER[UbSag][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 maximum demandRead previous 1 month maximum demand and occurrence 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 maximum demand and occurrence 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 voltage (Fundamental only)Frame sentPAR [UF]
Answer

Present voltage (fundamental) is:

Ua=219.917V Ub=222.013V Uc=218.018V

Read current (Fundamental only)Frame sentPAR [IF]
Answer

Present current (fundamental) is:

Ia=4.0001A Ib=4.9725A Ic=4.0024A Ini=0.6985A Inm=0.9336A Inmi=0.2351A

Read active energy (Fundamental only)Frame sentPAR [PF]
Answer

Present active power (fundamental) is:

Pt= 744.1W Pa= 248.2W Pb= 248.8W Pc= 247.1W

Read reactive energy (Fundamental only)Frame sentPAR [QF]
Answer

Present reactive power (fundamental) is:

Qt= 355.6Var Qa=118.2Var Qb=118.3 Var Qc=119.1Var

Read apparent energy (Fundamental only)Frame sentPAR [SF]
Answer

Present apparent power (fundamental) is:

St=894.8VA Sa=299.1VA Sb=298.5VA Sc=297.2VA

Read frequency in dominant phaseFrame sentPAR [F]
Answer

Present frequency is:

Freq=50.01Hz

Read dominant frequency and frequency per phaseFrame sentPAR [FT]
Answer

Dominant frequency is:

Freq=50.01Hz

FreqA=50.00Hz, FreqB=0.00Hz, FreqC=0.00Hz

Read angleFrame sentPAR [A]
Answer

Voltage and current angle is :

Angle_A= 4.704 Angle_B= 160.699 Angle_C= 0.000 Angle_N= 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

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

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