Hioki BT4560 Instruction Manual Download Page 15

12

 

 

 

 

Command Execution Time 

 

Command execution time indicates the time for analyzing and processing long form commands. 

 

• 

Display delays may occur depending on the frequency of communication processes and process contents. 

•  All commands except 

*

TRG

 and 

:INIT

 

are processed sequentially. 

•  In communications with the controller, time must be added for data transmission. Transfer time depends on the 

controller. 
The Transfer time, with start bit 1, data length 8, no parity, and stop bit 1, has a total of 10-bit. When the transfer 
speed (baud rate) setting is N bps, the general result will be as follows: 

Transfer time T [1 character/sec] = Baud rate N [bps]/10 [bits] 
If a measurement value is 11 characters, a 1 data transfer time will be 11/T. 
(Example) For 9600 bps, 11/(9600/10) = Approx. 11 ms 

 

Command 

 

Execution time (except communication time) *1

 

:ADJust? ALL

 

15 s or less 

:FETCh?

 

4 ms or less 

:READ?

 

Measurement time + 4 ms or less 

:LOAD

 

90 ms or less 

:CALibration?

 

Calibration time + 6 ms or less 

*RST

 

75 ms or less 

 

*1  The values indicate an execution time when the instrument is not under a measurement.   

The execution time may increase during a measuremt.

 

 

 

Errors During Communications 

 

An error occurs when messages are executed in the following cases: 

• 

Command Error

 

When message syntax (spelling) is invalid 

When the data format in a command or query is invalid 

• 

Execution Error

 

When invalid character or numeric data is present 
 

Summary of Contents for BT4560

Page 1: ...re has been taken in the production of this manual should you find any points which are unclear or in error please contact your local distributor or the HIOKI International Sales Department at os com...

Page 2: ...tatus and Event Control Commands 18 CLS 18 ESE 19 ESR 19 SRE 20 STB 20 TRG 21 Device Specific Commands 21 1 Instrument Model Name 21 QPID 21 2 Event Status Register 21 ESE0 21 ESR0 22 ESE1 22 ESR1 22...

Page 3: ...Key Beeper 34 SYSTem BEEPer 34 19 Key Lock 35 SYSTem KLOCk 35 20 Communications Settings 35 SYSTem LOCal 35 21 Header 35 SYSTem HEADer 35 22 Serial Number 35 SYSTem SERial 35 23 LCD Settings 36 SYSTe...

Page 4: ...gram Messages Query Messages Messages Response Message When issuing commands that contain data make sure that the data is provided in the specified format Message Format Program Messages Program messa...

Page 5: ...commands are not case sensitive in actual usage CALIBRATION OK long form CAL OK short form CALIB Error CA Error Response messages generated by the instrument are in long form and in upper case letters...

Page 6: ...h semicolons FREQUENCY 1000 IDN When messages are combined in this way and if one command contains an error all subsequent messages up to the next terminator will be ignored 2 Header Separator In a me...

Page 7: ...TEM HEADER OFF 2 Decimal Numeric Data Three formats are used for numeric data identified as NR1 NR2 and NR3 Numeric values may be signed or unsigned Unsigned numeric values are handled as positive val...

Page 8: ...h and can be omitted from the messages immediately following The current path is cleared when the power is turned on when reset by key input by a colon at the start of a command and when a message ter...

Page 9: ...bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Unused 0 ESB Unused Unused Unused ESB1 ESB0 Service Request Enable Register SRER Overview of Service Request Occurrence The Status Byte Register contains inform...

Page 10: ...e Status Byte Register Bit 5 ESB Standard Event Status logical sum bit This is logical sum of the Standard Event Status Register Bit 4 MAV Unused Bit 3 Unused Bit 2 Unused Bit 1 ESB1 Event Status logi...

Page 11: ...ameters Invalid parameter format Received a command not supported by the instrument Bit 4 EXE Execution Error This bit is set to 1 when a received command cannot be executed for some reason The specif...

Page 12: ...tandard Event Status Enable Register SESER Device Specific Event Status Registers ESR0 and ESR1 This instrument provides two Event Status Registers for controlling events Each event register is an 8 b...

Page 13: ...r 0 ESR0 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Unused Unused ERR V Hi V IN V Lo INDEX EOM Logical sum bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Unused Unused ERR V Hi V IN V Lo INDEX EOM Event Status...

Page 14: ...and CLS Command Factory Default RS 232C setting baud rate 9600 Device specific functions range etc 1 Output Queue Input buffer Status Byte Register Event registers 2 Enable register Current path Heade...

Page 15: ...er time T 1 character sec Baud rate N bps 10 bits If a measurement value is 11 characters a 1 data transfer time will be 11 T Example For 9600 bps 11 9600 10 Approx 11 ms Command Execution time except...

