beautypg.com

Opticon RFS 6000 User Manual

Page 14

background image

U

SER

S

& S

ET UP MANUAL

RFS 6000

14

Transmit a message from RF-device to host:
Sender = RFS6000
Receiver = Host

Transmit a message Host to RF-device:
Sender = Host
Receiver = RFS6000

___________________________________________________________________________

->

Sender first sends an enquiry character to indicate that it
wants to send a message

___________________________________________________________________________

<-

Receiver responds that it is ready to receive the message

___________________________________________________________________________

->

Sender sends a 'start of transmission’ sequence.

___________________________________________________________________________

->

...message...

Sender sends the message, with the format as described above.
When a byte in the message is equal to DLE, an extra DLE is
sent, to indicate that this DLE byte is part of the data.

___________________________________________________________________________

->

Sender sends a 'end of transmission’ sequence.

___________________________________________________________________________

->

Sender sends a 'block check character'. This byte is the
logical X-OR over all the bytes, starting with the
sequence.

___________________________________________________________________________

<-

Receiver has to respond with ACK, if the message was
received. (the BCC is found to be correct)

<-

Receiver has to respond with NAK, if the message was not
received correctly. (the BCC is found to be incorrect)

___________________________________________________________________________