*CLS   ALL

Clears all event registers including the status byte and event status.

Command

*CLS


*ESR   

Queries the event status register. This register is cleared when it is read.

Command

*ESR?

Response

If the event status register is set to 128, 128 is returned in response to *ESR?


*IDN   

Queries the model name and firmware version of the KES4022/KES4022A.

Command

*IDN?

Response

Return the model name and firmware version to *IDN in the following manner.

model name: KES4022, firmware version: 1.00

KIKUSUI,KES4022,,1.00

model name: KES4022A, firmware version: 1.00

KIKUSUI,KES4022A,,1.00

 

 


*RST   ALL

Initializes the KES4022/KES4022A to factory default condition. However, memory contents and baudrate are not initialized.

Command

*RST


*SRE   ALL

Sets the service request enable register.

The service request enable register is used to select the summary messages in the status byte register that will be able to perform service requests.

To clear the service request enable register, send *SRE 0. If the register is cleared, service requests cannot be generated by status information.

Command

*SRE <NR1>

*SRE?

Parameters

Values: 0~255

Response

If the service request enable resister is set to 128, 128 is returned in response to *SRE?


*STB   ALL

Queries the contents of the status byte register and the MSS (master summary status) message.

Command

*STB?

Response

If the status byte resister is set to 128, 128 is returned in response to *STB?


CONF:COUNT  

Sets whether to display the number of discharges using an incrementing or decrementing counter. Set the counter separately for manual operation, IEC test level operation, step operation, and sequence operation.

Command

CONF:COUNT {U|D}

CONF:COUNT?

Parameters

Values: U Incrementing (default)
  D Decrementing

Response

If the discharge counter mode is set to Incrementing, U is returned in response to CONF:COUNT?

 


CONF:DISP   

Sets the display brightness.

Command

CONF:DISP <NR1>

CONF:DISP?

Parameters

Values: 0 to 7 (7 by default)

Response

If the display brightness is set to 7, 7 is returned in response to CONF:DISP?


CONF:GUNTRIG  

Sets the discharge gun trigger switch mode for the case when the trigger is set to the discharge gun. Set the mode separately for manual operations, IEC test level operation, step operation, and sequence operation.

You can also set the mode when the trigger is set to panel (which is set using TRIGGER P), but the set value is invalid.

Command

CONF:GUNTRIG {P|T}

CONF:GUNTRIG?

Parameters

Values: P Push (default)
  T Toggle

Response

If the gun trigger mode is set to Push, P is returned in response to CONF:GUNTRIG?


CONF:VOL1   

Sets the volume of the buzzer that sounds upon the completion of a test.

Command

CONF:VOL1 <NR1>

CONF:VOL1?

Parameters

Values: 0 to 100 (30 by default)

Response

If the volume of the buzzer that sounds upon the completion of a test is set to 10, 10 is returned in response to CONF:VOL1?


CONF:VOL2   

Sets the volume of the buzzer that sounds when an alarm occurs or when an invalid key is pressed.

Command

CONF:VOL2 <NR1>

CONF:VOL2?

Parameters

Values: 0 to 100 (30 by default)

Response

If the volume of the buzzer that sounds when an alarm occurs or when an invalid key is pressed is set to 10, 10 is returned in response to CONF:VOL2?


COUNTSET   

Sets the discharge count.

Command

COUNTSET <NR1>

COUNTSET?

Parameters

Values: 0 Infinity (only valid for manual operation)
  1 to 99 999 (10 by default)

Response

If the discharge count is set to 10, 10 is returned in response to COUNTSET?


DSE   

Sets the device status enable register.

Command

DSE <NR1>

DSE?

Parameters

Values: 0 to 255 (0 by default)

Response

If the device status enable register is 128, 128 is returned in response to DSE?


DSR   

Queries the device status register.

Command

DSR?

Response

If the device status register is 128, 128 is returned in response to DSR?


ERR  

Queries and clears the error register.

Command

ERR?

Response

