EasyManua.ls Logo

CAS CI-170A - Appendix 5: MIGUN Protocol Usage

CAS CI-170A
79 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 fromSTX” 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
Aand “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.

Related product manuals