background image

www.calmet.com.pl

 

C300 Transmission protocol for C300 firmware 5.x.x 

C300B transmission protocol 2017-06-12.doc 

6/22

 

 

Function 

Read meter firmware or boot version 

Command 

METVR_[CR][LF] 

Answer 

<MET FIRMWARE VERSION>[CR][LF] 

Description 

Return firmware or boot version 

Answer 

parameter(s) 

<MET FIRMWARE VERSION> 

 string contains 2 parts separated with space: 

“FFFFvNNN YYYYMMDD” 
FFFFvNNN 

– mode code (FFFF) and program version number (NNN) 

YYYYMMDD 

– date of program build 

Example answer 

FIRMv001 20130806[CR][LF] 

(or) 

BOOTv002 20130806[CR][LF] 

 

Function 

Read measurements of phase angles and angles between voltages 

Command 

RPHAMEAS_[CR][LF] 

Answer 

<U1I1>,<U2I2>,<U3I3>,<U1U2>,<U1U3>,<N>[CR][LF] 

Description 

Returns the measurements of phase angles, angles between voltages and a time 
measurements 

Answer 

parameter(s) 

<U1I1>, <U2I2>, <U3I3> 

 

value of phase angle (φ1, φ2, φ3) 

<U1U2>, <U1U3> 

 value of angle between voltages (<U12, <U13) 

<N>

 

 time of measurement expressed in number of periods 

Example answer 

-0.004,-0.005,-0.002,119.998,-120.007,54 [CR][LF] 

Summary of Contents for C300B

Page 1: ...re 5 x x C300B Transmission Protocol Przedsiębiorstwo Innowacyjno Wdrożeniowe calmet Spółka z o o 65 472 ZIELONA GÓRA ul Kukułcza 18 tel 48 68 324 04 56 fax 48 68 324 04 57 www calmet com pl mail calmet com pl C300B transmission protocol 2017 06 ...

Page 2: ...brator is done with Master Slave scheme PC Master can communicate with calibrator Slave via set of ASCII commands All commands should be written with CAPITAL characters Each command ends with line termination sequence of two ASCII characters with decimal codes 13 CR and 10 LF For each command from PC there is an answer from the calibrator The structure of command is following COMMAND_ PARAM1 PARAM...

Page 3: ...nge R1U real number R2Umin minimal value of voltage setting for range R2U real number R3Umin minimal value of voltage setting for range R3U real number R4Umin minimal value of voltage setting for range R4U real number Example answer 0 5000 1 000 2 000 5 000 CR LF Function Read maximal values of voltage setting Command GETMAXURNG_ CR LF Answer R1Umax R2Umax R3Umax R4Umax CR LF Description Return ca...

Page 4: ...se angle and angle between voltages setting Answer parameter s FAmax maximal value of angle setting real number Example answer 360 00 CR LF Function Read Standby Operate state Command SO_ CR LF Answer U1 U2 U3 I1 I2 I3 CR LF Description Return status of the STANDBY OPERATE for all channels U1 2 3 I1 2 3 Answer parameter s Ux Ix 0 channel U or I is ON Ux Ix 1 channel U or I is OFF Example answer 1 ...

Page 5: ...d interharmonics state Command INTERHARMSTAT_ CR LF Answer IHU1 IHU2 IHU3 IHI1 IHI2 IHI3 CR LF Description Return status of the interharmonics for all channels U1 2 3 I1 2 3 Command used in firmware 4 0 0 or newer Answer parameter s IHUx IHIx 0 interharmonic U or I are OFF IHUx IHIx 1 interharmonic U or I are ON Example answer 0 0 0 1 1 1 CR LF U1 2 3 interharmonics are OFF I1 2 3 interharmonics a...

Page 6: ... and program version number NNN YYYYMMDD date of program build Example answer FIRMv001 20130806 CR LF or BOOTv002 20130806 CR LF Function Read measurements of phase angles and angles between voltages Command RPHAMEAS_ CR LF Answer U1I1 U2I2 U3I3 U1U2 U1U3 N CR LF Description Returns the measurements of phase angles angles between voltages and a time measurements Answer parameter s U1I1 U2I2 U3I3 v...

