background image

68

────────────────────────────────────────────────────

7.6 Initialization Items

────────────────────────────────────────────────────

Initialization method

Item

Powering

on

*RST

command

*CLS

command

RS-232C communication
conditions

Device specific functions
(ranges etc.) *1

Output queue

Input buffer

Event registers

*

2

Current path

Headers on/off

Measurement resister

7.6 Initialization Items

The following table shows which items are initialized and which not, under
various conditions.

*1:

When the power is turned on, item is discriminated.

*2:

Except the PON bit (bit 7)

Summary of Contents for 9593-02

Page 1: ...9593 02 Instruction Manual RS 232C INTERFACE EN Oct 2018 Revised edition 4 9593A985 04 18 10H For 3157 AC GROUNDING HiTESTER...

Page 2: ......

Page 3: ...Connection to the Printer 13 4 1 9442 PRINTER 13 4 2 Setting the 9442 PRINTER Communication Conditions 14 4 3 Connecting the Printer 15 Chapter 5 Connection to the 3155 17 Chapter 6 Operation 19 6 1 S...

Page 4: ...Explanations 32 7 3 Particular Commands 33 7 4 Commands Specific to the 3157 35 7 5 Response Format for Queries as Numerical Value 67 7 6 Initialization Items 68 Chapter 8 Sample Programs 69 8 1 Samp...

Page 5: ...you for purchasing this HIOKI 9593 02 RS 232C INTERFACE To get the maximum performance from the unit please read this manual first and keep this at hand This Instruction Manual provides information a...

Page 6: ...ii Introduction...

Page 7: ...nal Appearance and Accessories When the unit is delivered check and make sure that it has not been damaged in transit If the unit is damaged or fails to operate according to the specifications contact...

Page 8: ...ng the unit preferably use the original packing If this is not available use the following procedure 1 Wrap the unit in plastic sheeting 2 After wrapping cushioning material around the unit pack it in...

Page 9: ...o the new ones 2 Always be sure to secure the RS 232C cable to the 9593 02 unit by tightening up the fixing screws provided 3 Program messages sent just after the power has been turned on are executed...

Page 10: ...opening of the removed unit CAUTION When inserting in the interface hold the metal plate Directly touching the board may cause static electricity and lead to damage of the instrument Using the wrist s...

Page 11: ...pter 2 Overview 2 1 Introduction to the RS 232C Interface By connecting the 9593 02 RS 232C INTERFACE to the 3157 AC GROUNDING HiTESTER it is possible to control all the functions of the main unit exc...

Page 12: ...ich the momentary OUT settings are disabled even though the momentary OUT settings have been set 2 The beeper sound can be turned on and off 3 The unit can be reset 4 Test results can be printed on th...

Page 13: ...RS 232C interface connector pin assignments D subminiature 25 pin female NOTE Signal assignments and explanation Connector Dsub pin number Circuit Description RS 232C CCITT 1 AA FG 101 Protective Grou...

Page 14: ...D subminiature 25pin male 9593 02 BA TxD CF DCD CA RTS CB CTS 2 3 4 5 6 7 8 8 2 3 1 4 5 7 BB RxD AB GND CD DTR BB RxD CA RTS AB GND CF DCD BA TxD CC DSR CB CTS D subminiature 9pin female PC AT 2 20 6...

Page 15: ...s set to Space to indicate to the controller that the empty buffer capacity is low Processing of data in the buffer continues and when the receiving buffer is less than 25 full CA RTS is set to Mark t...

Page 16: ...10 2 3 Specifications...

Page 17: ...mote state releasing keys Press the 0ADJ key while holding down the SHIFT key to release the remote state by the RS 232C and resume the local state However this key operation is disabled if the RS 232...

Page 18: ...nication condition setting switches These are used to set the communication conditions of the 3157 unit on the RS 232C bus For how to set these switches refer to Section 5 1 Setting the RS 232C Commun...

Page 19: ...he test values can be printed out The 9442 is shipped with the function settings for use with the HIOKI 3166 CLAMP ON POWER HiTESTER Before using always change the settings of the DIP switches For det...

Page 20: ...Baud rate See the table below Baud rate bps Switch No 19200 5 6 7 8 OFF ON ON OFF 4 2 Setting the 9442 PRINTER Communication Conditions The 9442 is shipped with the function settings for use with the...

