Download P521 External Control Codes

Transcript
4. Communication Format
Header
Message
Check Code
Delimiter
The command packet consists of four parts, Header, Message, Check code and Delimiter.
Sequence of a typical procedure to control a monitor is as follows,
[A controller and a monitor, two-way communication composition figure]
Controller
Monitor
Get Parameter
Delimiter Check Code
Message
The controller sends command to
get a value from the monitor that
you want to change.
Header
Get Parameter Reply
Header
Message
Check Code
Delimiter
The monitor replies a current value
of the requested item.
Set Parameter
Delimiter Check Code
Message
The controller sends commands to
set an adjusted value.
Header
Set Parameter Reply
Header
Message
Check Code
Delimiter
The monitor replies to the
controller for confirmation.
Get Parameter
Delimiter Check Code
Message
Header
The controller sends command to
get a value for confirmation.
Get Parameter Reply
Header
Message
Check Code
Delimiter
The monitor replies an adjusted
value.
Save Current Setting Command
Delimiter Check Code
Message
The controller requests to store
the adjusted value to the monitor.
Header
Save Current Setting Command Reply
Header
Message
Check Code
Delimiter
The control does not suitable for
above fixed protocol; use the
proper command for each control.
Please refer section 5.5 and
section 7 to 13.
Command
Delimiter Check Code
Message
The monitor replies to the
controller for confirmation.
Header
Command Reply
Header
Message
Check Code
4.1 Header block format (fixed length)
Delimiter
Header
Message
The monitor replies a proper
message defined for each control.
Check code
SOH
Reserved
'0'
Destination
Source
Message
Type
Message
Length
1st
2nd
3rd
4th
5th
6th -7th
1stbyte) SOH: Start of Header
ASCII SOH (01h)
(2/50)
Delimiter