Communication procedure, Pc operation (continued), Basic operation – Sharp LC-M3700 User Manual

Page 39

Advertising
background image

US

38

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

Command field

(4 prescribed

alphanumerical

characters)

Parameter field

(4 character string

comprised of:

0-9, +, –, space, ?)

Carriage return code

C2

C3

C4

P1

P2

P3

P4

O

Carriage return code
(0D

H

, 0A

H

)

K

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

(0D

H

, 0A

H

or 0D

H

).)

If a command has “R” listed for “Direction” in the “RS-232C Command table” on page 46, the cur-
rent value can be returned by using “?” as the parameter.

Example: 1If an ID number has not been set:

VOLM????

←From PC to monitor (current volume setting: ?)

30

←From monitor to PC (current volume setting: 30)

2If an ID number has been assigned (For example, ID number = 001)

VOLM

?

←PC to monitor (“ ” indicates a space)

30

001

←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*

E

Carriage return code
(0D

H

, 0A

H

)

R

R

* This is returned when there is no such command,

or when the command cannot be used in the
current state of the monitor (i.e. video auto-adjust-
ment with video display).

*

If there is a bad connection between the PC and
monitor, or if communication has not been estab-
lished, nothing is returned (not even ERR).

■ If execution of the command is

taking some time

W

Carriage return
code (0D

H

, 0A

H

)

A

I

T

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.

PC Operation (Continued)

■ If RS-232C is locked

If RS-232C control has been locked with Control lock
(see page 54), LOCKED is returned as the returned
value.

L

Carriage return code
(0D

H

, 0A

H

)

K

E

D

O

C

Advertising
This manual is related to the following products: