background image

 

CT-BOX User’s Manual

 

45 

2.3

 

Advanced Commands 

 

The  advanced  functionalities  of  the  CT-BOX  are  described  in  the  following 

chapters. 

2.3.1

 

ALARM Command  

The CT-BOX allows to detect when the measured current is outside of a desired 

current range. The command that sets this functionality is called ALARM command. 
The alarm checks are performed at the selected acquisition frequency, so they depend 
over the: 

 

TS setting in the Oscilloscope mode of operation, 

 

FREQ setting in the Data-Logger mode of operation. 

 
The command “ALARM:ON

\

r

” is used to enable the alarm check functionality, 

otherwise the command “ALARM:OFF

\

r

” is used to disable it. The command used to 

read  the  actual  ALARM  configuration  is:  “ALARM:?

\r

”.  The  reply  to  the  read 

command is in the following form: “

alarm_status

\r\n

”, where

 alarm_status

 is “ON” if 

the alarm status is enabled or “OFF” if it is disabled. 

Whenever the Alarm condition occurs the “Alarm flag” bit is set and latched in 

the Status register. It stays set also when the alarm condition is removed. The command 
“ALARM:CLR

\

r

” clears the Alarm condition and so also the “Alarm  flag” bi  in the 

Status register. 

 

ALARM Command: 

(ALARM:

parameter

\r) 

 

Parameter 

Command description 

Type of 

command 

Return value 

ON 

Enable the Alarm check functionality 

Set 

ACK 

OFF 

Disable the Alarm check functionality 

Set 

ACK 

CLR 

Clear the Alarm 

Set 

ACK 

Read the Alarm check setting 

Read 

ON – if the alarm functionality is enabled 

OFF – if alarm functionality is disabled 

Table 21: 

ALARM command 

 

 
The  command  “ALARM:ULIM:

current_threshold

\

r

”  sets  the  upper  alarm 

threshold,  and  the  “ALARM:LLIM:

current_threshold

\

r

”  sets  the  lower  alarm 

threshold,  where 

current_threshold 

is  the  upper  or  lower  limit  expressed  in  Ampere 

[A]. If the parameter is correctly elaborated the CT-BOX replies with an acknowledge 
(“ACK

\r\n

”). 

The commands used to read the threshold limits are: “ALARM:ULIM:?

\

r

” for 

the upper limit and “ALARM:LLIM:?

\

r

” for the lower limit. Both command generate 

the reply in the following form: “

current_threshold

 \r\n

”, where 

current_threshold 

is 

the upper or lower limit expressed in Ampere [A]. 

Содержание CT-BOX

Страница 1: ...1 CT BOX Digital Current Measurement Calibration System DC Current Transducers User s Manual All Rights Reserved CAEN ELS s r l Rev 1 4 March 2018 PRECISION CURRENT TRANSDUCERS...

Страница 2: ...CAEN ELS s r l c o AREA Science Park S S 14 km 163 5 34149 Basovizza TS Italy Mail info caenels com Web www caenels com...

Страница 3: ...ATION 18 2 SOFTWARE COMMANDS 19 2 1 COMMAND SYNTAX 19 2 1 1 Data Representation 22 2 2 BASIC COMMANDS 26 2 2 1 MODE Command 26 2 2 2 GET Command 28 2 2 3 GETT Command 29 2 2 4 ACQ Command 30 2 2 5 PRI...

Страница 4: ...NTERFACE 58 3 2 USB INTERFACE 59 3 2 1 Firmware Upgrade 60 3 3 POWER CONNECTOR 62 3 4 I O CONNECTOR 63 3 4 1 External Temperature Sensor 64 3 5 DCCT CONNECTOR 65 3 6 ANALOG OUTPUT 65 3 7 SD CARD SOCKE...

Страница 5: ...015 Draft release 1 0 January 28th 2016 First Release 1 1 December 23rd 2016 Address Changed 1 2 February 8th 2017 New technical specifications added as from recent tests 1 3 December 10th 2017 New fe...

Страница 6: ...ny part of the instrument WARNING Do NOT open the boxes CAEN ELS s r l declines all responsibility for damages or injuries caused by an improper use of the Device due to negligence on behalf of the Us...

Страница 7: ...ged Before you use the device inspect the instrument for possible cracks or breaks before each use Do not operate the device around explosives gas vapor or dust Always use the device with the cables p...

