MD Series
9. External Communication Function
9-10
(4) Bi-Directional Communication Mode
1
Protocol
・
Description of symbol
Symbol Content
Range
ID1, ID2
Device No.
(ID1: Ten’s place, ID2: One’s place)
01 to 31
SH1, SH2, SH3
Schedule No.
(SH1: Hundred’s place, SH2: Ten’s place,
SH3: One’s place)
001 to 031
CD1, CD2, CD3
Specified code No.
CD1: Specified code
CD2, CD3: Code No.
(CD2: Ten’s place, CD3: One’s place)
CD1: Alphabet
CD2, CD3: 00 to 99
・
Description of protocol
Item Command
Code
Inquiry about Model and ROM version
# Device No. I
1
Ex.: Read Model and ROM version of Device No. 01.
Host PC -> MD series
# ID1 ID2 I [CR] [LF]
#01I[CR][LF]
MD series -> Host PC
! ID1 ID2 : Model , ROM version [CR] [LF]
!01: MD-A10000A,V00-01A[CR][LF]
・
When the Device No. (ID1, ID2) is **, all connected devices respond.
The time-lag of response is 100 ms multiplied by the Device No.
Reading of data
# Device No. R Schedule No. Specified
code No.
2
Ex.: Read the data of Schedule No. 8 and Specified code No. S01 of Device No. 01.
Host PC -> MD series
# ID1 ID2 R SH1 SH2 SH3 CD1 CD2 CD3 [CR] [LF]
#01R008S01[CR][LF]
MD series -> Host PC
! ID1 ID2 SH1 SH2 SH3 CD1 CD2 CD3 : Data [CR] [LF]
!01008S01: Data [CR][LF]
・
See
2
Data code table for the data order.
Summary of Contents for MD Series
Page 111: ......