2.2.5.3.4 Multichannel 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:

CMDFunctionTypeFrame
DCRRead DSP_CONTROL registersFrame sentDCR [32]
Answer

032 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 registerFrame sentDCW [32] (A00000)
AnswerSet Is Ok !
DCMWrite DSP_CONTROL, multiple registersFrame sentDCM(138:20000000; 139:20000000; 140:20000000)
Answer

Set 138 Is Ok !

Set 139 Is Ok !

Set 140 Is Ok !

DSRRead DSP_ST registerFrame sentDSR [02]
Answer

0dar02 STATE_FLAG

20

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

000 CH0

9A3FC3

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

003 CH3_m_R 034 CH2_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/VrmsFrame sentHRR [03]
Answer

The calculated harmonic Irms/Vrms:

Vrms_Har_CH00(V) Vrms_Har_CH01(V) Vrms_Har_CH02(V) Irms_Har_CH03(A)

0.062 0.049 0.036 0.000

Irms_Har_CH04(A) Irms_Har_CH05(A) Irms_Har_CH06(A) Irms_Har_CH07(A)

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 RTCFrame 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 TOUFrame 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 dataFrame 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 recordFrame sentEVER[Ub][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 !
EVRCRegister new Custom event recordFrame sentEVRC CH 4 1.05
AnswerCustom event has been registered
Note

Once the Threshold has been set to any parameter (PAR), its level is constantly monitorized. Console displays a warning in case the threshold has been exceed.

Custom event has been triggered

par: CH

channel: 4

channel measure: CHN_MEASURE_RMS

threshold: 1.050000

current value: 1.099633

EVUCUnregister Custom event recordFrame sentEVUC CH 0
AnswerCustom event has been unregistered
EVLCList Custom event recordFrame sentEVLC
Answer

Custom event list:

CH04 Threshold: 1.050000

MDRRead maximum demandFrame 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 parameterFrame sentPAR [CH]
Answer

Present RMS values are:

CH00=219.987V CH01=220.002V CH02=219.917V CH03=29.992A

CH04=29.997A CH05=30.005A CH06=0.004A CH07=0.004A

Frame sentPAR [P]
Answer

Active Powers are:

P00=3298.445W P01=3299.506W P02=3297.525W

Frame sentPAR [Q]
Answer

Reactive Powers are:

Q00=5713.158Var Q01=5715.160Var Q02=5715.087Var

Frame sentPAR [CHF]
Answer

Present RMS (only fundamental) values are:

CH00=219.961V CH01=220.023V CH02=219.927V CH03=29.992A

CH04=29.997A CH05=29.998A CH06=0.001A CH07=0.001A

Frame sentPAR [PF]
Answer

Active Powers are: (only fundamental)

PF00=3299.213W PF01=3299.018W PF02=3296.987W

Frame sentPAR [QF]
Answer

Reactive Powers are: (only fundamental)

QF00=5713.817Var QF01=5715.788Var QF02=5714.289Var

Frame sentPAR [F]
Answer

Present frequency is : F=50.00Hz

F00=50.00Hz F01=50.00Hz F02=50.00Hz F03=0.00Hz

F04=0.00Hz F05=0.00Hz F06=0.00Hz F07=0.00Hz

Frame sentPAR [A]
Answer

Voltage and Current Angle are:

Angle_PW00=60.007 Angle_PW01=60.003 Angle_PW02=60.013

Frame sentPAR [VAB]
AnswerPresent V_AB=381.049V
Frame sentPAR [VBC]
AnswerPresent V_BC=381.015V
Frame sentPAR [VCA]
AnswerPresent V_CA=380.944V
Frame sentPAR [PT]
Answer

Present PT=9894.892W

Frame sentPAR [PT_F]
AnswerPresent PT_F=9894.969W
Frame sentPAR [QT]
AnswerPresent QT=17144.516VAR
Frame sentPAR [QT_F]
AnswerPresent QT_F=17144.457VAR
DCDLoad default metrology control register valuesFrame sentDCD
AnswerLoad Default Is Ok !
DCSSave metrology constants to non-volatile memoryFrame sentDCS
AnswerSave Data Is Ok !
DEVDevices ConnectionFrame sentDEV
Answer

AFE connection: 1 MCP3914

Channel X: Name GAIN SENSOR TYPE

Channel 0: V0 GAIN_1 VRD

Channel 1: V0 GAIN_1 VRD

Channel 2: V0 GAIN_1 VRD

Channel 3: I1 GAIN_1 CT

Channel 4: I2 GAIN_1 CT

Channel 5: I3 GAIN_1 CT

Channel 6: I4 GAIN_1 CT

Channel 7: I5 GAIN_1 CT

Power X: V_CH I_CH

Power 0: CH0[V0] CH3[I1]

Power 1: CH1[V1] CH4[I2]

Power 2: CH2[V2] CH5[I3]

BUFRead waveform capture data (if a parameter is used, only a 512 samples sector is returned) Frame sentBUF
Answer

Waveform Capture Data...

FF89BEE4

A928D0C4