Controlling The Monitor With A Computer; Computer Connection; Communication Conditions; Communication Procedure - Sharp 8M-B32C1 Operation Manual

Table of Contents

Advertisement

Controlling the Monitor with a computer

If the monitor is connected to a computer via commercially
available USB cable, the monitor can be controlled from the
connected computer.

Computer connection

Connect the USB ports of the computer and monitor with a
commercially available USB cable (type A - type B).
USB cable
(type A - type B)
(commercially available)
Caution
• The monitor is controlled via USB Virtual COM port.
Connect the monitor and computer with a USB cable, and
the monitor identifies the port as a COM port when the
main power is turned ON.
The COM port disappears when the main power of the
monitor is OFF, during restart for such as all reset, or when
a USB cable is not connected.
Some communication software may not operate properly if
the COM port disappears while it is open.
This issue may be solved by quitting the communication software
and reconnecting the USB cable or restarting the monitor.

Communication conditions

Set the communication settings on the computer to match the
monitor's communication settings as follows:
Baud rate
38400 bps
Data length
8 bits
Parity bit
None

Communication procedure

nCommand format
When a command is sent from the computer to the monitor,
the monitor operates according to the received command and
sends a response message to the computer.
C1
C2
C3
Command field
(4 prescribed
alphanumerical characters)
Example: INPS0010
INPS
* Be sure to input 4 characters for the parameter. Pad with
spaces (" ") if necessary.
("
" is a return code (0D
Wrong : INPS10
Right
: INPS
26
E
USB port
Computer
USB Type B
To USB port
USB Type A
Stop bit
1 bit
Flow control
None
Return code
C4
P1
P2
P3
P4
Parameter field
(4 character string comprised of:
0-9, +, -, space, ?)
10
, 0A
or 0D
))
H
H
H
10
When inputting a negative value, specify a numerical value in
three digits.
Example: OFSR-127
If a command has "R" listed for "Direction" in the
"Command table" on page 28, the current value can be
returned by using "?" as the parameter.
Example:
INPS ? ? ? ?
10
nResponse code format
When a command has been executed correctly
O
K
Return code
(0D
A response is returned after a command is executed.
When a command has not been executed
E
R
R
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 computer 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 resends the
command if this occurs.
If execution of the command is taking some time
W
A
I
T
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.
No ID number is attached to WAIT response.
• Commands which return WAIT:
When one of the following commands is used:
RSET, POWR, INPS, LCUF, DMRE, CNM1, CNM2
When USB control is disabled (see page 25.)
L
O
C
K
From computer to monitor (How
is current input setting?).
From monitor to computer
(Current volume setting: 10).
, 0A
)
H
H
Return code
(0D
, 0A
)
H
H
Return code
(0D
, 0A
)
H
H
E
D
Return code
(0D
, 0A
H
)
H

Advertisement

Table of Contents
loading

Table of Contents