Sharp PN-465U PN-465U Operation Manual - Page 28

Controlling the Monitor with a PC, Response code format, Communication interval, ID numbers

Page 28 highlights

Controlling the Monitor with a PC Response code format When a command has been executed correctly OK Return code (0DH, 0AH) A response is returned after a command is executed. * If an ID number has been assigned Space (20H) Return code (0DH, 0AH) O K SPC 0 0 1 ID number of responding monitor When a command has not been executed ERR Return code (0DH, 0AH) * If an ID number has been assigned Space (20H) Return code (0DH, 0AH) E R R SPC 0 0 1 ID number 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 PC and monitor, nothing is returned (not even ERR). • If no monitor has been assigned the designated ID number (e.g. if the command IDSL0002 is used, but no monitor with ID number: 2 is found), no response is returned. 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 Interval of 100 ms or more INPS0001 WAIT OK Advanced operation This section explains commands for daisy chain connection. The basic communication procedure is the same as in the "One-to-one connection with a PC" section. ID numbers You can assign a unique ID number to each monitor (see page 19). This allows you to control a particular monitor in a daisy chain of monitors. You can assign ID numbers either from the menu screen (using the remote control) or from the PC using RS-232C cable. [Example] ID number: 1 ID number: 2 ID number: 3 ID number: 4 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. No ID number is attached to WAIT response. • Commands which return WAIT: 1. When repeater control is used 2. When an IDSL or IDLK command is used 3. When one of the following commands is used: RSET, INPS, ASNC, WIDE, EMAG, EPOS, PXSL, POWR, AGIN, MWIN, MWIP, MWPP, ESTG When control via RS-232C is locked (to prevent use) using the operation lock function (see page 24) L OCKE D Return code (0DH, 0AH) If monitors are connected as shown above, you can execute commands like "Set the volume of the monitor with ID 4 to 20". When controlling monitors linked in a daisy chain by designating ID numbers, you should basically avoid any duplication of ID numbers. ID numbers do not have to be assigned in ascending order starting from the PC. They can also be connected as shown below. [Example] ID number: 3 ID number: 2 ID number: 4 ID number: 1 E 26

  • 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

E
26
Controlling the Monitor with a PC
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.
* If an ID number has been assigned
O
K
SPC
0
0
1
ID number of responding monitor
Space (20
H
)
Return code
(0D
H
, 0A
H
)
When a command has not been executed
R
R
E
Return code
(0D
H
, 0A
H
)
* If an ID number has been assigned
R
R
E
SPC
0
0
1
ID number
Space (20
H
)
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 PC and monitor,
nothing is returned (not even ERR).
If no monitor has been assigned the designated ID number
(e.g. if the command IDSL0002
is used, but no monitor
with ID number: 2 is found), no response is returned.
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.
No ID number is attached to WAIT response.
• Commands which return WAIT:
1.
When repeater control is used
2.
When an IDSL or IDLK command is used
3.
When one of the following commands is used: RSET,
INPS, ASNC, WIDE, EMAG, EPOS, PXSL, POWR,
AGIN, MWIN, MWIP, MWPP, ESTG
When control via RS-232C is locked (to prevent use) using
the operation lock function (see page 24)
E
C
D
K
O
L
Return code
(0D
H
, 0A
H
)
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
INPS0001
WAIT
OK
Interval of 100 ms or more
Advanced operation
This section explains commands for daisy chain connection.
The basic communication procedure is the same as in the
“One-to-one connection with a PC” section.
ID numbers
You can assign a unique ID number to each monitor (see
page 19). This allows you to control a particular monitor in a
daisy chain of monitors.
You can assign ID numbers either from the menu screen (using
the remote control) or from the PC using RS-232C cable.
[Example]
ID number: 1
ID number: 2
ID number: 3
ID number: 4
If monitors are connected as shown above, you can
execute commands like “Set the volume of the monitor with
ID 4 to 20”.
When controlling monitors linked in a daisy chain by
designating ID numbers, you should basically avoid any
duplication of ID numbers.
ID numbers do not have to be assigned in ascending order
starting from the PC. They can also be connected as shown
below.
[Example]
ID number: 3
ID number: 2
ID number: 4
ID number: 1