19
Applications
Communication format
P
re
a
mble
S
T
X
E
q
u
ipmen
t N
o
.
C
o
mm
a
n
d
D
igit
-n
u
mbe
r
T
y
p
e
T
a
rg
e
t
A
c
tu
a
l
A
d
v
a
n
c
e
men
t
A
cco
m
p
lish
m
e
n
t
ra
te
P
lan
E
T
X
B
C
C
Preamble
Dummy data. FFH is added by 5 bytes around.
5 bytes
around
STX
Start byte (02H)
1 byte
Equipment №
Indicator unit
’s equipment No. “00” – “99”
2-byte
Command
“0” (30H): lights off after 30 seconds
“1” (31H): Display latch
“2” (32H): flashes
“3” (33H): lights off
1-byte
Digit-number
“4” (34H) 4-digit type
“5” (35H) 5-digit type
1-byte
Type
“0” (30H): 123
“1” (31H): 523
“2” (32H): 124
“3” (33H): 524
“4” (34H): 152
“5” (35H): 1523
“6” (36H): 1524
1-byte
Target
Target quantity
“0000” - “9999”
5-byte
Actual
Quantity of productions
“0000” - “9999”
5-byte
Advancement
Degree of advancement
“-0000” - “+9999”
5-byte
Accomplishme
nt rate
Accomplishment rate
“0000” - “9999”
5-byte
Plan
Planned quantity
“0000” - “9999”
5-byte
ETX
End byte (03H)
1-byte
BCC
CRC-CCITT of equipment No
~
ETX
Devisor of 11021H: Created polynomial equation:
X
16
+X
12
+X
5
+1)
As a result of computation, 2-byte is delimited in steps of
4bit from high order, and is converted into 4-byte by means
of
“OR” with 50H.
Ex) As a result of computation, for 12H, 34H,
“51H, 52H, 53H and 54H” are obtained.
4-byte