CREATOR CR-UART8 User Manual

CREATOR Accessories communication

Advertising
background image

Communication Protocol between UART8 and the

Controller



Ver:02




















Network

communicatio

n protocol of

UART8

Baud Rate: 38400 9N1

Communication Mode: RS 485 half duplex



Contr

oller

to

depen

dent

machi

ne(U

ART8

)

Controller gives out reset

instruction:

FF 02 03 00

The instruction about the

Controller inquiries the
model number of the
network equipment:

FF 02 03 01 ID 00


Controller delivers message
to UART8:(send out the data
by UART8)

ID Data Length (Byte) Passage (Byte) Baud rate(Byte) Data.



Refer to the following data definition form

ID is 0x03 Hex~ 0xFE Hex (9N1)

No

message

from

the

Controller to UART8:(free):

ID 00




Depe
ndent
machi
ne
(UAR
T8) to
Contr
oller:



The return model of UART8:

02 09 05 00 00 43 4C 43 49 2D 38



Concrete model, for example ,the above one is CLCI-8
Instruction
0x09 is the length of the instruction, refers to the

number of the bytes afterwards.

0x02 is the instruction

Power controller has some
message to Controller:
(When

the

data

mode

delivered by Controller
has some mistakes or
the receiving buffer area
was covered.)

02 01 'E'

E: Error
0x01 is the length of the instruction
0x02 is the instruction

No message from the power
controller to Controller:

02 00

Instructions:
1.

The commands delivered by Controller to network equipment are separated by 00 Hex,that is,it works as
the ending of the former command and the beginning of the following one.00 Hex is the data format of nine,
and the ninth one is zero; When receive this data, the indicating needle will do a zero clearing.

2.

The bytes of the commands are all 9N1,and the ninth one is 1,refer to the above when come in front of
concrete commands.

3.

The commands listed above are all sent out in reverse-code manner.



The

communicatio

n protocol of

UART8RS-23

2

Input

Baud

Rate:

38400 8N1

Communicatio

n Mode:

RS-232 half duplex

Communication Protocol:

0x1B 0x43 0xDD 0x0D 0x0A

Passage (BYTE) Baud Rate (BYTE) Date Length (Int)H (int)L Data.


Beginning instruction

refer to the following data definition form

Data

Passage (BYTE)

Baud Rate (BYTE)

Date Length

Advertising