Sharp PN-K321 Computer Monitor User Manual


 
25
E
Controlling the Monitor with a PC (RS-232C)
n
Response 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
R R E
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
I W T A
Return code
(0DH, 0AH)
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
When control via RS-232C is locked (to prevent use)
using the operation lock function (See page 23.)
E C D K O L
Return code
(0D
H, 0AH)
n
Communication 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
INPS0001
WAIT
OK
Interval of 100 ms or more
TIPS
When executing ALL RESET, set the timeout period to 30
seconds or longer.