Page 7: ...ption Setting value of voltage Ux in channel U1 U2 and U3 the setting will be applied to the output Parameter s Ux Value real number in range from R1Umin command GETMINURNG_ to R4Umax command GETMAXURNG_ Example s U_230 000 60 0004 1 000 CR LF U_230 60 0004 1 CR LF Setting U values U1 230 000V U2 60 0004V U3 1 0000V Example answer OK CR LF Function Set voltage range Command RU_ RU1 RU2 RU3 CR LF D...

Page 8: ...mmand FN_ CR LF Description Value of the frequency will be synchronized to the power net frequency the next command FR_ Freq CR LF will OFF synchronization and set new value of the frequency The actual frequency can be read using SOF_ command Example answer OK CR LF Function Set phase angle and angle between voltages Command FA_ U1I1 U2I2 U3I3 U1U2 U1U3 CR LF Description Setting value of phase ang...

Page 9: ...096 ShapeSample 1 0001 hex value 1 ShapeSample 1 1FFF hex value 8191 Parameter s DATA binary data coded as an ASCII chars Max size of DATA is 114 chars 29 samples CRC 4 bytes of CRC checksum Example s WR_10000FFA0FF40FEE0FE70FE10FDB0FD50FCE0FC80FC20FBB0FB50FAF0FA90FA 20F9C0F960F8F0F890F830F7D0F760F700F6A0F630F5D0F570F51F387 CR LF 116 bytes of first 29 samples of sine shape last 4 bytes are CRC F38...

Page 10: ...harmonics real numbers Setting range is presented in Table 2 1 in C300 user manual Example s INTERHARMA_30 0 10 0 20 0 CR LF 30 of U1 amplitude 10 of U2 20 of U3 Example answer OK CR LF Function Setting interharmonic s phase angle in voltage channels Command INTERHARMP_ P1 P2 P3 CR LF Description Setting phase angle of interharmonics in voltage channels Expressed in degrees Command used in firmwar...

Page 11: ...ARMU_1 0 1 CR LF ON OFF ON Example answer OK CR LF Function Enable Disable interharmonics in current channels Command INTERHARMI_ IH1 IH2 IH3 CR LF Description Enable Disable interharmonics in current channels Available only if current interharmonics are present Parameter s IH1 IH2 IH3 1 Interharmonic enabled 0 disabled Example s INTERHARMI_1 0 1 CR LF ON OFF ON Example answer OK CR LF 4 3 Electri...

Page 12: ...sured impulses REGISTER 4 MET_S0_FREQUENCY return signal frequency in Hz VALUE real number from 0 000001 to 200000 000Hz VALUE 0 000000 measurement in progress Example s RDMETS0_1 3 CR LF read measure progress in second S0 input Example answer 245 CR LF 245 impulses measured Function Read S0 inputs results Command RDMETS0ERR_ CR LF Answer VALUE1 VALUE2 VALUE3 VALUE4 CR LF Description Read S0 input...

Page 13: ...irst S0 input settings to measure 200 impulses WRMETS0_0 2 200 Set first S0 input mode settings and start counting WRMETS0_0 0 2 Frequency 0 YES NO Read measured frequency RDMETS0_0 4 Switch Off first S0 input WRMETS0_0 0 0 START Set parameters of calibrator outputs Set first S0 input settings to measure 15s WRMETS0_0 2 15 Set second S0 input settings to measure 15s WRMETS0_1 2 15 Set first S0 inp...

Page 14: ...NT1 VAL_INT2 VAL_INT3 STATUS CR LF Description Return value of the timer1 timer2 and timer3 and test procedure status Answer parameter s VAL_INTx i time in milliseconds from timer x natural number VAL_INTx 1 no level changes at input x STATUS 0 status of the operation test is not ready STATUS 1 status of the operation test is completed STATUS 1 status of the operation test procedure error timeout ...

