Sharp PN-C861H PN-C751H PN-C861H Operation Manual - Page 22

Controlling the Monitor with a computer RS-232C, Response code format, Communication interval

Page 22 highlights

Controlling the Monitor with a computer (RS-232C) nResponse 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 E R R 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 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 WA I T 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: RSET, POWR, INPS, WIDE, BOMD nCommunication 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 Interval of 100 ms or more INPS0002 WAIT OK TIPS • When ALL RESET is executed, the monitor enters standby mode. Wait at least 1 minute before sending the next command. If you execute power "On" after ALL RESET, it will take time for the monitor to start up, so wait at least 5 minutes before sending the next command. • Before sending a power "On" or "Off" command, it is recommended that you perform buffer clear at the sending application side. • After executing a power "On" or "Off" command, wait at least 1 minute before sending the next command. E 22

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

22
E
Controlling the Monitor with a computer (RS-232C)
n
Response code format
When a command has been executed correctly
O
K
Return code
(0D
H
, 0A
H
)
A response is returned after a command is executed.
When a command has not been executed
R
R
E
Return code
(0D
H
, 0A
H
)
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
I
W
T
A
Return code
(0D
H
, 0A
H
)
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:
RSET, POWR, INPS, WIDE, BOMD
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
INPS0002
WAIT
OK
Interval of 100 ms or more
TIPS
When ALL RESET is executed, the monitor enters standby
mode. Wait at least 1 minute before sending the next
command. If you execute power “On” after ALL RESET, it
will take time for the monitor to start up, so wait at least 5
minutes before sending the next command.
Before sending a power “On” or “Off” command, it is
recommended that you perform buffer clear at the sending
application side.
After executing a power “On” or “Off” command, wait at
least 1 minute before sending the next command.