Страница 8: ...nvironmental requirements for a correct operation of the instrument Environmental Conditions Requirements Operating Temperature 10 C to 40 C Operating Humidity 30 to 85 RH non condensing Storage Tempe...

Страница 9: ...order to have temperature dependence lower than 1 ppm K The digital section interfaced to the ADC performs a calibrated measurement in order to drastically reduce the non ideal behavior thus providing...

Страница 10: ...nd communication connectors are placed on the front side of the CT BOX unit The power button is used to switch on or switch off the device This switch does not fully disconnect the device from the mai...

Страница 11: ...tes that the unit is acquiring and elaborating the measured data Table 1 Front LED description All the communication connectors are present on the front panel On the rear side of the unit are placed t...

Страница 12: ...2 Communication Interfaces CT BOX 300 WCTBOX300XAA 300A Current Transducer Digital Box with Local Display and Ethernet USB RS 232 Communication Interfaces CT BOX 400 WCTBOX400XAA 400A Current Transduc...

Страница 13: ...ordering code for the additional mounting bracket is the following Product Code Ordering Code Description CT BOX MB WCTBOXMBXAAA CT BOX Mounting Brackets for 1U 19 cabinet installation Table 3 CT BOX...

Страница 14: ...ese simple steps 1 4 1 Package Content The CT BOX bundle is composed of six different items Please check that all the listed elements are present upon receipt of the package Manuals FAT Report User s...

Страница 15: ...hey are included in the package at the time of delivery only if included in the order 1 4 2 Connect the CT BOX Please connect the CT BOX central unit to the AC power line with the provided cable i e i...

Страница 16: ...Once the device powers up the display and LEDs should turn on and light up 1 4 4 CT BOX Viewer Installation Install the CT BOX Viewer software included in the User s CD item or download the latest ve...

Страница 17: ...t connection Both of them are described hereafter 1 4 5 1 Ethernet Communication Connect a standard Ethernet cable between an external PC and the CT BOX central unit Figure 8 Ethernet connection Follo...

Страница 18: ...CT BOX User s Manual 16 Follow the instructions and communication setting presented in the section USB Interface hereafter in this document...

Страница 19: ...1 Saved Configuration The CT BOX starts with the last saved configuration that was configured to the device The position of the DIP switch 4 of the rear panel needs to be set as shown hereafter HIGH...

Страница 20: ...al temperature stabilized sections that allow obtaining almost negligible temperature dependence of the measurements Dependence of the measurements from external ambient temperature are kept the best...

Страница 21: ...ut simple RS232 serial interface dg fixed baud rate at 115 200 bps there are some restrictions The CT BOX can be used only in data logger mode when communicating via the RS232 For further information...

Страница 22: ...mmand for more information about the single command please refer to the specific command section There are two specific replies commonly used and indicate if the command has been correctly elaborated...

Страница 23: ...acquisition with a slower sampling rate The current measurements can be read using the communication interface and or can be stored on the connected SD card Optionally it is possible also to read and...

Страница 24: ...ted in binary format The binary representation improves the data rate transmission as it avoids the overhead due to the ASCII format conversion and reduces the amount of sent data Every acquisition at...

Страница 25: ...larm The current is outside the limits 8 Alarm Direction If this bit is high then the current is over the limit if low then it is under the limit Table 5 Status code The third 32 bit number 4 bytes in...

Страница 26: ...lds none one or two The number of additional temperature fields can be selected with the ACQT command Also in this case the values are separated by a space s and every acquisition is terminated with c...

Страница 27: ...CT BOX User s Manual 25 The acquisitions in the Data logger mode have a variable character s length For additional information regarding the optional temperature fields please see the ACQT command...

Страница 28: ...o select the mode of operation are the following MODE OSC r to select the Oscilloscope mode MODE DLOG r to select the Data logger mode The device replies with acknowledge ACK r n when the command is c...

Страница 29: ...CT BOX User s Manual 27 Examples MODE example for Oscilloscope mode set MODE OSC r ACK r n MODE read example MODE r OSC r n...

Страница 30: ...selected mode of operation and the relative sampling period The format of the returned measurement is always expressed in ASCII floating number with 7 decimals numbers in Ampere A with the r n termin...

Страница 31: ...f the external sensor is not connected the value 9999 0 is returned The format of the returned temperatures is always expressed in ASCII floating number with one decimal number in Celsius C with the r...

