Download Print this page

CALMET C300B Manual

Transmission protocol

Advertisement

Quick Links

Transmission Protocol
C300B
C300B
Transmission protocol
for C300B firmware 5.x.x
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

Advertisement

loading

Summary of Contents for CALMET C300B

  • Page 1 Transmission Protocol C300B C300B Transmission protocol for C300B firmware 5.x.x 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 The structure of answer is following: OK[CR][LF] (everything is OK, calibrator have realized command) ER[CR][LF] (problem with the transmission or bad command syntax) <ANSWER_PARAM1> <ANSWER_PARAMx>[CR][LF] (everything is OK, calibrator answered with parameters). www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 2/22...
  • Page 3 <R3Imax>  maximal value of current setting for range R3I (real number) <R4Imax>  maximal value of current setting for range R4I (real number) Example answer 0.500000, 6.00000, 20.0000, 120.000[CR][LF] www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 3/22...
  • Page 4 <U1> <U2> <U3>  values of voltage settings (real number) Answer <I1> <I2> <I3>  values of current settings (real number) parameter(s) Example answer 231.000 170.000 114.000 5.80000 33.400 33.200[CR][LF] www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 4/22...
  • Page 5 <Rx>  real number of range value (default value of next range is a half of previous range), Example(s) RDMETRANGES_1[CR][LF] (read ranges of input 1)) Example answer 24.000000,12.000000,6.000000,3.000000,1.500000,0.750000,0.375000,0.187500[CR][LF] www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 5/22...
  • Page 6 <U1I1>, <U2I2>, <U3I3>  value of phase angle (φ1, φ2, φ3) Answer <U1U2>, <U1U3>  value of angle between voltages (<U12, <U13) parameter(s) <N>  time of measurement expressed in number of periods -0.004,-0.005,-0.002,119.998,-120.007,54 [CR][LF] Example answer www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 6/22...
  • Page 7 <Ix>  Value (real number) in range from R1Imin (command GETMINIRNG_) to R4Imax Parameter(s) (command GETMAXIRNG_). Decimal places depend on the selected range – see C300 datasheet Example(s) I_0.500000,10.2400,100.000[CR][LF] I_0.5,10.24,100[CR][LF] (Setting I values: I1=0.500000A, I2=10.2400A, I3=100.000A) Example answer OK[CR][LF] www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 7/22...
  • Page 8 Setting value of output frequency in Hz; the frequency will be applied to the S0 output. <FREQUENCY>  Value (real numbers) from range 0.000000Hz to 210000.000000Hz Parameter(s) FOUT_150000.000000[CR][LF] Example(s) (Setting 150kHz output frequency) FOUT_0.0[CR][LF] (Stop generating the output frequency) Example answer OK[CR][LF] www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 8/22...
  • Page 9 <CHANNEL> = 5  set harmonics shape to the I2 <CHANNEL> = 6  set harmonics shape to the I3 Example(s) H2CH_1[CR][LF] (set harmonics shape to the U1 channel) OK[CR][LF] Example answer www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 9/22...
  • Page 10 <F1><F2><F3>  Values of frequencies of interharmonics (natural number). Setting range is Parameter(s) presented in Table 2.1 in C300 user manual Example(s) INTERHARMA_113,78,300[CR][LF] (133Hz, 78Hz, 300Hz) Example answer OK[CR][LF] www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 10/22...
  • Page 11 <REGISTER> = 4  MET_S0_FREQUENCY (should not to be set): Example(s) WRMETS0_1,2,10[CR][LF] (set MET_S0_SETTING in second S0 input to 10s or 10 impulses) WRMETS0_1,0,1[CR][LF] (set measuring time mode second S0 input) Example answer OK[CR][LF] www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 11/22...
  • Page 12 Example answer 125,0.000000,181,0.000000[CR][LF] (measurement in progress in first and send S0 input, 125 pulses measured in first S0 input and 181 pulses measured in second S0 input) www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 12/22...
  • Page 13 Switch Off first S0 Frequency frequency of first S0 input input ≥0 RDMETS0_0,4 WRMETS0_0,0,0 Read measured frequency Switch Off first S0 Frequency of second S0 input input ≥0 RDMETS0_1,4 WRMETS0_0,0,0 www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 13/22...
  • Page 14 NEXT START and voltage of calibrator's time SETTINGSTOBUFFER_ BUFFER range(s) outputs DURATION_ Set the iteration for Stop programming buffers Start buffer's process loop process SETTINGSTOBUFFER_0 RELAYTESTSTART RELAYTESTLOOP_ www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 14/22...
  • Page 15 Immediately stop the buffer's process. !!!Warning: After that command calibrator keep last programmed settings. To read last programmed setting use commands: ENDAMP_, ENDPHA and ENDFRQ. Parameter(s) Example(s) RELAYTESTSTOP_[CR][LF] Example answer OK[CR][LF] www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 15/22...
  • Page 16 !!!use this command only in buffers which will be measured the time or to use the jump to another buffer (RELAYTESTPOSTSETTINGS_ command) Parameter(s) Example(s) TIMERTRIGGER_[CR][LF] OK[CR][LF] Example answer www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 16/22...
  • Page 17 <INx> = 3  input active on the any edge (rising and falling) on the input CONFIGTIMERINPUTS_0,1,3[CR][LF] Example(s) (IN1 input not active; IN2 input active on falling edge; IN3 input active on any edge) Example answer OK[CR][LF] www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 17/22...
  • Page 18 STOPPHA_ WRMETIDETECT_ INITRAMP_ STEPFRQ_ STOPFRQ_ Read stop values Start ramp Wait 1s and read Stop process Process ENDAMP_ process test status RELAYTESTSTOP_ completed ENDPHA_ STARTRAMP_ RDRELAYTEST_ ENDFRQ_ www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 18/22...
  • Page 19 <Ix>  current step settings in channel I1, I2 and I3 (real number) Example(s) STEPAMP_0.5,0.2,0.0,0.0,0.02,0.01[CR][LF] (set step U1=0.5V, U2=0.2V, I2=0.02A and I3=0.01A. No steps in channels U3 and I1) Example answer OK[CR][LF] www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 19/22...
  • Page 20 Start automatic ramp in <DIR> direction (on each step reinitialize timer for value 0) <DIR> = 0  start in UP direction Parameter(s) <DIR> = 1  start in DOWN direction Example(s) STARTRAMP_0[CR][LF] Example answer OK[CR][LF] www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 20/22...
  • Page 21 <REGISTER> = 5  MET_IN_RMS (should not to be set), <REGISTER> = 6  MET_IN_PHASE (should not to be set), Example(s) WRMETIN_0,0,1[CR][LF] (set auto range in channel 0 – 24VDC) Example answer OK[CR][LF] www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 21/22...
  • Page 22 <VALUE>  real number in range from 0.000 to 360.000, Example(s) RDMETIN_0,5[CR][LF] (read RMS value from input 0) Example answer -12.2450[CR][LF] (DC value of measured signal) www.calmet.com.pl C300 Transmission protocol for C300 firmware 5.x.x C300B transmission protocol 2017-06-12.doc 22/22...