※Theconnectioncanbevariablebasedonenvironmentortheusers’intention.
<Communicationconnectiondiagram>
Transmission & Reception type: Asynchronous Serial Communication -
Connection type: Daisy Chain
-
Baudrate : 115200 -
Data Bits : 8 -
Parity : None -
Stop Bits : 1 -
Flow Control : None -
Protocol Format2.
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 Protocol7.
Master(0x01):Thisisthescalercode.-
ETX(0x03):Theendofthecode.(Fixedvalue)-
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
Command3.
Command for Power On: Operative status -
It is available only during Power Off(Stand-by) status.
-
Send to MLCD
-
NormalcommandA.
STX CMD Length
Data
ETX
ID Master
Value 0x02 0x40 0x02 Variable 0x01 0x03
*IDrange(Program):0x01(1)~0xFF(255)
BroadcastcommandB.
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.