Communication procedure, Basic operation, English – Sharp PN-655U Manuel d'utilisation

Page 41: Response code format, Command format

Advertising
background image

ENGLISH

39

E

Example: VOLM0030

VOLM

30 (“

” indicates a space.)

* Be sure to input 4 characters for the parameter. Pad with spaces if necessary.
Wrong: VOLM30

Right: VOLM

30

(“

” indicates a space. “

” is the return code (0D

H

, 0AH or 0D

H

).)

If a command has “R” listed for “DIRECTION” in the “RS-232C command table” on page 46, 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 (How much is current volume setting?)

30

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

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

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 command, or

when the command cannot be used in the current
state of the monitor (Example: When
“ADJUSTMENT” is used (a command which is
effective when the input mode is “ANALOG”), while
video is displayed (the input mode is “VIDEO”)).

* 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 26), LOCKED is returned
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

Return code

Command field

(4 prescribed

alphanumerical

characters)

Parameter field

(4 character string

comprised of:

0-9, +, space, ?)

O

K

Return code

(0D

H

, 0A

H

)

R

R

E

Return code

(0D

H

, 0A

H

)

I

W

T

A

Return code

(0D

H

, 0A

H

)

E

C

D

K

O

L

Return code (0D

H

, 0A

H

)

Advertising