- 52 -
ORION PDP
- 53 -
Infinitely Expandable
Introduction
1.
ThischaptercontainsthecommunicationprotocolbetweenLCDanditscontroldevicessuchascomputerforbetter
useoftheproduct.However,itdoesnotincludedetailedtechnicalmatters.Itratherfocusesonthebrieffunctional
explanationandcommunicationprotocol.
ID:1
Master Slave
Master Slave
Master Slave
Master Slave
Master Slave
Master Slave
Master Slave
Master Slave
Master Slave
Master Slave
Master Slave
Master Slave
Controller
(Computer)
Tx/Rx Line
ID:2
ID:N-1
ID:N
ID:N+1
ID:N+N
ID:(M-2)N+1
ID:(M-2)N+N
ID:(M-1)N
ID:(M-1)N+2
ID:(M-1)N+N-1
ID:MXN
※Theconnectioncanbevariablebasedonenvironmentortheusers’intention.
<Communicationconnectiondiagram>
Communication Setting
1.1.
Transmission & Reception type: Asynchronous Serial Communication
-
Connection type: Daisy Chain
-
Baudrate :
115200
-
Data Bits :
8
-
Parity :
None
-
Stop Bits :
1
-
Flow Control :
None
-
Protocol Format
2.
Send To LCD
2.1.
STX
Command
Length
Data
ETX
1 byte
1 byte
1 byte
Variable
1 byte
ID
Master
Other Data
1 byte
1 byte
N byte
ThisishowtosendcommandstoLCD.OnlythesetofthedesignatedIDisworkingaccordingtothe"Command."
-
But,ifthe"ID"valueis"0",allMLCDsetsareworkingaccordingtocommandas"Broadcast".
STX(0x02):Theinitialcode.ItmeansthebeginningofProtocol.(Fixedvalue)
-
Command:Codeforactualoperation.(Variable)
-
Length:thelengthof"Data"area.(Variable:0~255)
-
Data:theareasfor"ID"andtheotherData(Variable)
-
ID:ItisacodetodistinguishLCDsets.Itsrangeis"0"to"255".IftheIDis"0,"itmeansBroadcastcommand.(variable)
-
MSCS Protocol
7.
Master(0x01):Thisisthescalercode.
-
ETX(0x03):Theendofthecode.(Fixedvalue)
-
receive From LCD
2.2.
STX
CMD
Length
Data
Check Sum
ETX
1 byte
1 byte
1 byte
Variable
1 byte
1 byte
ID
Master
Other Data
1 byte
1 byte
N byte
ResponsebyacertaincommandfromthedesignatedsetamongMLCDsets.Thedifferencefrom"SendtoLCD"is"Checksum".
-
STX(0x02):Theinitialcode.ItmeansthebeginningofProtocol.(Fixedvalue)
-
Command:Codeforactualoperation.(Variable)
-
Length:thelengthof"Data"area.(Variable:0~255)
-
Data:theareasfor"ID"andtheotherData(Variable)
-
ID:Setidentification(0~255)(Variable)
-
Master(0x01):Thisisthescalercode.
-
Checksum:execute"Not"operationafteraddingallthevaluesin"STX~Data"area.
-
ETX(0x03):Theendofthecode.(Fixedvalue))
-
Communication Sequence
-
*Waitfor50msecforresponseaftersendingthecommand.Ifthereisnoresponse,itisrecommendedtoresendthecommand.
*Itisrecommendedthatnotsendingtheothercommandorchanginginputresolutionduringcommandtransmission.
Command transmission
→
←
Responsetransmission
Command
3.
Power On
3.1.
Command for Power On: Operative status
-
It is available only during Power Off(Stand-by) status.
-
Send to MLCD
-
Normalcommand
A.
STX
CMD
Length
Data
ETX
ID
Master
Value
0x02
0x40
0x02
Variable
0x01
0x03
*IDrange(Program):0x01(1)~0xFF(255)
Broadcastcommand
B.
STX
CMD
Length
Data: ID
ETX
Value
0x02
0x40
0x01
0x00
0x03
*MakeallLCDdothesameoperation.But,therewillbenoreturncommunication.(Onewaycommand)
Receive from MLCD
-
STX
CMD
Length
Data
Check Sum
ETX
ID
Master
Value
0x02
0x40
0x02
Variable
0x01
Variable
0x03
*IDrange(Program):0x01(1)~0xFF(255)
*Checksum:execute"Not"operationafteraddingallthevaluesin"STX~Data"area.
MLCD