Page 21: ...unit with an RS 232C interface removed If you should wish to use the unit after removing an interface fit a blank panel over the opening of the removed unit 4 3 Connecting the Printer To connect the 9...

Page 22: ...number of test data Not printed for OFF HIOKI 3157 GROUNDING HiTESTER Model name This is printed if the test data count function is not used or if the number of test data is 1 DATA Number of test data...

Page 23: ...ables testing when connected with 3155 3155 sends command to 3157 to start testing and receives test results when the 3157 testing is complete The test results can be saved and printed together with t...

Page 24: ...tion cable as specified below Settings 1 Leave power OFF for both 3155 and 3157 while connecting each RS 232C connector with the RS 232C cable 2 Turn the power ON for both 3155 and 3157 3 Set up 3157...

Page 25: ...ication condition setting switches on the RS 232C panel to set the communication conditions On dispatch from the factory this address is initially set to 00000000 If you change the communication condi...

Page 26: ...m messages are command messages or query messages Command messages are orders for controls of the 3157 such as for making unit settings or for reset or the like Example TIMER_ data Command message whi...

Page 27: ...n this manual the short form is written in upper case letters and then this is continued in lower case letters so as to constitute the long form Either of these forms will be accepted during operation...

Page 28: ...Examples CONFigure CURRent MEASure RESistance etc Particular header A header beggining with an asterisk to indicate that it is a particular command Examples RST etc 2 Response message Headers in resp...

Page 29: ...ats identified as NR1 NR2 and NR3 and each of these can appear as either a signed number or an unsigned number Unsigned numbers are taken as positive Further if the accuracy of a numerical value excee...

Page 30: ...en it is desired to set out several messages on a single line Example UNIT_OHM UPPER_ON CONFIGURE RUPPER_0 100 When messages are combined in this way if a syntax error occurs all subsequent messages u...

Page 31: ...he directory structure of UNIX or MSDOS and until it is cleared the analysis of following commands is performed by deeming them to be preceded by the current path which has been curtailed in the inter...

Page 32: ...on again The 3157 has an output queue of 300 bytes capacity If the response messages overflow this limit of 300 bytes a query error is generated and the output queue is cleared The 3157 has an input...

Page 33: ...is outside the set range The designated data value is not acceptable Bit 3 DDE Device dependent error When a command cannot be executed due to some cause other than a command error a query error or an...

Page 34: ...s register 0 ESR0 bit assignments Bit 7 Unused Bit 6 Unused Bit 5 Unused Bit 4 Unused Bit 3 EOM Test completed Bit 2 LFAIL Below lower limit of comparator Bit 1 UFAIL Above upper limit of comparator B...

Page 35: ...mmand Explanation Ref page CLS Clears event register 31 ESR Queries standard event status register SESR 31 IDN Queries device ID 31 RST Device initialization 32 TST Queries the result of the self test...

Page 36: ...maximum test value voltage 40 CONFigure VUPPer Queries the maximum test value voltage 40 ESR0 Queries event status register 0 40 HEADer Enables and disables headers for the response messages 41 HEADer...

Page 37: ...Queries the output current frequency 55 SYSTem OPTion HOLD Sets the hold function 56 SYSTem OPTion HOLD Queries the hold function 56 SYSTem OPTion LOWer Sets the minimum test value 57 SYSTem OPTion L...

Page 38: ...ommand Note Specifies precautions to be taken when using the command Example These are simple examples of the use of the command Note that all transmission messages are expressed in a short form Error...

Page 39: ...er this command a command error occurs Syntax ESR Function Returns the contents of the standard event status register SESR as a numerical value in NR1 format between 0 and 255 and then clears standard...

Page 40: ...yntax RST Function Resets the 3157 The items which are reset are listed below Error If the data parameters are set after this command a command error occurs Syntax TST Function Performs the self test...

Page 41: ...zero adjustment function is turned on Error If data is other than character data and numerical value described above a command error occurs The execution of this command in a state other than the READ...

Page 42: ...ue is set and set to OFF returns OFF When the endless timer function is set returns When the endless timer function is not set and the test time is set to OFF returns OFF Example Response If headers a...

Page 43: ...CONFigure DATA_ data data Numerical data in NR1 format between 1 and 99 Function Sets the number of test data The numerical value can be in NRf format but any digits after the decimal point will be r...