Страница 32: ...ual ACQ status is ACQ r The reply to the read command is in the following form acquisition_status r n where acquisition_status is ON when the device is acquiring the data and OFF when the acquisition...

Страница 33: ...200073 r n ACQ OFF r ACK r n ACQ ON example in Oscilloscope mode with PRINT enabled afterwards note in this case the first acquisition 0x01 0x10 are not displayed because the PRINT command is enabled...

Страница 34: ...e print_status is ON when the printing is enabled and OFF when the printing is disabled PRINT Command PRINT parameter r Parameter Command description Type of command Return value ON Enable printing on...

Страница 35: ...time interval expressed in s in the interval 10 1 000 000 with incremental step of 10 When the TS command is correctly processed the CT BOX replies with an acknowledge ACK r n The command used to read...

Страница 36: ...TS command is correctly processed the CT BOX replies with an acknowledge ACK r n The command used to read the actual FREQ setting is FREQ r The reply to the read command is in the following form samp...

Страница 37: ...ure 000 the optional temperature readings are disabled 010 External temperature sensor readings enabled 100 DCCT head temperature readings enabled 110 External sensor and DCCT head temperature reading...

Страница 38: ...allows to read the information about the CT BOX firmware version The reply to the VER r command is in following format firmware_release r n where firmware_release indicates the installed CT BOX firmw...

Страница 39: ...led is useful to associate a user defined name the case of a larger installation The command CTBOX NAME r can be used to read the user defined description of the device The reply to this command is in...

Страница 40: ...r can be used to read the model and serial number of the DCCT Head currently connected to the CT BOX Also this command is factory defined and so it is read only The reply to this command is in followi...

Страница 41: ...cale the CT BOX readings by the factor of turns N The factory defined number of turns is 1 no turns applied to the primary conductor The command PTURNS N r sets the number of the turns N applied to th...

Страница 42: ...CT BOX User s Manual 40 PTURNS example to set the number of turns to 3 PTURNS 3 r ACK r n PTURNS read PTURNS r 3 r n...

Страница 43: ...nsation it is necessary to execute the command OFFSET ZERO r when the primary current is equal to 0 no current is flowing through the CT sensor When the command is correctly interpreted the unit repli...

Страница 44: ...ounted Indicates that the SD is mounted See SAVE command for additional information 16 7 Reserved For internal or future use 17 MODE setting Indicates the status of the MODE setting 0 Oscilloscope 1 D...

Страница 45: ...or future use 9 DCCT head error Indicates that the DCCT head is not connected or is not working properly 10 16 Reserved For internal or future use 17 Buffer overflow error A buffer overflow occurred T...

Страница 46: ...register Read ASCII representation of the internal Error register value Table 20 ERR command Examples Error register read example for example the value 0x10001 indicates that there was an SD mount er...

Страница 47: ...hed in the Status register It stays set also when the alarm condition is removed The command ALARM CLR r clears the Alarm condition and so also the Alarm flag bi in the Status register ALARM Command A...

Страница 48: ...led ACQ ON setting When the acquired current is outside the configured range the alarm condition is set In this condition the D SUB Alarm line is driven high and the magnetic relay is switched so the...

Страница 49: ...CT BOX User s Manual 47 Examples ALARM checking enabling example ALARM ON r ACK r n ALARM Upper Threshold limit set to 100A example ALARM ULIM 100 r ACK r n ALARM ULIM r 100 r n...

Страница 50: ...ster and the Error condition bit is set in the Status register This error does not affect the acquisition To resume the saving the acquisition has to be stopped the fault has to be solved At this poin...

Страница 51: ...LS lists all the files that are on the SD card SD RM removes the selected file from the SD card SD SIZE informs the user about the size of the selected file SD READ reads the content of the selected f...

Страница 52: ...Command SD parameter1 parameter2 r Parameter 1 Parameter 2 Command description Type of command Return value MOUNT not present Mount SD card Set ACK UNMOUNT not present Unmount SD card Set ACK not pre...

Страница 53: ...rsion In this mode the device does not start immediately the acquisition after the ACQ ON but it waits for a trigger pulse When the device receives a rising edge on the trigger input signal it starts...

Страница 54: ...0x00 0x000002 0x41300000 r n r n The command used to exit from the triggered acquisition mode is TRG OFF r The command used to read the actual trigger setting is TRG r The reply to the read command i...