If the error register is 128, 128 is returned in response to ERR?


HEAD   

Sets whether or not to add a header and a unit of measurement to the readback data.

Command

HEAD {0|1}

HEAD?

Parameters

Values: 0 Do not add a header and a unit of measurement (default)
  1 Add a header and a unit of measurement

Response

If the KES4022/KES4022A is configured not to add a header or a unit of measurement, 0 is returned in response to HEAD?


IEC  

Sets the IEC test level.

If the voltage is changed using VSET after setting the test level using IEC, the setting of IEC is cleared.

Command

IEC {1|2|3|4}

IEC?

Parameters

Values: 1 Level 1
  2 Level 2
  3 Level 3
  4 Level 4

Response

If level 1 is specified, 1 is returned in response to IEC?

If IEC is not specified, ? is returned in response to IEC?


INTERVALSET   ALL

Sets the discharge interval. You can set the interval even if Air Discharge mode or Contact Discharge mode (with the discharge interval set to 20 pulse/s) is selected, but the set value will be discarded.

Command

INTERVALSET <NR2>

INTERVALSET?

Parameters

Values: 0.1 to 99.9 (1.0 by default)
Unit: s

Response

If the discharge interval is set to 10, 10 is returned in response to INTERVALSET?


MEN   ALL

Collectively sets test conditions on the panel or send them to a memory location.

Depending on the type of test, some parameters are invalid. If you specify values in invalid parameters, they will simply be discarded. They will not cause errors.

Command

MEN <OPER_character>,<MEM_NR1>,<STEP_NR1>,<V/STARTV_NR2>,<STOPV_NR2>,<STEPV_NR2>,<COUN_NR1>,<INTERV_NR2>,<POL_character>,<MOD_character>,<TRIG_character>,<POIN_NR1>,<IEC_NR1>,<WAIT_character>,<UPDOWN_NR1>,<GUNTRIG_character>,”<USER_string>”,”<COMM_string>”

MEN? <OPER_character>,<MEM_NR1>,<STEP_NR1>

Parameter <OPER_character> discharge test

Values: MAN Manual operation
  IEC IEC test level operation
  STP Step operation
  SEQ Sequence operation

Parameter <MEM_NR1> memory number

Values: 0 Panel settings
  1 to 20 Memory number

Parameter <STEP_NR1> step number

Values: 1 to 20 Sequence operation
  None Tests other than a sequence operation

Parameter <V/STARTV_NR2> test voltage or starting voltage

Values: 0.00 to 30.50 Test voltage of a manual operation
  0.01 to 30.50 Starting voltage of a step operation or test voltage of a sequence operation
  None IEC test level operation

Parameter <STOPV_NR2> stop voltage, <STEPV_NR2> step voltage

Values: 0.01 to 30.50 Step operation
  None Tests other than a step operation

Parameter <COUN_NR1> discharge count

Values: 0 Infinity (only valid for manual operation)
  1 to 99 999  

Parameter <INTERV_NR2> discharge interval

Values: 0.1 to 99.9 Contact Discharge mode
  None Air Discharge mode, Contact Discharge mode (with the discharge interval set to 20 pulse/s)

Parameter <POL_character> polarity

Values: P Positive
  N Negative
  PN Start with a positive step and switch the polarity for each step
  NP Start with a negative step and switch the polarity for each step
  PANA Test all positive steps and then all negative steps
  NAPA Test all negative steps and then all positive steps
PN, NP, PANA, and NAPA are valid only for a IEC test level operation or a step operation.

Parameter <MOD_character> discharge mode

Values: C Contact Discharge mode
  A Air Discharge mode
  20 Contact Discharge mode (with the discharge interval set to 20 pulse/s)

Parameter <TRIG_character> trigger

Values: P Panel
  G Discharge gun

Parameter <POIN_NR1> discharge point

Values: 1 to 10 Tests other than a manual operation
  None Manual operation

Parameter <IEC_NR1> IEC test level