Page 16: ...Event Status Enable Register 1 ESE1 0 to 255 Queries the Event Status Enable Register 1 ESR1 0 to 255 Queries the Event Status Register 1 I O IO MODE NPN PNP Queries the NPN PNP switch status Measurem...

Page 17: ...ust SLOPe 1 0 ON OFF Sets the slope correction for AC signal response Adjust SLOPe ON OFF Queries the slope correction for AC signal response Self Calibration CALibration Executes self calibration CAL...

Page 18: ...er LCD Settings SYSTem DISPlay CONTrast Contrast 1 to 100 Sets the contrast SYSTem DISPlay CONTrast Contrast Queries the contrast SYSTem DISPlay BACKlight Brightness 10 to 100 Sets the backlight brigh...

Page 19: ...d data or response message Describes the message Shows an example of an actual command application Normally described with HEADER OFF except the HEADER command itself Read Write the Standard Event Sta...

Page 20: ...o 1 NR1 0 No error 1 ROM error Description Perform the instrument self test and return the result as NR1 value 0 or 1 Returns zero when no error occurs Example TST 1 A ROM error occurred Initialize In...

Page 21: ...t waits until all prior commands finish before executing any subsequent commands Example TRIG SOUR EXT INIT CONT ON TRG WAI FETC Reads the measurement value after waiting for the measurement triggered...

Page 22: ...32 16 8 4 2 1 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 PON Unused CME EXE Unused Unused Unused OPC Example ESE 32 Sets bit 5 of SESER Query and Clear Standard Event Status Register SESR Syntax...

Page 23: ...E command are returned as an NR1 value 0 to 255 Bit 6 and unused bits 2 3 and 7 always return as zero 128 64 32 16 8 4 2 1 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 Unused 0 ESB Unused Unused Un...

Page 24: ...l to perform the measurement Device Specific Commands 1 Instrument Model Name Query Instrument Model Name Identification Code Syntax Query QPID Response BT4560 Example QPID BT4560 The instrument model...

Page 25: ...Register 1 ESER1 for the Event Status Register Query Queries the mask pattern in Event Status Enable Register 1 ESER1 for the Event Status Register 128 64 32 16 8 4 2 1 bit 7 bit 6 bit 5 bit 4 bit 3...

Page 26: ...eactance temperature Z Z T function impedance phase angle temperature V V T function voltage temperature Example FUNC RV Set the function to R X V T FUNC RV The function has been set to R X V T 5 Meas...

Page 27: ...the currently set measurement range as the following format Measurement range 3 0000E 3 10 0000E 3 100 000E 3 Example RANG 100 00E 03 Set the measurement range to 100m RANG 100 000E 3 The measurement...

Page 28: ...nd Query Sample Delay with the frequency of the alternating current signal Syntax Command SAMPle DELay WAVE Wavenumber Query SAMPle DELay WAVE Response Wavenumber Wavenumber wave 0 0 to 9 0 NR2 Exampl...

Page 29: ...Query LIMiter Response ON OFF Example LIM ON LIM OFF Set and Query Voltage Limit Function Syntax Command LIMiter VOLTage Voltage limit value Query LIMiter VOLTage Response Voltage limit value Voltage...

Page 30: ...L Response 0 1 Description SPOT ALL 0 1 Executes zero adjustment for the frequency and voltage measurement in the currently set range Executes zero adjustment for the currently set all frequency and v...

Page 31: ...alue at 330Hz Resistance adjusted value at 660Hz Reactance adjusted value at 660Hz Resistance adjusted value at 1kHz Reactance adjusted value at 1kHz Example ADJ DATA ALL V 1 10000E 03 The voltage adj...

Page 32: ...or ADJust DATA ALL RV Voltage adjusted value Resistance adjusted value Reactance adjusted value Example ADJ DATA SPOT V 1 10000E 03 The voltage adjusted value has been set to 1 1mV ADJ DATA SPOT R 2 5...

Page 33: ...set to be executed manually Self calibration is executed with the CALibration command or external CAL signal Example CAL AUTO OFF CAL AUTO OFF 15 Comparator Execute and Query Comparator Syntax Command...

Page 34: ...0000E 01 NR3 or OFF Lower limit 3 00000E 03 to 1 20000E 01 NR3 or OFF If the upper limit is set to a value out of above range the upper limit becomes OFF If the lower limit is set to a value out of ab...

Page 35: ...Note If the upper limit is set to a value smaller than the lower limit the upper limit becomes the same value as the lower Set and Query Impedance Component Comparator Upper Lower limit Syntax Comman...

Page 36: ...If the upper limit is set to a value smaller than the lower limit the upper limit becomes the same value as the lower Set and Query Voltage Component Comparator Upper Lower limit Syntax Command CALCu...

Page 37: ...Conditions Syntax Command SAVE CLEar Save No Save No 1 to 126 NR1 Example SAVE CLE 10 Note If SAVE CLEar is executed specifying a Save No that does not have previously saved measurement conditions an...

