Instruction Manual for HIOKI models including: SS7012A983-01, 10-03H, SS7012 DC Signal Source, SS7012, DC Signal Source, Signal Source, Source
File Info : application/pdf, 20 Pages, 214.73KB
DocumentDocumentRemote Operation Manual SS7012 DC SIGNAL SOURCE March 2010 Revised edition 1 SS7012A983-01 10-03H i Contents Contents Introduction.................................................................................1 Safety Information ......................................................................1 SS7012 Remote Interface Overview ..........................................2 Connect a USB cable .................................................................3 Setting Remote Interface Parameters ........................................3 Enabling key operation...............................................................3 Commands Summary.................................................................4 Response Messages..................................................................5 Command Message List.............................................................6 Examples of sending commands .............................................12 ii Contents 1 Introduction Introduction This manual details the methods to operate the SS7012 DC Signal Source using communication functions, as well as all the commands used by the SS7012. When the communication function is used, the SS7012 can be manually operated using communication terminal software. Furthermore, application software to automatically control the SS7012 can be run. Safety Information The following symbols in this manual indicate the relative importance of cautions and warnings. Indicates that incorrect operation presents a possibility of injury to the user or damage to the instrument. Indicates advisory items related to performance or correct operation of the instrument. 2 SS7012 Remote Interface Overview SS7012 Remote Interface Overview Figure 1 shows a block diagram of the SS7012 remote interface. SS7012 Central processing unit (CPU) RS-232 compatibility signal Baud rate : 9600bps (fixed) Data bit : 8bit (fixed) Parity : none (fixed) Stop bit : 1 (fixed) Flow control : none (fixed) USB RS-232 conversion device USB signal USB B connector USB cable Personal Computer (PC) Communication terminal software or application software Virtual COM (Virtual RS-232C) port USB RS-232 conversion application USB device driver USB signal USB A connector Operating principle Figure 1: Overview block diagram of the SS7012 remote interface Communication between a personal computer and the SS7012 is virtual RS-232 serial communication. While the USB interface is installed as the transmission route, actual communication uses RS-232. It is necessary to issue RS-232 commands via the virtual COM port. When RS-232 commands are issued to the virtual COM port, commands are sent to the SS7012 in the following order. (For the receipt of data, the order is reversed.) Sending a command (PC internal) Virtual COM port (Communication signal via RS-232) (PC internal) USB RS-232 data conversion USB (SS7012 internal) USB RS-232 conversion device (SS7012 internal) CPU (Communication signal via RS-232) Receiving data 3 Connect a USB cable Connect a USB cable Before connecting the USB cable, install the USB driver on the personal computer. The USB driver is located on the CD that accompanied the SS9000 Communication Package. For installation instructions, please refer to the instruction manual of the SS9000 Communication Package. After installing the USB driver, connect the personal computer and SS7012 as shown in Figure 2. The virtual RS-232 COM port will be automatically assigned to the USB port. Figure 2: Cable connection for Communication Setting Remote Interface Parameters In order to send communications, the serial interface parameters of the SS7012 and personal computer must match. Table 1 shows the settings required for communication. These parameters are fixed. If any other settings are used, communication is not possible. Table 1: Remote Interface Parameters (All fixed values) Item Parameter 1 Baud rate 2 Data bit 3 Parity 4 Stop bit 5 Flow control Fixed settings 9600 8 None 1 None Enabling key operation While the SS7012 is communicating, key operation of the SS7012 cannot be used. (On the LCD of the SS7012, is on.) To enable key operation of the SS7012, push the LOCAL key of the SS7012. goes out. 4 Commands Summary Commands Summary Overview of Command Type and Format All commands can be entered in upper and lowercase. Command Format and Query Format The commands control instrument functions. The following example shows a command and its associated query: Example 1: (Transmission command) (Response 1) (Response 2) CVV 1.0000<CR><LF> OK<CR><LF> CMD ERR<CR><LF> (Set the source voltage value to 1 V.) (When the transmission command was sent normally) (When there is an error in the transmission command) Example 2: (Transmission command) (Response 1) (Response 2) RMV?<CR><LF> 1.0000<CR><LF> CMD ERR<CR><LF> (Query the voltage monitor value) (When there is an error in the transmission command) Query Command The query command ends with a question mark "?". Terminator (delimiter) A terminator is a character, which identifies the end of a command string. A valid terminator consists of two-byte data: <CR> (Carriage Return, ASC(&H0D)) <LF> (Line Feed, ASC(&H0A)) 5 Response Messages Response Messages Return Result After the instrument executes a query command the return of the result will be in the following format: <Result><CR><LF> The format of measurement data will be shown as following: <Measurement Data><CR><LF> The format of monitor data will be shown as following: <Monitor Data><CR><LF> The format of setting command will be shown as following: (Response 1) OK<CR><LF> (When the setting command was pro- cessed normally) (Response 2) CMD ERR<CR><LF> (When there is an error in the transmis- sion command) Data Types Returned message is the ASCII string from the instrument responding to a query. A query is a command followed by a question mark. The following table 2 is explanation for data types. Table 2: Data Types of Responding Message and Parameter Data Type NR1 NR2 ASCII Explanation An integer This numeric representation has an explicit radix point. ASCII string Example 0, 1, 2, 3, etc. +13.234, 400.0, etc. XXXXXXXXXXXX (device ID etc.) When key operation is used with the SS7012 and memory write mode or mem- ory clear mode is enabled, commands are disabled and "CMD ERR<CR><LF>" is returned. Before sending a command, always exit memory write mode or memory clear mode. See: Memory write mode Instruction manual of the SS7012 (p. 53) Memory clear mode Instruction manual of the SS7012 (p. 61) 6 Command Message List Command Message List 1. Sourcing 1-1. Normal source Command FCC FCC? Description Formats Set the source function. The setting value will be 0, the output will be "OFF." d1 (Setting of source function: 0 to 4) 0: CV:2.5V 1: CV:25V 2: CC:25mA 3: TC:0°C 4: TC:RJ [Format] FCC d1 d1: NR1 format [Response] OK or CMD ERR Query the setting of source function. [Format] The contents of responses are the same as the settings. FCC? OUT OUT? [Response] d1: NR1 format Set the output ON or OFF [Format] d1 (Setting of output: 0 to 1) OUT d1 0: OFF d1: NR1 format 1: ON A CMD ERR response is issued in the following situations. [Response] Furthermore, bit2 of the ERR? Query is 1. OK or CMD ERR 1. When all memory is SKIP in recall source mode or scan source mode 2. In the battery low status 3. In TC:RJ function, when no temperature probe is connected or the measurement temperature is outside the -25°C to 80°C range 4. In TC:RJ function, when the thermocouple type is B and the measurement temperature is less than 0 ºC Query the output setting [Format] The contents of responses are the same as the settings. OUT? CVV Set the source voltage value This command is valid only in CV:2.5V or CV:25V. d1 (Source voltage value (in CV:2.5V): unit; V) -2.5000 to 2.5000 d1 (Source voltage value (in CV:25V): unit; V) -25.000 to 25.000 [Response] d1: NR1 format [Format] CVV d1 d1: NR2 format [Response] OK or CMD ERR CVV? Query the source voltage value [Format] This command is valid only in CV:2.5V or CV:25V. CVV? The contents of responses are the same as the settings. [Response] d1: NR2 format or d1: SKIP (ASCII format, when a skip setting in memory source) 7 Command Message List Command CCA CCA? TCC TCC? ROV? Description Formats Set the source current value This command is valid only in CC:25mA. d1 (Source current value: unit; mA) -25.000 to 25.000 [Format] CCA d1 d1: NR2 format [Response] OK or CMD ERR Query the source current value [Format] This command is valid only in CC:25mA. CCA? The contents of responses are the same as the settings. [Response] d1: NR2 format or d1: SKIP (ASCII format, when a skip setting in memory source) Set the source thermoelectromotive force value [Format] This command is valid only in TC:0°C or TC:RJ. TCC d1, d2 d1 (Thermocouple type: K, E, J, T, R, S, B, N) d1: ASCII format K(K thermocouple) temperature range: -174.0 to 1372.0 d2: NR2 format E(E thermocouple) temperature range: -220.0 to 839.0 J(J thermocouple) temperature range: -208.0 to 1108.0 [Response] T(T thermocouple) temperature range: -169.0 to 400.0 OK or CMD ERR R(R thermocouple) temperature range: -50 to 1768 S(S thermocouple) temperature range: -50 to 1768 B(B thermocouple) temperature range: 300 to 1820 N(N thermocouple) temperature range: -113.0 to 1300.0 d2 (Temperature: unit; °C) The temperature value of the above mentioned thermo- couple ranges Query the source thermoelectromotive force value [Format] This command is valid only in TC:0°C or TC:RJ. TCC? The contents of responses are the same as the settings. [Response] d1: ASCII format d2: NR2 format or d1: SKIP (ASCII format, when a skip setting in memory source) Query the overload status d1 (Query of overload status: 0 to 1) 0: Overload not detected 1: Overload detected [Format] ROV? [Response] d1: NR1 format 8 Command Message List 1-2. Output monitor Command MON MON? Description Formats Set the monitor ON or OFF d1 (Setting of monitor: 0 to 1) 0: Monitor OFF 1: Monitor ON [Format] MON d1 d1: NR1 format [Response] OK or CMD ERR Query the setting of monitor [Format] The contents of responses are the same as the settings. MON? RMV? RMC? RMT? Query the current monitor value during output of voltage This command is valid only in CV:2.5V or CV:25V. d1 (Current monitor value: unit; mA) -28.00 to 28.00 Query the voltage monitor value during output of current This command is valid only in CC:25mA. d1 (Voltage monitor value: unit; V) -28.00 to 28.00 Query the temperature monitor value This command is valid only in TC:0°C or TC:RJ. d1 (Temperature monitor value (in TC:RJ): unit; °C) -25.0 to 80.0 d1 (Temperature monitor value (in TC:0°C): unit; °C) 0.0 [Response] d1: NR1 format [Format] RMV? [Response] d1: NR2 format or CMD ERR: When the input is out of the measurement range. [Format] RMC? [Response] d1: NR2 format or CMD ERR: When the input is out of the measurement range. [Format] RMT? [Response] d1: NR2 format or CMD ERR: When the input is out of the measurement range. 9 Command Message List 1-3. Memory source Command MMD MMD? Description Formats Set the source mode. d1 (Setting of source mode: 0 to 2) 0: Normal source mode 1: Recall source mode 2: Scan source mode [Format] MMD d1 d1: NR1 format [Response] OK or CMD ERR Query the setting of source mode. [Format] The contents of responses are the same as the settings. MMD? MEM MEM? MRM [Response] d1: NR1 format Saving setting value to memory [Format 1] (Refer to the caution on p.11) MEM d1, d2, d3 Set the source function to store the setting value ahead of d1: NR1 format time. d2: NR2 format This command is valid only in normal source mode. d3: ASCII format d1 (Address) 01 to 20 [Format 2] d2 (Source voltage value (in CV:2.5V): unit; V) -2.5000 to 2.5000 d2 (Source voltage value (in CV:25V): unit; V) -25.000 to 25.000 MEM d1, d2 d1: NR1 format d2: NR2 format d2 (Source current value (in CC:25mA): unit; mA) [Format 3] -25.000 to 25.000 MEM d1, SKIP d2 (Source temperature value (in TC:0°C or TC:RJ): unit; °C) The temperature values for the following thermocouples * A SKIP string can be set for d2 [Response] d3 (Thermocouple type: K, E, J, T, R, S, B, N) OK or CMD ERR K (K thermocouple) temperature range: -174.0 to 1372.0 E (E thermocouple) temperature range: -220.0 to 839.0 J (J thermocouple) temperature range: -208.0 to 1108.0 T (T thermocouple) temperature range: -169.0 to 400.0 R (R thermocouple) temperature range: -50 to 1768 S (S thermocouple) temperature range: -50 to 1768 B (B thermocouple) temperature range: 300 to 1820 N (N thermocouple) temperature range: -113.0 to 1300.0 Query setting values saved to memory [Format] d1 (Source voltage value (in CV:2.5V): unit; V) MEM? d1 -2.5000 to 2.5000 d1: Address (NR1 format) d1 (Source voltage value (in CV:25V): unit; V) -25.000 to 25.000 [Response] d1 (Source current value (in CC:25mA): unit; mA) d1: Source value (NR2 format) -25.000 to 25.000 d2: Thermocouple type d1 (Source temperature value (in TC:0°C or TC:RJ): unit; °C) (ASCII format, in TC:0°C or Temperature value corresponding to each thermocouple TC:RJ) d2 (Thermocouple type (in TC:0°C or TC:RJ)) K, E, J, T, R, S, B, N Initialize setting values saved to memory (Refer to the caution on p.11) This command is valid only in normal source mode. d1 (Source function: 0 to 4) 0: CV:2.5V 1: CV:25V 2: CC:25mA 3: TC:0°C, TC:RJ 4: ALL [Format] MRM d1 d1: NR1 format [Response] OK or CMD ERR 10 Command Message List Command RCL SCN SCN? Description Formats Set the address for recall sourcing This command is valid only in recall source mode. d1 (Address: 01 to 20) [Format] RCL d1 d1: NR1 format [Response] OK or CMD ERR Set the start address for sourcing and sourcing time interval [Format] for scan sourcing (Refer to the caution on p.11) SCN d1, d2 This command is valid only in scan source mode. d1: NR1 format d1 (Start address for sourcing) d2: NR1 format 01 to 20 [Response] d2 (Sourcing time interval: unit; sec.) OK or CMD ERR 01 to 99 Query the scan sourcing [Format] The contents of responses are the same as the settings. SCN? [Response] d1: Address (NR1 format) d2: Sourcing time interval (NR1 format) 2. Measurement Command Description Formats FCM Set the measure function. d1 (Setting of measure function: 0 to 4) 0: OFF 1: V:2.5V 2: V:25V 3: A:25mA 4: TEMP [Format] FCM d1 d1: NR1 format [Response] OK or CMD ERR FCM? Query the setting of measure function. [Format] The contents of responses are the same as the settings. FCM? RDV? RDC? RDT? ADJ [Response] d1: NR1 format Query the measured voltage value This command is valid only in V:2.5V or V:25V. d1 (Measured voltage value (in V:2.5V): unit; V) -2.8000 to 2.8000 d1 (Measured voltage value (in V:25V): unit; V) -28.000 to 28.000 [Format] RDV? [Response] d1: NR2 format or CMD ERR: When the input is out of the measurement range. Query the measured current value This command is valid only in A:25mA. d1 (Measured current value: unit; mA) -28.000 to 28.000 [Format] RDC? [Response] d1: NR2 format or CMD ERR: When the input is out of the measurement range. Query the measured temperature value This command is valid only in TEMP. d1 (Measured temperature value: unit; °C) -25.0 to 80.0 [Format] RDT? [Response] d1: NR2 format or CMD ERR: When the input is out of the measurement range. Zero adjustment [Format] Zero adjust the current measurement value. ADJ This command is valid when the measurement value is [Response] within ±100 counts in V:2.5V, V:25V or A:25mA. OK or CMD ERR 11 Command Message List 3. Others Command RBT? RRJ? ERR? *IDN? Description Formats Query the battery low status d1 (Query of battery low status: 0 to 1) 0: Battery low status not detected 1: Battery low status detected [Format] RBT? [Response] d1: NR1 format Query the temperature probe connection status [Format] This command is valid only in TC:RJ sourcing or tempera- RRJ? ture measurement. d1 (Query of temperature probe status: 0 to 1) [Response] 0: Temperature probe not connected, the input tempera- d1: NR1 format ture is outside the measurement range (of -25°C to 80°C). 1: Temperature probe connected Query the error register. d1 (error register query: 0 to 255) bit7: unused bit6: MLE Message length error bit5: HDE Message header error bit4: DFE Data notation error bit3: DRE Data range error bit2: CNE Command not enforceable bit1: ISE Internal signal error bit0: BDE Environment data corrupted [Format] ERR? [Response] d1: NR1 format Query the Device ID. d1: Query the Device ID. Manufacturer's name, Model name, Software version (Response example) HIOKI,SS7012, Ver 1.01 [Format] *IDN? [Response] d1: ASCII format Do not turn off the power switch of SS7012 while executing MEM, MRM or SCN command. Do not execute these commands while Battery low warning indicator flashing. These may damage SS7012 and cause the internal error. 12 Examples of sending commands Examples of sending commands 1. Sourcing 1-1. Normal sourcing When sourcing 4 mA Command FCC 2<CR><LF> CCA 4<CR><LF> OUT 1<CR><LF> OUT 0<CR><LF> Description Sets [CC:25mA]. Sets the setting value to 4 mA. Sets output to ON. Sets output to OFF. 1-2. Output monitor When monitoring the output current while sourcing 24 V. Command FCC 1<CR><LF> Sets [CV:25V]. Description CVV 24<CR><LF> Sets the setting value to 24 V. OUT 1<CR><LF> Sets output to ON. MON 1<CR><LF> Switches monitor on. RMV?<CR><LF> Query the output current. MON 0<CR><LF> Switches monitor off. OUT 0<CR><LF> Sets output to OFF. 1-3. Memory sourcing When sourcing the setting value in address 01 with recall sourcing in the current source function. Command Description FCC 2<CR><LF> Sets [CC:25mA]. MMD 1<CR><LF> Sets recall source mode. RCL 1<CR><LF> Sets the address to 1. OUT 1<CR><LF> Sets output to ON. OUT 0<CR><LF> Sets output to OFF. 2. Measurement When performing voltage measurement at [V:25V] Command Description FCM 2<CR><LF> ADJ<CR><LF> RDV?<CR><LF> Sets [V:25V]. Execute the zero adjustment. Short out the ends of the test leads. Query the measured voltage value. MEMO www.hioki.com/ hioki@hioki.euAcrobat Distiller 9.0.0 (Windows)