Values: 1 to 4 IEC test level operation
  1 to 4 and none Manual operation
  None Step operation or sequence operation

Parameter <WAIT_character> wait feature

Values: 0 Disable (tests other than a manual operation)
  1 Enable (tests other than a manual operation)
  None Manual operation, Air Discharge mode

Parameter <UPDOWN_NR1> discharge counter mode

Values: U Incrementing
  D Decrementing

Parameter <GUNTRG_character> gun trigger mode

Values: P Push
  T Toggle

Parameter "<USER_string>" user name

Values: User-defined character string (20 characters)

Parameter "<COMM_string>" comment

Values: User-defined character string (40 characters)

 

(Ex.) Send the following settings to memory 3 for a manual operation: test voltage: 2 kV, discharge count: 10, discharge interval: 1.0 s, polarity: positive, discharge mode: Contact Discharge, trigger: discharge gun, discharge counter mode: Incrementing, gun trigger mode: Push, user name: name, comment: comment

MEN MAN,3,,2.00,,,10,1.0,P,C,G,,,,U,P,"name","comment"

Response

If step 4 in memory 13 of a sequence operation is set to the following conditions: test voltage: 0.5 kV, discharge count: 30, discharge interval: 1.1 s, polarity: negative, discharge mode: Contact Discharge, trigger: discharge gun, discharge point: 1, wait feature: enabled, discharge counter mode: Decrementing, gun trigger mode: Toggle, user name: name, comment: comment. The following is returned in response to MEN? SEQ,13,4.

SEQ,P,13,4,0.5,,,30,1.1,N,C,G,1,,1,D,T,name,comment


MEN:MEMO  

Sets the comment.

Command

MEN:MEMO <OPER_character>,<MEM_NR1>,”<COMM_string>”

MEN:MEMO? <OPER_character>,<MEM_NR1>

Parameter <OPER_character> discharge test

Values: MAN Manual operation
  IEC IEC test level operation
  STP Step operation
  SEQ Sequence operation

Parameter <MEM_NR1> memory number

Values: 0 Panel settings
  1 to 20 Memory number

Parameter "<COMM_string>" comment

Values: User-defined character string (40 characters)

Response

If the comment in memory 1 of a sequence operation is ABC, ABC is returned in response to MEN:MEMO? SEQ,1.


MEN:NAME  ALL

Sets the user name.

Command

MEN:NAME <OPERcharacter>,<MEM_NR1>,”<USER_string>”

MEN:NAME? <OPER_character>,<MEM_NR1>

Parameter <OPER_character> discharge test

Values: MAN Manual operation
  IEC IEC test level operation
  STP Step operation
  SEQ Sequence operation

Parameter <MEM_NR1> memory number

Values: 0 Panel settings
  1 to 20 Memory number

Parameter "<USER_string>" user name

Values: User-defined character string (20 characters)

Response

If the user name in memory 1 of a manual operation is ABC, ABC is returned in response to MEN:NAME? MAN,1.


MODE  

Selects the discharge mode.

Command

MODE {C|A|20}

MODE?

Parameters

Values: C Contact Discharge mode (default)
  A Air Discharge mode
  20 Contact Discharge mode (with the discharge interval set to 20 pulse/s)

Response

If the Contact Discharge mode is selected, C is returned in response to MODE?


OPERATION   ALL

Selects the type of discharge test.

Command

OPERATION {MAN|IEC|STP|SEQ}

OPERATION?

Parameters

Values: MAN Manual operation (single operation)
  IEC IEC test level operation
  STP Step operation
  SEQ Sequence operation

Response

If the manual operation is selected, MAN is returned in response to OPERATION?


POINT   

Sets the discharge point.

Command

POINT <NR1>

POINT?

Parameters

Values: 1 to 10 (1 by default)

Response

If the discharge point is set to 1, 1 is returned in response to POINT?


POLARITY   ALL

Sets the output polarity.

Command

POLARITY {P|N|PN|NP|PANA|NAPA}

POLARITY?

Parameters