Page 15: ...ons 0 unlimited natural number Example s RELAYTESTLOOP_1 4 0 CR LF loop buffers from 1 to 4 with unlimited iterations RELAYTESTLOOP_1 4 1 CR LF loop buffers from 1 to 4 with 1 iteration Example answer OK CR LF Function Start buffer s process Command RELAYTESTSTART_ STARTIDX STOPIDX TIMEMS CR LF Description Start process from first to last buffer with programmed time Without use the RELAYTESTLOOP_ ...

Page 16: ... commands Relay s trigger time function according to Calpro300 TS user manual chapter 3 3 consists of 3 general states each state is a one buffer 1 Prefault state first buffer consists of prefault settings 2 Fault state second buffer consists of fault settings and TIMERTRIGGER_ command 3 Postfault state third buffer consist of postfault settings standby or prefault state Function Start trigger s t...

Page 17: ...t input 0 to measure a current loop break time of I1 current Example answer OK CR LF Function Read IDetect inputs settings Command RDMETIDETECT_ INPUT REGISTER CR LF Answer VALUE CR LF Description Read IDetect inputs settings Answer parameter s INPUT 0 select IDetect 0 input INPUT 1 select IDetect 1 input INPUT 2 select IDetect 2 input REGISTER 0 MET_IDETECT_MODE return value of mode detection VAL...

Page 18: ...he timer Command RDRELAYTEST_ CR LF Answer VAL_IN1 VAL_INT2 VAL_INT3 STATUS CR LF Description Return value of the timer1 timer2 and timer3 and test procedure status Answer parameter s VAL_INTx i time in milliseconds from timer x natural number VAL_INTx 1 no level changes at input x STATUS 0 status of the opeartion test is not ready STATUS 1 status of the opeartion test is completed STATUS 1 status...

Page 19: ...Ux FIx Parameter s FU1 FU2 FU3 voltage frequency real number FI1 FI2 FI3 current frequency real number Example s BEGFRQ_50 0 50 0 50 0 50 0 50 0 50 0 CR LF set begin frequency to 50Hz Example answer OK CR LF Function Set max amplitudes Command MAXAMP_ U1 U2 U3 I1 I2 I3 CR LF Description Command setup max amplitudes of voltage and current for ramp process That values can not be exceeded in ramp pro...

Page 20: ...in voltage channels or 10A in current channels Example answer OK CR LF Function Set stop process phases Command STOPPHA_ U1I1 U2I2 U3I3 U1U2 U1U3 CR LF Description Command setup stop phase angles and angles between voltages of ramp process Ramp process automatically stop after reaching set value in any channels Parameter s U1I1 U2I2 U3I3 phase angle stop settings real number U1U2 U1U3 angle betwee...

Page 21: ... ON with manual range REGISTER 1 MET_IN_RANGE set measuring range VALUE 0 INPUT 1 e g 14VDC for 14VDC input VALUE 1 INPUT 2 e g 7VDC for 14VDC input VALUE 2 INPUT 4 e g 3 5VDC for 14VDC input VALUE 3 INPUT 8 e g 1 75VDC for 14VDC input VALUE 4 INPUT 16 e g 0 875VDC for 14VDC input VALUE 5 INPUT 32 e g 0 4375VDC for 14VDC input VALUE 6 INPUT 64 e g 0 21875VDC for 14VDC input VALUE 7 INPUT 128 e g 0...

Page 22: ...E 0 INPUT 1 e g 14VDC for 14VDC input VALUE 1 INPUT 2 e g 7VDC for 14VDC input VALUE 2 INPUT 4 e g 3 5VDC for 14VDC input VALUE 3 INPUT 8 e g 1 75VDC for 14VDC input VALUE 4 INPUT 16 e g 0 875VDC for 14VDC input VALUE 5 INPUT 32 e g 0 4375VDC for 14VDC input VALUE 6 INPUT 64 e g 0 21875VDC for 14VDC input VALUE 7 INPUT 128 e g 0 10938VDC for 14VDC input REGISTER 2 not used REGISTER 3 MET_IN_AVERAG...

Reviews: