nResponse code format

When a command has been executed correctly

O

K

 

 

 

Return code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(0DH, 0AH)

A response is returned after a command is executed.

When a command has not been executed

ER R Return code (0DH, 0AH)

TIPS

“ERR” is returned when there is no relevant command or when the command cannot be used in the current state of the monitor.

If communication has not been established for reasons such as a bad connection between the PC and monitor, nothing is returned (not even ERR).

“ERR” may be returned when a command cannot be received correctly due to interference from the surrounding environment.

Please ensure that the system or software retries the command if this occurs.

If execution of the command is taking some time

W

A

I

T

 

 

 

 

Return code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(0DH, 0AH)

Controlling the Monitor with a PC (RS-232C)

nCommunication interval

After OK or ERR is returned, you must send the following commands.

To set a timeout for the command response, specify 10 seconds or longer.

Provide an interval of 100 ms or more between the command response and the transmission of the next command.

VOLM0020

OK

Interval of 100 ms or more

INPS0001

WAIT

OK

TIPS

When executing ALL RESET, set the timeout period to 30 seconds or longer.

When the following commands are used, “WAIT” is returned. In this case, a value will be returned if you wait a while. Do not send any command during this period.

Commands which return WAIT:

When one of the following commands is used:

RSET, INPS, WIDE, POWR, MWIN, MWIP, DPST

When control via RS-232C is locked (to prevent use) using the operation lock function (See page 23.)

L

O

C

K

E

D

Return code (0DH, 0AH)

25 E

Page 25
Image 25
Sharp PN-K321 operation manual 25 E, NResponse code format, When a command has been executed correctly