Page 38: ...d Example SYST LOC 21 Header Set and Query Header Presence Syntax Command SYSTem HEADer 1 0 ON OFF Query SYSTem HEADer Response ON OFF Description Sets whether the header is to be included in response...

Page 39: ...ISP CONT 50 Set the display contrast to 50 DISP CONT 50 The display contrast has been set to 50 Set and Query Backlight Syntax Command SYSTem DISPlay BACKlight Brightness Query SYSTem DISPlay BACKligh...

Page 40: ...asured Value Output Idle State INITIATE or READ TRIGGER SOURCE EXT Triggered by TRIG signal or TRG command After measurement enters the trigger wait state Sample Delay Measurement Calculation Measured...

Page 41: ...ger Wait State Triggering is ignored in the Idle State Executing INITiate enables the Trigger Wait State Continuous measurement is enabled upon exiting from the Remote State Example INIT CONT OFF Set...

Page 42: ...triggering Example TRIG SOUR EXT INIT Set the trigger source to external triggering Switch triggering to Trigger Waiting State Trigger a single measurement when an external triggering signal is recei...

Page 43: ...Fault Display Measured Value Out of Z range OverRange 1 00000 E 08 Impedance measurement error by drift voltage DRIFT VOLTAGE 2 00000 E 08 Contact error between SOURCE L and SENSE L CONTACT ERROR L 3...

Page 44: ...Set and Query Response Data Syntax Command MEASure VALid MR0 Query MEASure VALid Response MR0 MR0 0 to 7 NR1 MR Measurement register see below Description Command Query Uses bits in MR0 to specify th...

Page 45: ...ue Judgment result X measurement comparator judgment result HI IN LO OFF Measurement value V measurement value Judgment result V measurement comparator judgment result HI IN LO OFF Example MEAS VAL 1...

Page 46: ...easurement comparator judgment result HI IN LO OFF Example TRIG SOUR IMM MEAS VAL 1 READ 1 02500E 01 1 02800E 01 3 00000E 00 Set the trigger source to internal triggering Set to return the Measured va...

Page 47: ...asurement Export by Controller PC PLC Triggering Default Setting INITiate CONTinuous OFF continuous measurement disable TRIGger SOURce IMMediate internal triggering Exporting READ A trigger occurs and...

Page 48: ...rocessing Measured Value Update Command Processing Response Measuring Measuring Measuring Measuring Measuring Measurement value Measurement value Measurement value Measurement value Measurement value...

Page 49: ...racter string Dim i As Integer MSComm1 CommPort 1 COM1 Check a communication port MSComm1 Settings 9600 n 8 1 Set a communication port not required with USB MSComm1 PortOpen True Open a port Open App...

Page 50: ...measurement value MSComm1 Output TRIG SOUR IMM vbCrLf Select internal triggering MSComm1 Output INIT CONT OFF vbCrLf Continuous measurement OFF For i 1 To 10 Wait for PC key input Create a key input...

Page 51: ...f Select R X V T measurement function MSComm1 Output MEAS VAL 1 vbCrLf Output only the measurement value MSComm1 Output TRIG SOUR EXT vbCrLf Select external triggering MSComm1 Output INIT CONT OFF vbC...

Page 52: ...unication port not required with USB MSComm1 PortOpen True Open a port MSComm1 Output FUNC RV vbCrLf Select R X V T function MSComm1 Output FREQ 1000 Select 1000Hz measurement frequency MSComm1 Output...

Page 53: ...ve measurement values to a file Visual Basic2013 is referred to as VB2013 hereafter Note The procedure may differ slightly from the one described here depending on the environment of the PC and VB2013...

Page 54: ...51 2 Place a button 1 Click Button from Common Controls of Toolbox 2 Drag and drop the button onto the form layout screen 3 Change Text to Start Measurement from the Properties window Click Drag...

Page 55: ...Start Measurement is placed on the form 3 Place a serial communication component 1 Click SerialPort from Components of Toolbox 2 Drag and drop the SerialPort component onto the form layout screen Cli...

Page 56: ...ame to the port name to use for communication from the Properties window Check the port to use for communication beforehand 4 Describe the code 1 Double click the placed button to display the code edi...

Page 57: ...54 2 Enter the sample program into the code editor 3 Select Save All from the File menu Click...

Page 58: ...in the following manner Description of creation procedure Description in sample program Button created to begin measurement Button1 Button created to close application Button2 When the Begin Measureme...

Page 59: ...SerialPort1 Close Close port Button1 Enabled True Button2 Enabled True End Sub Set measurement conditions Private Sub SendSetting ByVal sp As SerialPort Try sp WriteLine FUNC RV R X V T function sp Wr...

Page 60: ...57...

Page 61: ...58...

Page 62: ...59...

Reviews: