beautypg.com

A.17 *tst? — self test query, Table a-4. built-in test error codes, A.18 *wai — wait-to-continue command – KEPCO BOP 1KW-MG Operator Manual, Firmware Ver.2.01 to 2.37 User Manual

Page 146: A.17, A.18, H a.18, arra

background image

A-6

BIT 4886 022108

A.17 *TST? — SELF TEST QUERY

*TST?

Syntax:

*TST?

Returned value: 0 or 1 (0 = pass test, 1 = fail test)

Description:

Power Supply test.This query causes the power supply to do a self test and provide the controller
with pass/fail results. A 0 is returned if the unit passes the test. If the unit fails, a number from 1
through 1023 is returned to indicate the cause of the error. The test executes each of the subtests
even when any one fails. If any test fails an error code bit is set which is returned to the user. The error
codes returned are listed in Table A-4

A.18 *WAI — WAIT-TO-CONTINUE COMMAND

*WAI

Syntax:

*WAI

Response:

Description: Causes the power supply to wait until all previously issued commands and queries are com-

plete before executing subsequent commands or queries. This command can be used to guaran-
tee sequential execution of commands and queries. When all pending operations are complete (all
previous commands have been executed, changes in output level have been completed), the WAI
command is completed and execution of subsequent commands can continue.

TABLE A-4. BUILT-IN TEST ERROR CODES

TEST ACTIVE

ERROR CODES

MEANING

*tst? DIAG:TST?

BIT

VALUE

Yes

Yes

0

Pass (No error)

Yes

Yes

0

1

ROM error

Yes

Yes

1

2

RAM error

Yes

Yes

2

4

FLASH error -- Perform calibration to correct

Yes

Yes

4

16

Analog Communication error

No

Yes

5

32

Loop Back Test error

No

Yes

6

64

Max Voltage Output error

No

Yes

7

128

Min Voltage Output error