
66
Appendix 5. <How-to-Use the MIGUN protocol>
1.
BCC (Check sum) auto used
When you send a command to an indicator, you receive data with BCC if the data includes
BCC, and when you send a command that does not contain BCC, you receive data except
BCC.
TO →
INDICATOR
Command Description
Indicator Response
STX ID. NO. WZER
BCC ETX
Command to set “ZERO”
STX ID. NO. WZER ACK BCC ETX
or
STX ID. NO. WZER NAK BCC ETX
▶
Format when Commanded by PC (Includes BCC)
STX(1) ID.NO.(2) COMMAND(4) BCC(2) ETX(1
)
STX
ID.NO
WZER
A9 (BCC)
ETX
02H
30H
31H
57H
5AH
45H
52H
41H
39H
03H
※ Calculation on the Check-Sum computes the total sum of values from “STX” to prior to
“BCC,” and only transmits single digit and double digit numbers in the range of 10’s.
For example, if the calculated Check-Sum value is “1A9,” then the last two characters
“A” and “9” will be converted to ASCII and be transmitted as “41H” and “39H.”
▶
Format when Commanded by PC (Excepts BCC)
STX(1) ID.NO.(2) COMMAND(4) ETX(1)
STX
ID.NO.
WZER
ETX
2H
30H
31H
57H
5AH
45H
52H
03H
● ID.NO. : F20 Set Device Number = 01(30H 31H)
(Recommended) To prevent DATA ERROR, BCC is recommended for use.
Summary of Contents for CI-170A
Page 1: ...2 ...
Page 3: ...4 ...
Page 4: ...5 ...
Page 8: ...9 MEASURE OF APPEARANCE ...
Page 76: ...77 MEMO ...
Page 77: ...78 MEMO ...
Page 78: ...79 MEMO ...
Page 79: ...80 ...