Страница 55: ...n The new IP address takes effect after CT BOX reset The command used to read the IP address setting is IP r The reply to the read command is in the following form ip_address r n where ip_address is a...

Страница 56: ...ommand description Type of command Return value Reads the actual subnet mask Read Subnet mask Subnet mask Sets new subnet mask Set ACK Table 27 MASK command 2 3 7 GATE Command The default gateway of E...

Страница 57: ...end data to different port PORT Command PORT parameter r Parameter Command description Type of command Return value Reads current port number Read Port port Sets new port number Set ACK Table 29 PORT...

Страница 58: ...econds This setting is used in the Data Logger mode The RTC time can be changed with the TIME time r command where the time stands for ASCII formatted string hours minutes seconds After the successful...

Страница 59: ...used in the Data Logger mode The RTC can be changed with the DATE date r command where the date stands for ASCII formatted string day month year After the successful date change the CT BOX replies wi...

Страница 60: ...scope mode acquisition is not allowed with the serial communication interface 3 1 Ethernet Interface The device is shipped with default IP address subnet mask and gateway and TCP IP communication port...

Страница 61: ...gram Files x86 STMicroelectronics Software Virtual comport driver and go to your OS version directory Win 7 or Win 8 and then double click on dpinst_x86 exe for a 32 bits OS version dpinst_amd64 exe f...

Страница 62: ...nstallation prepare the CT BOX for the firmware update following the subsequent steps Switch OFF the CT BOX unit using the main switch present on the front panel of the device Set the SWITCH 1 on the...

Страница 63: ...uSe Demonstration Under Upgrade or Verify Action Figure 19 click on Choose and select the new firmware file dfu to download into the CT BOX Figure 19 DfuSe Upgrade setup Check the boxes Verify after d...

Страница 64: ...se Switch ON the CT BOX Now the CT BOX is updated with the just installed firmware 3 3 Power Connector The input power connector is a standard IEC 60320 1 C14 The input voltage is extended so can be u...

Страница 65: ...re Sensor 2 TSENS GND Ground reference for Temperature Sensor 3 Do Not Connect Internal Use 4 Trigger Out 5 V TTL Trigger Out signal 5 GND Ground reference 6 Relay NC Normally Closed Contact of Magnet...

Страница 66: ...panel 3 4 1 External Temperature Sensor The CT BOX can read the temperature of the DCCT head with a sensor that is integrated into the 0 FLUCS current sensor Data are transmitted on the DE 9 to DE 9...

Страница 67: ...ut range is rated at 10 V the output voltage is scaled depending on the DCCT primary measured current with a Full Scale measured current corresponding to a 10V output on this monitor The monitor is di...

Страница 68: ...nt impedance higher than 500 k 3 7 SD Card Socket The SD Card slot on the rear side of the unit can host a Micro SD Card with the following characteristics Parameter Value Supported Class 4 6 10 and U...

Страница 69: ...0 kHz Thermal Coefficient 1 ppm K Local Current Display 7 digits LED Indicators Power OK DCCT Head OK Status SD Card R W Acquisition running Digital Interfaces Ethernet 10 100 TCP IP USB 2 0 RS 232 An...

Страница 70: ...depends over the averaging performed by the device this affecting the ENOB Effective Number Of Bits In the following graph the CT BOX noise characteristic and the equivalent ENOB are represented Figu...

Страница 71: ...CT BOX User s Manual 69 5 Mechanical Dimensions The mechanical dimensions of the CT BOX unit including connectors are hereafter presented Figure 27 CT BOX mechanical dimensions...

Страница 72: ...CT BOX User s Manual 70 Figure 28 CT BOX with Mounting Brackets...

Страница 73: ...meter is not valid 1 2 VER Command is not allowed during the acquisition mode 2 1 MODE Parameter is not valid 2 2 MODE Command is not allowed during the acquisition mode 3 1 ACQ Parameter is not valid...

Страница 74: ...during the acquisition mode 15 1 DATA Parameter is wrong 15 2 DATA Command is not allowed during the acquisition mode 16 1 ACQT Parameter is wrong 16 2 ACQT Command is not allowed during the acquisit...

Страница 75: ...lowed during the acquisition mode 37 1 IP Parameter is wrong 37 2 IP Command is not allowed during the acquisition mode 38 1 GATE Parameter is wrong 38 2 GATE Command is not allowed during the acquisi...

Отзывы: