Communication Protocol - KYOWA WP-120A Instructions For Use Manual

Instrumentation amplifier
Table of Contents

Advertisement

6-1-3. Communication protocol

The final characters of responses must be "CR+LF" or "CR".
The final characters are set by the delimiter on the SERIAL COMM. screen (page 71).
TD Format does not use checksums.
TD Format (BCC) adds checksums after data.
NOTE
o The first character in the command must always be "#".
o The final characters of commands must be "CR".
o Since commands 0005, 0006, 0007, 0008, 0010, 0100, 0101, 0110, 0111 and 0112 have unique protocols,
they will be described later.
o In the communication examples, the delimiter has been set to "CR+LF".
6-1-3-1. Commands
TD Format
HEX 0×23 0×30 0×30 0×37 0×30 0×30 0×30 0×30 0×30 0×30 0×30 0×30 0×31 0×0D
ASCII
#
0
0
Fixed
TD Format (BCC)
HEX 0×23 0×30 0×30 0×37 0×30 0×30 0×30 0×30 0×30 0×30 0×30 0×30 0×31 0×34 0×38 0×0D
ASCII
#
0
0
Fixed
The first character in the command must always be "#".
The data length will be 6 characters.
For the checksum (BCC), all bytes of the fixed, command and data sections are added. Then, the lower 8 bits is split into upper and
lower parts of 4 bits each and saved as ASCII.
In the example above, the total of the fixed, command and data sections is as follows.
0×30+0×30+0×37+0×30+0×30+0×30+0×30+0×30+0×30+0×30+0×30+0×31
= 0×248
The checksum is the lower 8 bits, which is 0×48.
7
0
0
0
0
Command No.
7
0
0
0
0
Command No.
0
0
0
0
1
Data
0
0
0
0
1
Data
6. Communication functions
CR
4
8
CR
Checksum
77

Advertisement

Table of Contents
loading

Table of Contents