Sharp PN-T322B Service Manual - Page 29

Response Code Format, <if Execution Of The Command Is Taking Some Time&gt

Page 29 highlights

CHAPTER 3. CONTROLLING THE MONITOR WITH A PC ■ RESPONSE CODE FORMAT Return code (0DH, 0AH) OK A response is returned after a command is executed. Return code (0DH, 0AH) ER R MEMO n "ERR" is returned when there is no relevant command or when the command cannot be used in the current state of the monitor. n If communication has not been established for reasons such as a bad connection between the PC and monitor, nothing is returned (not even "ERR"). Return code (0DH, 0AH) WA 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. COMMANDS WHICH RETURN "WAIT" When one of the following commands is used: RSET, INPS, ASNC, WIDE, POWR Return code (0DH, 0AH) L OCK E D n 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. n Provide an interval of 100 ms or more between the command response and the transmission of the next command. VOLM0020 OK INPS0001 WAIT OK Interval of 100 ms or more MEMO n When executing ALL RESET, set the timeout period to 30 seconds or longer. PN-T321/T322B CONTROLLING THE MONITOR WITH A PC 3 - 2

  • 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
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80

CHAPTER 3.
CONTROLLING THE MONITOR WITH A PC
PN-T321/T322B
CONTROLLING THE MONITOR WITH A PC
3 – 2
RESPONSE CODE FORMAT
<WHEN A COMMAND HAS BEEN EXECUTED CORRECTLY>
<WHEN A COMMAND HAS NOT BEEN EXECUTED>
MEMO
n
“ERR” is returned when there is no relevant command or when
the command cannot be used in the current state of the monitor.
n
If communication has not been established for reasons such as a
bad connection between the PC and monitor, nothing is returned
(not even “ERR”).
<IF EXECUTION OF THE COMMAND IS TAKING SOME TIME>
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”
When one of the following commands is used:
RSET, INPS, ASNC, WIDE, POWR
<WHEN CONTROL VIA RS-232C IS LOCKED (TO PREVENT
USE) USING THE OPERATION LOCK FUNCTION>
<COMMUNICATION INTERVAL>
n
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.
n
Provide an interval of 100 ms or more between the command
response and the transmission of the next command.
MEMO
n
When executing ALL RESET, set the timeout period to 30 sec-
onds or longer.
Return code (0D
H
, 0A
H
)
O
K
A response is returned after a command is executed.
Return code (0D
H
, 0A
H
)
E
R
R
Return code (0D
H
, 0A
H
)
W
A
I
T
Return code (0D
H
, 0A
H
)
L
O
C
K
E
D
Interval of 100 ms or more
VOLM0020
OK
INPS0001
WAIT
OK