Communication In Scan Mode - Siemens SIMATIC Ident RF200 Operating Manual

Ascii protocol
Hide thumbs Also See for SIMATIC Ident RF200:
Table of Contents

Advertisement

Scan mode function extension for ASCII readers

3.3 Communication in scan mode

3.3
Communication in scan mode
The communication between host and reader in scan mode occurs using the interface
parameters set in the reader. The interface parameters are set as follows in the factory:
● Physical structure: RS232
● 8 data bits, 1 stop bit
● No parity
● Transmission speed: 38.4 kBd
This value cannot be changed in RF200 readers.
1)
Frames use binary communications.
Frame structure:
A frame from the host to the reader is structured as follows:
Table 3- 3
Command parameter
Command
The acknowledgement from the reader to the host is structured as follows:
Table 3- 4
Command
The reader transmits the acknowledgement after it has finished performing the command.
Conditions for frame transmission
The following conditions apply for frame transmission:
● The BCC checksum is calculated by simple XORing of all bytes.
● If an interface parameter is changed (baud rate, parity): the acknowledgement is sent with
the old setting. The new setting then takes effect (scan data, next frame).
After connecting to the host, the reader automatically uses the configured parameters to
transmit data to the user program via the serial interface. This requires the presence of a
transponder in the antenna field. Data transmission can only be secured by assigning a
parity bit. Other protective mechanisms, such as check sums, are not possible. The different
data groups can be separated by configurable characters.
The "ByteOrder" parameter is valid data transmission, although only the "LSB first" setting is
intended. The data item at the least significant address is transmitted first.
The UID, however, is always transmitted with "MSB first", regardless of the "ByteOrder"
parameter.
26
1)
1)
Example of a frame structure
Status
Count
Example of an acknowledgment
Error code
Frame parameter
Byte 1
...
BCC
Operating Manual, 11/2016, C79000-G8976-C329-04
Byte x
BCC
ASCII protocol for RF200

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

6gt2821-4ac406gt2821-5ac406gt2821-6ac40

Table of Contents