Sharp PN-455 Computer Monitor User Manual


 
40
E
PC Operation (Continued)
Example: VOLM0030
POWR 1 (“ indicates a space.)
* Be sure to input 4 characters for the parameter. Pad with spaces if necessary.
VOLM30
VOLM 30 (“ indicates a space. “ is the carriage return code (0DH, 0AH or 0DH).)
If a command has “R” listed for “DIRECTION” in the “RS-232C Command table” on page 52, the current
value can be returned by using “?” as the parameter.
Example: 1. If an ID number has not been set:
VOLM???? From PC to monitor (Current volume setting: ?)
30 From monitor to PC (Current volume setting: 30)
2. If an ID number has been assigned (For example, ID number = 001)
VOLM ? From PC to monitor (“ indicates a space.)
30 001 From monitor to PC (“ indicates a space.)
<Response code format>
When a command has been executed correctly
This is returned when execution of the command
is finished.
When a command has not been executed correctly*
* This is returned when there is no such com-
mand, or when the command cannot be used in
the current state of the monitor (i.e. video auto-
adjustment with video display).
* If there is a bad connection between the PC
and monitor, or if communication has not been
established, nothing is returned (not even
ERR).
If execution of the command is taking some time
If a command takes some time to execute, WAIT
may be returned as the return value. Wait for a
moment, and OK or ERR will be returned. New
commands cannot be received during this time,
even if they are sent.
If RS-232C is locked
If RS-232C control has been locked with the
operation lock (see page 29), LOCKED is re-
turned as the returned value.
Communication procedure
Basic operation
<Command format>
When a command is sent from the PC to the monitor, the monitor operates according to the received
command, and sends a response message to the PC.
C1 C2 C3 C4 P1 P2 P3 P4
Carriage return code
Command field
(4 prescribed
alphanumerical
characters)
Parameter field
(4 character string
comprised of:
0-9, +, -, space, ?)
OK
Carriage return code
(0D
H
, 0A
H
)
RRE
Carriage return code
(0D
H, 0AH)
IWTA
Carriage return code
(0D
H
, 0A
H
)
ECDKOL
Carriage return code (0DH, 0AH)