Values: P Positive (default value for manual operation and sequence operation)
  N Negative
  PN

Start with a positive step and switch the polarity for each step
(default value for IEC test level operation and step operation)

  NP Start with a negative step and switch the polarity for each step
  PANA Test all positive steps and then all negative steps
  NAPA Test all negative steps and then all positive steps
PN, NP, PANA, and NAPA are valid only for the IEC test level operation or the step operation

Response

If the output polarity is set to positive, P is returned in response to POLARITY?


RECALL   ALL

Recalls memory contents to the panel. Send RECALL after selecting the type of discharge test that you want to recall the setting for by using OPERATION.

Command

RECALL <NR1>

Parameters

Values: 1 to 20 Memory number to recall

SEQENCESTEP  

Specifies the step number of a sequence operation. Set the test conditions for a sequence operation after specifying the step number.

Command

SEQUENCESTEP <NR1>

SEQUENCESTEP?

Parameters

Values: 1 to 20 (1 by default)

Response

If step number 10 is specified, 10 is returned in response to SEQUENCESTEP?


SEQUENCESTEPEND  

Sets the ending step number of a sequence operation. If you execute the sequence operation, the test stops at the ending step number.

Command

SEQUENCESTEPEND <ADDRESS_NR1>,<STEP_NR1>

SEQUENCESTEPEND? <ADDRESS_NR1>

Parameter <ADDRESS_NR1> memory number

Values: 0 Panel settings
  1 to 20 Memory number

Parameter <STEP_NR1> step number

Values: 1 to 20 (1 by default)

Response

If the ending step number of memory number 5 is 10, 10 is returned in response to SEQUENCESTEPEND? 5.


SILENT   

Sets whether or not to return acknowledge messages.

Acknowledge messages that are returned are "OK" or "ERROR." To receive acknowledge messages, change the RS232C setting to full duplex.

Command

SILENT {0|1}

SILENT?

Parameters

Values: 0 Returns acknowledge messages
  1 Does not return acknowledge messages (default)

Response

If the KES4022/KES4022A is configured to not return acknowledge messages, 1 is returned in response to SILENT?


STARTV   

Sets the starting voltage.

Command

STARTV <NR2>

STARTV?

Parameters

Values: 0.01 to 30.50
Unit: kV

Response

If the starting voltage is 12.34 kV, 12.34 is returned in response to STARTV?


STEPV   

Sets the step voltage.

Command

STEPV <NR2>

STEPV?

Parameters

Values: 0.01 to 30.50
Unit: kV

Response

If the step voltage is 1.23 kV, 1.23 is returned in response to STEPV?


STOPV   

Sets the stop voltage.

Command

STOPV <NR2>

STOPV?

Parameters

Values: 0.01 to 30.50
Unit: kV

Response

If the stop voltage is 23.45 kV, 23.45 is returned in response to STOPV?


STORE  

Stores the panel settings to a memory location.

Command

STORE <NR1>

Parameters

Values: 1 to 20 Destination memory number

TRIGGER   

Sets the trigger.

Command

TRIGGER {P|G}

TRIGGER?

Parameters

Values: P Panel
  G Discharge gun (default)

Response

If the trigger is set to panel, P is returned in response to TRIGGER?


VSET   MANSEQ

Sets the preset voltage. If you set the voltage with VSET and then change the voltage with IEC, the voltage set by VSET changes to the voltage set by IEC.

Command

VSET <NR2>

VSET?

Parameters

Values: 0.00 to 30.50 Manual operation
  0.01 to 30.50 Sequence operation
Unit: kV  

Response

If the preset voltage is 12.34 kV, 12.34 is returned in response to VSET?


WAIT  IECSEQ

Sets whether to enable or disable the wait feature. You can set the wait feature even when Air Discharge mode is selected (MODE A), but the value will be invalid.

Command

WAIT {1|0}

WAIT?

Parameters

Values: 1 Valid
  0 Disable (default)

Response

If the wait feature is enabled, 1 is returned in response to WAIT?