Page 44: ...resistance and when the minimum test value setting is not disabled and when ON is selected in the ON OFF setting for the minimum test value Example Transmission CONFigure RLOWer 0 000 The minimum tes...

Page 45: ...e set to be expressed in OHM resistance and when ON is selected in the ON OFF setting for the maximum test value Example Transmission CONFigure RUPPer 0 100 The maximum test value resistance is set to...

Page 46: ...sabled and when ON is selected in the ON OFF setting for the test time Example Transmission CONFigure TIMer 60 0 The test time is set to 60 0 s Error If data is other than numerical value described ab...

Page 47: ...voltage and when the minimum test value setting is not disabled and when ON is selected in the ON OFF setting for the minimum test value Example Transmission CONFigure VLOWer 0 00 The minimum test va...

Page 48: ...ing for the maximum test value Example Transmission CONFigure VUPPer 2 50 The maximum test value voltage is set to 2 50 V Error If data is other than numerical value described above an execution error...

Page 49: ...ssages When powering on data is initially set to OFF Example Transmission HEADer ON Headers are prefixed to response messages Error If data is other than character data described above an execution er...

Page 50: ...entry is possible or not depends on the state of the unit For more information see the instruction manual for the 3157 Example Transmission KEY 0 2 The right arrow key entry is set Error If data 1 an...

Page 51: ...ent Function Returns the measured current value as a numerical value in NR2 format data Numerical data in NR2 format between 0 0 and 35 0 Note The measured current value is returned in the TEST state...

Page 52: ...ge is longer than 300 bytes a query error is generated Syntax MEASure TIMer Function Returns the test time elapsed as a numerical value in NR2 format data character data Numerical data in NR2 format b...

Page 53: ...red value and result as measured current value measured voltage value test time elapsed screening result in order If the unit of the maximum and minimum test values is set to OHM resistance the measur...

Page 54: ...the measured voltage value is required query using the MEASure VOLTage command until the next test starts In the case of an overflow for the measured resistance O F is returned The test time elapsed i...

Page 55: ...minimum test value is not set returns When the minimum test value is set and set to OFF returns OFF When the endless timer function is set returns When the endless timer function is not set and the t...

Page 56: ...e optional function setting screen Note The STARt command works in a state in which the momentary OUT settings are disabled even though the momentary OUT settings have been set Example Transmission ST...

Page 57: ...result returns to the READY state In the save screen returns to the READY state without saving In the load screen returns to the READY state without loading Example Transmission STOP Error If the data...

Page 58: ...nded Example Transmission SYSTem OPTion BUZZer 3 The buzzer is set to ON at screening OFF at error Error If data is other than numerical value described above an execution error occurs The execution o...

Page 59: ...SYSTem OPTion CCHange 1 The current changeability in the TEST state is set to Changeable Error If data is other than numerical value described above an execution error occurs The execution of this com...

Page 60: ...the test Example Transmission SYSTem OPTion CDATa 10 The maximum number of test data is set to 10 Error If data is other than numerical value described above an execution error occurs If a smaller val...

Page 61: ...test data is not reflected in the test Example Transmission SYSTem OPTion COUNt 1 The test data count function is set Error If data is other than numerical value described above an execution error occ...

Page 62: ...is not reflected in the test Example Transmission SYSTem OPTion ENDLess 1 The endless timer function is set Error If data is other than numerical value described above an execution error occurs The e...

Page 63: ...PTion FREQuency 1 The output current frequency is set to 60 Hz Error If data is other than numerical value described above an execution error occurs The execution of this command in a state other than...

Page 64: ...n HOLD 1 The hold function is set to Held Error If data is other than numerical value described above an execution error occurs The execution of this command in a state other than the following states...

Page 65: ...gh the momentary OUT settings have been set Example Transmission SYSTem OPTion LOWer 1 The minimum test value is set Error If data is other than numerical value described above an execution error occu...

Page 66: ...Example Transmission SYSTem OPTion MOMentary 1 The momentary OUT function is set Error If data is other than numerical value described above an execution error occurs In the continuous test mode sett...

Page 67: ...unded Example Transmission SYSTem OPTion PFHold 3 The PASS FAIL hold function is set to PASS held FAIL not held Error If data is other than numerical value described above an execution error occurs Th...

