Setting The Parameters Of The Rf382R - Siemens Simatic RF382R Scanmode Operating Instructions Manual

Hide thumbs Also See for Simatic RF382R Scanmode:
Table of Contents

Advertisement

Setting the parameters of the RF382R

Certain parameters of the scan mode can be changed during operation. These parameters are transferred from the host to
the reader via the serial interface for this purpose.
You can change the following parameters this way:
● ScanMode: Single Read (single reading of a tag) or Continuous Read (continuous reading of a tag)
● LockTime: Lock time for the setting "Continuous Read"
● Retentive: The parameters are stored in the non-volatile Flash memory of the reader.
The interface parameters for transfer are set permanently to 38400, 8, n, 1. This data sequence can be easily integrated into
an existing application because the parameter assignment frame is open.
Structure of the parameter assignment frame to the reader
You can transfer a new parameter set to the reader at any time during operation. When a parameter set is received, scan
mode will be interrupted, and the new parameters are checked and adopted if they are found to be "good". Scan mode will
start up immediately once the parameters have been accepted.
Note
Data will be lost during parameter setting (which means from receipt of a parameter frame until acknowledgment) if
operation continues.
The parameters are either saved in RAM (status = 00) only or retentively (status = 01). The command for transmission of
parameters ("Para") is 01.
Data backup takes place with a simple EXOR operation (BCC) of all data bytes to be transferred.
The parameters will be transferred as a data sequence (message frame). The following parameters can be modified:
● "LockTime" parameter; you can set values of 0..65535 (time base 100 ms)
● "ScanMode" parameter; you can set ContinousRead (00) and SingleRead (01)
All the other parameter bytes are reserved for future use and have to be assigned with 0.
Sending parameters to the reader
Command
Status
byte
"Para"
The command message frame consists of 24 bytes that you always have to transfer completely.
Acknowledgment of the reader
Acknowledgment
Error code
byte
"Para"
The acknowledgment message frame consists of three bytes. The acknowledgment byte is identical to the command byte.
The error code is zero if the parameters are accepted without errors. An error code other than zero means that the
parameters have not been accepted. The following error codes are defined:
01
The command byte is incorrect (only "Para" is permitted)
02
The status byte is incorrect (RAM or retentive only)
03
The Scanmode parameter is incorrect (ContinousRead and SingleRead permitted only)
04
The BCC value in the parameter message frame is incorrect.
05
Data could not be saved retentively (error with Flash type request)
06
Data could not be saved retentively (error with Flash delete)
07
Data could not be saved retentively (error with Flash writing)
SIMATIC RF382R Scanmode
J31069-D0214-U001-A1-7618, 10/2009
1st byte
... 6th byte
(res.)
"ScanMode"
BCC
7th byte
8th byte
"LockTime"
"LockTime"
(HighByte)
(LowByte)
...
21st byte
BCC
(res.)
9

Advertisement

Table of Contents
loading

Table of Contents