Home
NOVA technical note 12 - Remote control of external devices
Contents
1. NOVA technical note 12 16 Commands Parameters New procedure Remarks zzi End status Autolab maj Signal sampler Time WEJ Current m G ptions Mo Options maj E External device initialize Fikusul electronic load AS232 Device name Kikusul electronic load Device type Ra2de c settings i entries maj E External device send Fikusul electronic load INF Device name Kikusul electronic load w Command Gl External device recernwe Fikusul electronic load 0 Device name Kikusul electronic load Command Ut Ul cl Message box Tithe of box Load status Message External device close Fikusul electronic load Device name Kikusul electronic load lt gt Figure 20 Using the INP Query Note the Message box command can be used to display the load switch status of the electronic load Conclusion Using the commands located in the External devices group it is possible to setup remote control of commonly used external devices like electronic loads programmable power supplies water bath thermostats etc The RS232 communication protocol is straightforward to setup and provides a convenient way to set specific instrument parameters during a Nova measurement Tip debugging of the R8232 communication can be done quickly using the Hyperterminal software installed with Windows see Figure 21 Tip 2 do not forget that it is possible to save new commands in the My Commands group NOVA technical note 12 17 i LOAD
2. HyperTerminal File Edit View Call Transfer Help IDN IKIKUSUI PLZ164WA LL0O04093 1 20 j N CURR RANG HIGH N TNP ON al CURR RANG NHIGH aj II Connected 0 01 25 Auto detect 19700 B N 1 Figure 21 The Hyperterminal application can be used to troubleshoot the RS232 communication protocol
3. Kikusul electronic load Command ANE EE E External device close Fikusul electronic load Device name Kikusul electronic load lt gt Figure 10 Setting the load to Constant Current CC mode Current range Three current ranges are available on the Kikusui electronic load The active Current range can be set by sending the following commands through the External device send command e Low current range 330 mA CURR RANG LOW e Medium current range 3 3 A CURR RANG MED e High current range 83 A CURR RANG HIGH For example setting up the External device send command as shown in Figure 11 activates the high current range on the electronic load NOVA technical note 12 9 Commands Parameters New procedure Remarks aaa End status Autolab maj Signal sampler Time WE Current ma Lotions Mo Options ma E External device initialize Fikusul electronic load Ro2s Device name Kikusul electronic load Device type Parie E settings i entries maj E External device send Fikusul electronic load CURE RAN Device name Kikusul electronic load Command CURR RANG HIGH a Sl External device close Kikusul electronic load Device name Kikusul electronic load lt gt Figure 11 Setting the load to High current range Voltage range Two voltage ranges are available on the Kikusui electronic load The active voltage range can be set by sending the following commands through the External device send command e Low voltage
4. range 15 V VOLT RANG LOW e High voltage range 150 V VOLT RANG HIGH For example setting up the External device send command as shown in Figure 12 activates the high voltage range on the electronic load Commands Parameters New procedure Remarks wes End status Autolab maj Signal sampler Time WEJ Current ma ptions Mo Options maj E External device initialize Fikusul electronic load Rs23 Device name Kikusul electronic load Device type R5232 Ea settings i entries maj E External device send Fikusul electronic load YOLT RAM Device name Kikusul electronic load Command VOLT RANG HIGH Dis Sl External device close Kikusul electronic load Device name Kikusul electronic load lt gt Figure 12 Setting the load to High voltage range NOVA technical note 12 10 Load switch The electronic load can be switched on or off remotely by sending the following commands through the External device send command e Load On INP ON e Load Off INP OFF For example setting up the External device send command as shown in Figure 13 switches the electronic load ON Lommands Parameters New procedure Remarks zx End status Autolab maj Signal sampler Time WE Current m otians Mo Options ma E External device initialize Fikusul electronic load RS23 Device name Kikusul electronic load Device type Rodz E settings i entries maj E External device send Fikusul electronic load INF OM Device name Kikusul electronic l
5. NOVA technical note 12 RS232 control of external devices Case study how to use RS232 communication to control external devices One of the FAQ from NOVA users is have a Kikusul PLZ164WA electronic load connected to the Autolab PGSTAT Is it possible to control the settings of the load remotely RS232 control The RS232 standard describes a communication method where information is sent bit by bit on a physical channel Although the protocol itself is quite old it is still present on scientific instrumentation Since NOVA supports the RS232 communication it is possible to use this protocol to integrate the control of external devices in the NOVA procedure Four dedicated commands are available in the Measurement External devices group of the command browser see Figure 1 Control H Metrohm devices H External devices gt External device initialize 7 External device send External device recelve L External device clase a Measurement general H Measurement cyclic and linear sweep voltammetry H Measurement voltammetric analysis H Measurement chrono methods a Measurement impedance a Data handling H Analysis general H Analysis baseline correction H Analysis corrosion a Analysis impedance H Flots general H Flots impedance 5 My commands Figure 1 The four commands used in RS232 communication in NOVA are located in the External devices group of commands This technical note illust
6. Refer to the user manual of the external device for specific information on the communication setup and the commands involved in the control of the device A USB to serial adapter can also be used 3 This cable can be purchased in a computer store or online www farnell com tto Awww kikusui co jp kiku_manuals P PLZ_4W_E8 W_NOTES PDF NOVA technical note 12 3 10 EXT CONT 4 Remote sensing terminal a kakaon 1 DC INPUT Hi LIA 2 a a eee we wwe FS PUT OTe SSS Be ee A WARNING TO AVOID ELECTRIC SHOCK THE POWER CORD PROTECTIVE GROUNDING CONDUCTOR MUST BE CONNECTED TO GROUND DO NOT REMOVE COVERS REFER fa SEAVICING TO QUALIFIED PERSONNEL WH e EXT CONT FSC OFS ASS RRR MSOs AJAA KFOGNORS PPA IC MLC OPAC ABROAD SRMICMOALTALUFEGA SH1AH1 T L4 SR1 AL1 PPO DC1 DT1 CO E1 AC INPUT 100 240V 47 63Hz 80VA MAX 2 Air outlet 6 GPIB 7 RS 232C Figure 2 Connect the null modem cable to the RS232C connector on the back plane of the Kikusui electronic load switch the electronic load ON and open the Menu by pressing the SHIFT and the MENU key at the same time on the front panel of the load see Figure 3 LOAD ENTER MENU SHIFT Figure 3 Press the SHIFT key and the MENU key on the front panel of the load to open the configuration menu Using the Arrow keys on the front panel of the load navigate to the Con
7. electronic load 0 kikusui electronic load 0 Kikusul electronic load Kikusul electronic load Figure 14 Example of a External device receive command following a query sent to the load using the External device send command In order to display the response of the electronic load to the user it is possible to add a Message box command in the procedure as shown in Figure 15 Commands Parameters New procedure Remarks i End status Autolab EA oignal sampler Time vWE 1 Current c G ptions Mo Options T E External device initialize Fikusul electronic load RS23 Device name Kikusul electronic load Device type Rodded a settings i entries ca E External device send Device name Command G External device receive Device name Command Message box Title of box External device close Device name lt gt Figure 15 Displaying the answer to the query in a message box Fikusul electronic load IDM Kikusul electronic load IDI Kikusui electronic load 0 Kikusul electronic load Ut kikusui load IDF Kikusul electronic load Kikusul electronic load NOVA technical note 12 12 When this procedure is executed the instrument identification number will be displayed in the message box see Figure 16 Kikusui load instrument IDF IKIKUSULPL2164WA LL004093 1 20 Figure 16 The Instrument ID obtained from the instrument through the External device receive command is dis
8. figuration sub menu Press the ENTER key on the front panel to open the sub menu In the configuration sub menu open the Interface menu see Figure 4 NOVA technical note 12 4 1 Master Slave 2 Power On 3 ME 4 External PREV Figure 4 Open the Configuration Interface menu by using the Arrow and the ENTER keys on the front panel of the load In the interface menu rotate the rotary knob on the front panel of the load to set the Control parameter to RS232C Set the other parameters to the following values e Baudrate 19200bps e Data Stop 8 2 only the number of stop bits can be defined the data format is fixed to 8 bits e Parity NONE this parameter is fixed e Ack OFF Press the SHIFT and the MENU keys on the front panel to close the Menu Switch off the load and switch it on again in order to validate the new settings NOVA setup In the procedure setup the commands required to control the electronic load can now be added to the procedure Before the instrument can be controlled the communication must be initialized Locate the External device initialize command in the External devices group of commands and add it to the procedure editor See Figure 5 NOVA technical note 12 5 Lommands Parameters New procedure Remarks aa End status Autolab oignal sampler Time WWE 1 Current c G ptions Mo Options a External device initialize RS232 Device name Device type Rodde c settings r e
9. lay the operation mode of the load Current range It is possible to identify the active current range of the electronic load by using the following query in the External device send command e CURR RANG The reply from the instrument can be obtained from the External device receive command see Figure 18 The response will be e HIGH when the high current range is active 33 A e MED when the medium current range is active 3 3 A LOW when the low current range is active 330 mA NOVA technical note 12 14 Commands Parameters New procedure Remarks aan End status Autolab maj Signal sampler Time WEJ Current ma ptions Mo Options maj E External device initialize Fikusul electronic load RS23 Device name Kikusul electronic load Device type Parie al settings i entries maj E External device send Fikusul electronic load CURACRAN Device name Kikusul electronic load Command CLURA RANG Gl External device recenwe Fikusul electronic load 0 Device name Kikusul electronic load Command Ut Ul cl Message box Tithe of box Active current ranqe Message Sl External device close Kikusul electronic load Device name Kikusul electronic load gt Figure 18 Using the CURR RANG query Note the Message box command can be used to display the active current range of the load Voltage range It is possible to identify the active voltage range of the electronic load by using the following query i
10. n the External device send command e VOLT RANG The reply from the instrument can be obtained from the External device receive command see Figure 19 The response will be e HIGH when the high voltage range is active 150 V e LOW when the low voltage range is active 15 V NOVA technical note 12 15 Commands Farameters New procedure Remarks am End status Autolab maj Signal sampler Time WE Current m G ptions Mo Options maj E External device initialize Fikusul electronic load RS23 Device name Kikusul electronic load Device type Rodz c settings i entries maj E External device send Fikusul electronic load YOLT RAM Device name Kikusul electronic load Command YOLTRAMG Gl External device recerne Fikusul electronic load 0 Device name Kikusul electronic load Command Ut Ul Sl Message box Tithe of box Active voltage range Message External device close Kikusul electronic load Device name Kikusul electronic load lt gt Figure 19 Using the VOLT RANG query Note the Message box command can be used to display the active voltage range of the load Load switch It is possible to identify the status of the load switch of the electronic load by using the following query in the External device send command e INP The reply from the instrument can be obtained from the External device receive command see Figure 20 The response will be e 1 when the load is ON e 0 when the load is OFF
11. ntries z Saute Figure 5 Adding the External device initialize to the procedure editor set the Device name parameter to Kikusu electronic load tor example and click the amp J button next to the Settings parameter in the procedure editor to open the configuration table for this command see Figure 6 Lommands Parameters New procedure Remarks aa End status Autolab aa signal sampler Time WWE 1 Current otions Mo Options T E External device initialize Fikusul electronic load AS232 Device name kikusui electronic load Device type Raza Figure 6 Opening the settings table for the External device initialize command A new window will be displayed see Figure 7 In this interface the settings of the RS232 communication for the external device can be defined NOVA technical note 12 6 Quick watch Froperies Text E Misc BaudRate DataBits Handshake NewLine Parity FortName otopbits BaudRate Coy eae Figure 7 The settings of the connection can be defined in the dedicated window In this example set the parameters to the following values the parameters should match the settings defined on the load in the previous section BaudRate 19200 DataBits 8 Handshake None NewLine n Parity None PortName COM1 StopBits Two Click the OK button to validate the settings Note make sure that the External device close command is used at the end of the procedure before starting the p
12. oad Command INF ON E External device close Kikusul electronic load Device name Kikusul electronic load lt gt Figure 13 Switching the electronic load ON Receiving instructions from the electronic load The External device receive command can be used to receive an instruction back from the external electronic load The reply from the load is triggered by a query sent by the External device send command For this reason the External device receive command must be located after an External device send command in the procedure editor as shown in Figure 14 In this example the External device send command sends the instruction IDN to the electronic load This instruction is used to request the load to send back the instrument identification The response of the load is received by Nova through the External device receive command and the string returned by the load is stored in the parameter O NOVA technical note 12 11 Commands Farameters New procedure Remarks aa End status Autolab oignal sampler Time vWE 1 Current c ptions Mo Options sal Sl External device initialize Fikusul electronic load RS23 Device name kikusui electronic load Device type Rodded a settings i entries ca External device send Device name Command B External device receive Device name Command Uy fl External device close Device name lt gt Fikusul electronic load IDM Kikusul electronic load ILD Fikusul
13. played in the message box A number of query instructions can be sent to the electronic load through the External device receive command For a complete overview of these commands please refer to the electronic load user manual In this technical note a few examples will be used Mode of operation It is possible to verify the mode of operation of the electronic load by using the following query in the External device send command e FUNC The reply from the instrument can be obtained from the External device receive command see Figure 17 The response will be e CV when the instrument is in Constant Voltage mode e CC when the instrument is in Constant Current mode NOVA technical note 12 13 Commands Parameters New procedure Remarks am End status Autolab mj Signal sampler Time WEJ Current m otions Mo Options maj E External device initialize Fikusul electronic load Ro23 Device name Kikusul electronic load Device type Rodz c settings i entries maj E External device send Fikusul electronic load FUNC Device name Kikusul electronic load Command FUNC Gl External device recernwe Fikusul electronic load 04 Device name Kikusul electronic load Command Ut Ul fl Message box Tithe of box peration mode Messaqe Sl External device close Fikusul electronic load Device name Kikusul electronic load gt Figure 17 Using the FUNC query Note the Message box command can be used to disp
14. rates how to set up the RS232 control of the Kikusul PLZ164 or PLZ164WA electronic load in order to use this device in combination with the Autolab PGSTAT for energy storage devices characterization The information provided in this technical note can however be used for other electronic loads or other devices using the correct communication protocol NOVA technical note 12 2 Requirements The following items are required for this technical note e A Kikusui electronic load the examples shown in this technical note apply to the following models PLZ164 and PLZ164WA e Serial port the host computer must have a serial port COM port available e Null modem cable a so called null modem cable is required for the control of the Kikusui electronic load Important note this technical note assumes that the reader is familiar with the Kikusui PLZ164 or PLZ164WA electronic load If this is not the case the reader is invited to consult the user manual of the Kikusui electronic load The PLZ164 and the PLZ164WA have the following specifications in terms of current and voltage ranges e Current ranges 330 mA LOW 3 3 A MED and 33 A HIGH e Voltage ranges 15 V LOW and 150 V HIGH Hardware setup Connect the cable to the serial port of the host computer and to the matching RS232C connector located on the back plane of the Kikusui electronic load see Figure 2 1 Other devices can be controlled through a similar protocol
15. rocedure Each initialized connection must be closed using the corresponding External device close command see Figure 8 gt The actual port name depends on the host computer configuration Check the port number in the device manager of the computer Control panel System Device Manager NOVA technical note 12 T Commangds Farameters New procedure Remarks aa End status Autolab maj Signal sampler Time WWE Current ma otions Mo Options maj E External device initialize Fikusul electronic load RS23 Device name Kikusul electronic load Device type Rodz c settings entries maj E External device close Kikusu electronic load Device name Kikusul electronic load 4 Figure 8 Always close the connection to the external device at the end of the procedure using the External device close command Sending instructions to the electronic load The External device send command can be used to send an instruction to the external electronic load To use this command it must be added to the procedure editor see Figure 9 Commands Parameters New procedure Remarks maj End status Autolab maj Signal sampler Time WE Current m Gptions Mo Options ma E External device initialize Fikusul electronic load RS23 Device name Kikusul electronic load Device type Rodz E settings i entries maj E External device send Fikusul electronic load Device name Kikusul electronic load Lommand Sl External device close Kikusul elec
16. tronic load Device name Kikusul electronic load lt gt Figure 9 Adding the External device send command to the procedure Note make sure that the Device name in the External device send command is the same as in the External device initialize command The Device name parameter can be linked as shown in Figure 9 A number of control instructions can be sent to the electronic load For a complete overview of these commands please refer to the electronic load user manual NOVA technical note 12 8 In this technical note a few examples will be used Mode of operation Two modes of operation are commonly used in combination with the Autolab PGSTAT Constant Voltage CV and Constant Current CC The mode of operation of the electronic load can be set by sending the following commands through the External device send command e Constant Voltage mode FUNC CV e Constant Current mode FUNC CC Note command syntax is case sensitive For example setting up the External device send command as shown in Figure 10 will force the electronic load to switch to constant current mode Lommands Parameters New procedure Remarks End status Autolab maj Signal sampler Time WEJ Current ma otions Mo Options maj Sl External device initialize Fikusul electronic load RS23 Device name Kikusul electronic load Device type Foca m settings i entries maj E External device send Fikusul electronic load FUNC Cl Device name
Download Pdf Manuals
Related Search
Related Contents
NAUTEEK SC100 取扱説明書 - タカラスタンダード 通風式温湿度計発信器 MH-120 取扱説明書 iPad User Manual PIANO OPERATIVO DI SICUREZZA Rapport d`évaluation ERC2011-03 - Publications du gouvernement ICサーモヒーター(100W/150W/200W/300W) Copyright © All rights reserved.
Failed to retrieve file