Page 68: ...will be rounded Example Transmission SYSTem OPTion PRINter 0 The printer output function is set to Not used Error If data is other than numerical value described above an execution error occurs The ex...

Page 69: ...OUT function is automatically set to Not set Example Transmission SYSTem OPTion TMODe 2 The test mode is set to Continuous test mode Error If data is other than numerical value described above an exec...

Page 70: ...ON The test time is set to ON Error If data is other than character data and numerical value described above a command error occurs The execution of this command in a state other than the following st...

Page 71: ...o VOLT voltage the maximum and minimum test values voltage settings are reflected in the test Example Transmission UNIT OHM The unit of the maximum and minimum test values is set to OHM Error If data...

Page 72: ...a is other than character data and numerical value described above a command error occurs The execution of this command in a state other than the following states causes an execution error READY state...

Page 73: ...Two or three digits in NR2 format 2 Maximum test value voltage minimum test value voltage and measured voltage value Three digits in NR2 format 3 Maximum test value resistance minimum test value resi...

Page 74: ...vice specific functions ranges etc 1 Output queue Input buffer Event registers 2 Current path Headers on off Measurement resister 7 6 Initialization Items The following table shows which items are ini...

Page 75: ...1 Sample program Flowchart 1 Basic settings and testing This program sets the 3157 to the following test values Output current value 25 0 A Maximum test value 0 100 Test time 60 0 s It carries out a s...

Page 76: ...70 8 1 Sample program Flowchart...

Page 77: ...t current value 25 0 A 10 0 A 25 0 A 15 0 A 10 0 A Maximum test value 0 100 1 00 V 0 100 1 50 V 0 100 Test time 60 0 s 10 0 s 5 0 s OFF 5 0 s 2 Saving the basic settings This program sets the 3157 to...

Page 78: ...72 8 1 Sample program Flowchart Yes Y No N 3 Inquiry on and the loading of the contents of memory This program loads the contents of Setting memory in the 3157 after making this inquiry...

Page 79: ...y processing Check the test Check the test finished Check the test Test results processing 4 Testing at five positions and outputting of a text data file After test settings five tests are made and th...

Page 80: ...the result on the screen Program List 100 OPEN COM1 9600 N 8 1 FOR RANDOM AS 1 110 STATE CK1 120 PRINT 1 STAT 130 LINE INPUT 1 A 140 IF A READY THEN GOTO SETTING 150 PRINT 1 STOP 160 GOTO STATE CK1 1...

Page 81: ...results 410 Close the RS 232C circuit file Sample display Press any key to start 25 0 0 020 60 0 PASS 2 Saving the basic settings This program sets the 3157 to the following test values and then save...

Page 82: ...TE CK5 640 SETTING5 650 PRINT 1 CONF CURR 10 0 660 PRINT 1 UNIT OHM 670 PRINT 1 UPP ON 680 PRINT 1 CONF RUPP 0 100 690 PRINT 1 TIM ON 700 PRINT 1 CONF TIM 5 0 710 PRINT 1 MEM SAVE 5 720 CLOSE 730 END...

Page 83: ...ILE CK 180 PRINT 1 MEM FILE 1 190 LINE INPUT 1 B 200 PRINT B 210 KEY IN 220 INPUT Load Y N C 230 IF C Y THEN GOTO FILE LOAD 240 IF C N THEN GOTO EXIT1 250 GOTO KEY IN 260 FILE LOAD 270 PRINT 1 MEM LOA...

Page 84: ...TIM ON 280 PRINT 1 CONF TIM 5 0 290 TESTING 300 GOSUB KEY IN 310 PRINT 1 STAR 320 GOSUB STATE TEST 330 GOSUB STATE TESTEND 340 GOSUB RESULT 350 IF N 5 THEN GOTO EXIT1 360 GOTO TESTING 370 EXIT1 380 P...

Page 85: ...m that the 3157 is in the TEST state 530 580 Check that a test has finished 590 680 Display the test results and outputs them to a file Sample display Drive A File XXX Press any key to start 1 25 1 0...

Page 86: ...80 8 2 Sample programs...

Page 87: ...a time and read the responses individually When you want to read them in all at once try doing so by putting them all on one line separated by the message separator character The response message to...

Page 88: ...82...

Page 89: ......

Page 90: ......

Page 91: ......

Page 92: ......

Reviews: