Jump to main content

# 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 Interpreter 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:

CMD | Function | Type | Frame
--- | --- | --- | ---
DCR | Read DSP_CONTROL registers | Frame sent | DCR [32]
Answer | 032 P_K_T 500000
Note | This command can be sent without index. In this case, all the control registers values will be displayed
DCW | Write DSP_CONTROL register | Frame sent | DCW [32] (A00000)
Answer | Set Is Ok !
DCM | Write DSP_CONTROL, multiple registers | Frame sent | DCM(138:20000000; 139:20000000; 140:20000000)
Answer | Set 138 Is Ok ! Set 139 Is Ok ! Set 140 Is Ok !
DSR | Read DSP_ST register | Frame sent | DSR [02]
Answer | 0dar02 STATE_FLAG 20
Note | This command can be sent without index. In this case, all the status registers values will be displayed
DAR | Read DSP_ACC register | Frame sent | DAR [00]
Answer | 000 CH0 9A3FC3
Note | This command can be sent without index. In this case, all the accumulator registers values will be displayed
HAR | Read harmonic register | Frame sent | HAR [03]
Answer | 003 CH3_m_R 034 CH2_m_I 0 0
Note | This command can be sent without index. In this case, all the harmonic registers values will be displayed
HRR | Read harmonic calculated Irms/Vrms | Frame sent | HRR [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
IDR | Read meter id | Frame sent | IDR
Answer | Meter ID is: 12345Q
IDW | Write meter id (id length limited to 6 characters) | Frame sent | IDW[PIC](PI3456)
Answer | Set Meter ID is ok
RST | Perform System Reset | Frame sent | RST[PIC]
Answer | Reset Command is Ok !
RLD | Reset Core 1 and its peripherals. Reload Core 1 metrology library | Frame sent | RLD[PIC]
Answer | Reloading Metrology...
DCB | Go to Low-Power mode | Frame sent | DCB
RTCW | Write meter RTC | Frame sent | RTCW[PIC](20-10-19 01 09:59:00)
Answer | Set RTC is OK
RTCR | Read meter RTC | Frame sent | RTCR
Answer | Present RTC (yy-mm-dd w hh:mm:ss): 20-07-07 2 12:44:54
TOUW | Write meter TOU | Frame sent | TOUW [PIC] (08:30 02 10:30 03 18:30 01 22:00 04)
Answer | Set TOU is OK
TOUR | Read meter TOU | Frame sent | TOUR
Answer | TOU table is: TOU1=08:30 T2 TOU2=10:30 T3 TOU3=18:30 T1 TOU4=22:00 T4
ENR | Read energy stored data | Frame sent | ENR [0]
Answer | Last 0 Month Energy is: TT=4.10kWh T1=1.09kWh T2=1.65kWh T3=0.01kWh T4=1.35kWh
ENC | Clear all energy stored data | Frame sent | ENC [PIC]
Answer | Clear Energy is ok !
EVER | Read single event record | Frame sent | EVER[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
EVEC | Clear all event record | Frame sent | EVEC [PIC]
Answer | Clear All Event is ok !
EVRC | Register new Custom event record | Frame sent | EVRC CH 4 1.05
Answer | Custom 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
EVUC | Unregister Custom event record | Frame sent | EVUC CH 0
Answer | Custom event has been unregistered
EVLC | List Custom event record | Frame sent | EVLC
Answer | Custom event list: CH04 Threshold: 1.050000
MDR | Read maximum demand | Frame sent | MDR [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
MDC | Clear all maximum demand and occurrence time | Frame sent | MDC [PIC]
Answer | Clear MaxDemand is ok
PAR | Read measure parameter | Frame sent | PAR [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 sent | PAR [P]
Answer | Active Powers are: P00=3298.445W P01=3299.506W P02=3297.525W
Frame sent | PAR [Q]
Answer | Reactive Powers are: Q00=5713.158Var Q01=5715.160Var Q02=5715.087Var
Frame sent | PAR [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 sent | PAR [PF]
Answer | Active Powers are: (only fundamental) PF00=3299.213W PF01=3299.018W PF02=3296.987W
Frame sent | PAR [QF]
Answer | Reactive Powers are: (only fundamental) QF00=5713.817Var QF01=5715.788Var QF02=5714.289Var
Frame sent | PAR [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 sent | PAR [A]
Answer | Voltage and Current Angle are: Angle_PW00=60.007 Angle_PW01=60.003 Angle_PW02=60.013
Frame sent | PAR [VAB]
Answer | Present V_AB=381.049V
Frame sent | PAR [VBC]
Answer | Present V_BC=381.015V
Frame sent | PAR [VCA]
Answer | Present V_CA=380.944V
Frame sent | PAR [PT]
Answer | Present PT=9894.892W
Frame sent | PAR [PT_F]
Answer | Present PT_F=9894.969W
Frame sent | PAR [QT]
Answer | Present QT=17144.516VAR
Frame sent | PAR [QT_F]
Answer | Present QT_F=17144.457VAR
DCD | Load default metrology control register values | Frame sent | DCD
Answer | Load Default Is Ok !
DCS | Save metrology constants to non-volatile memory | Frame sent | DCS
Answer | Save Data Is Ok !
DEV | Devices Connection | Frame sent | DEV
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]
BUF | Read waveform capture data (if a parameter is used, only a 512 samples sector is returned) | Frame sent | BUF
Answer | Waveform Capture Data... FF89BEE4 A928D0C4 …

Rev: E