AEG Identifikationssysteme AREK1-1 User Manual

Set of Commands for ARE K1 / RS232
Inhalt
2 MODES OF OPERATING ............................................................................................... 5
2.1 Change of Operating mode ........................................................................................................................5
2.2 Operating mode 0 - continuous mode .........................................................................................................6
2.3 Operating mode 1 - running externally triggered........................................................................................6
2.4 Operating mode 2 - reading triggered by the serial interface .....................................................................8
3 PROTOCOL FORMAT ..................................................................................................... 8
3.1 Echo function ............................................................................................................................................8
3.2 Entering of commands...............................................................................................................................9
3.3 Output format............................................................................................................................................9
3.3.1 Command specific response.................................................................................................................9
3.3.2 Response to a parameter change .........................................................................................................9
3.3.3 Response to a parameter query .........................................................................................................10
3.4 Parameters .............................................................................................................................................10
3.4.1 Set of parameters.............................................................................................................................10
3.5 Blank input line.......................................................................................................................................10
3.6 Erroneous entering of commands - error codes ........................................................................................11
3.7 Boot message..........................................................................................................................................11
3.8 Use of capital letters...............................................................................................................................11
3.9 Line feed ................................................................................................................................................11
3.10
Output format for the transponder number ...........................................................................................11
3.10.1 Output format for the NoRead information .......................................................................................12
3.10.2 Output of a reader number................................................................................................................12
4 COMMAND SET SPECIFICATION...............................................................................12
4.1 ALGO......................................................................................................................................................12
4.2 BD ..........................................................................................................................................................12
4.3 CID .........................................................................................................................................................13
4.4 CN ..........................................................................................................................................................14
--------------------------------------------------------------------------------2/26--------------------------------------------------------------------------------
4.5
DIAG ......................................................................................................................................................14
4.6 EC ..........................................................................................................................................................15
4.7 GT ..........................................................................................................................................................15
4.8 INIT .......................................................................................................................................................15
4.9 MD .........................................................................................................................................................16
4.10
NID.....................................................................................................................................................16
4.11
NRD....................................................................................................................................................17
4.12
QR1.....................................................................................................................................................17
4.13
QN1.....................................................................................................................................................17
4.14
RNR....................................................................................................................................................18
4.15
RST.....................................................................................................................................................18
4.16
TOR.....................................................................................................................................................18
4.17
VER ....................................................................................................................................................19
4.18
VS.......................................................................................................................................................19
4.19
VSAVE................................................................................................................................................19
5 DESCRIPTION OF HARDWARE NEAR FUNCTIONS .................................................. 21
5.1 Cold start ................................................................................................................................................21
5.2 Interface to the master ...........................................................................................................................21
5.3 Digital trigger input.................................................................................................................................21
5.3.1 Logical level.....................................................................................................................................21
5.3.2 Timing characteristics ......................................................................................................................21
5.4 Digital trigger outputs .............................................................................................................................21
5.4.1 Logical level.....................................................................................................................................22
5.4.2 Logical function ...............................................................................................................................22
5.5 Indicating elements (LEDs).....................................................................................................................22
5.6 DIP-switches...........................................................................................................................................22
6 APPENDIX .................................................................................................................. 24
6.1 Glossary ..................................................................................................................................................24
--------------------------------------------------------------------------------3/26--------------------------------------------------------------------------------
6.2
list of control characters..........................................................................................................................24
6.3 List of error messages .............................................................................................................................25
6.4 List of system commands.........................................................................................................................25
6.5 List of parameters and default values ......................................................................................................25
--------------------------------------------------------------------------------4/26--------------------------------------------------------------------------------
1 Introduction
The individual command set of a readers or decoders manufactured by AEG ID base on standardized com­mand sets, that are specific to each class of readers/decoders. This standardized command sets are desig­nated as ASB, which means AEG ID Standardized Command Set. The standardized command sets make it possible to use different hardware components (within a class of readers/decoders) without modification of the software application.
The command set of the ARE K1 is compatible to the ASB 1.0. Beyond it the ARE K1 RS232 is provided with a special command for self-diagnosis and extended parameter settings as well.
The difference between the command set of the ARE K1 and the ASB 1.0 is made quite clear at the rele­vant subjects in this description.
2 Modes of operating
Three basic modes of operating are defined:
Operating mode 0 (continous mode) - reader is automatically triggered
Operating mode 1(external mode) - reader is externally triggered
Operating type 2 (command mode)- reader is triggered by serial interface
2.1 Change of Operating mode
The operation mode of the ARE K1 can be changed out of each operation mode using the MD command1.
1
this behaviour is not universally applicable at ASB 1.0
--------------------------------------------------------------------------------5/26--------------------------------------------------------------------------------
2.2 Operating mode 0 - continuous mode
When operating continuously the exciter is switched on permanently. The reading cycles are initiated peri­odically.
After an accomplished reading cycle the reading information is evaluated. After that data (either trans­ponder number or NoRead code) is output to the serial interface.
exciter
processor
interface
Figure 2.1: continuous operation
reading cycle
reading cycle reading cycle
ID ID ID
2.3 Operating mode 1 - running externally triggered
In operation mode 1 the exciter is turned off. As soon as the external triggered signal rises from logic 0 to 1, the exciter is started and a reading process is initiated.
trig_in
exciter
processor
interface
Figure 2.2: external triggering -limitation of the switch period through a successful reading
reading cycle
ID
After a successful reading cycle, the exciter is turned off immediately (irrespective of the trigger signal). The next reading cycle starts at the next leading edge (0 to 1) of the trigger signal.
If a reading cycle is not successful, the reading process is controlled by the state of the external trigger signal: further reading cycles are started as long as either a successful cycle has occurred or the exter­nal trigger signal is logic 0 again. In the latter case the identification NoRead code is output.
--------------------------------------------------------------------------------6/26--------------------------------------------------------------------------------
trig_in
exciter
processor
interface
Figure 2.3: external triggering - limitation of the switch period through the Trig_In signal
reading cycle reading cycle reading cycle
reading process
NoRead
Please note: In the course of the reading process no NoRead message will be output!
--------------------------------------------------------------------------------7/26--------------------------------------------------------------------------------
2.4 Operating mode 2 - reading triggered by the serial interface
In operating mode 2, the exciter is always turned off. Triggered by the command GT, the exciter is acti­vated. After successful reading of a transponder number the exciter is turned off automatically.
exciter
processor
interface
Figure 2.4: software triggered reading operation
GT
reading cycle
ID
If the first reading cycle yields no result (NoRead), the on-time of the exciter is limited by the parame­ter TOR (time out reader): Reading cycles are continuously started until either a transponder is read successfully or the time span corresponding to the value of the parameter TOR has expired. The reader will not interrupt the last running readout cycle. If no transponder number has been read, a NoRead is output.
TOR
exciter
processor
interface
Figure 2.5: software triggered reading operation with TOR>0
reading cycle reading cycle reading cycle
GT
reading process
NoRead
Please note: Within the time span defined by the value of TOR no NoRead will be output on the interface!
3 Protocol format
The command set described in this chapter defines the transfer of data on the serial interface.
The commands consist of a command code and of a parameter value optionally. Commands are termi­nated by the control character <CR> (13H). The control character terminates the command line.
Command codes and parameters, that means all letters and numerical values, are principally transmitted as a sequence of ASCII characters (the value 255 (decimal) consequently as 32H, 35H, 35H; the command RST as 52H, 53H, 54H).
3.1 Echo function
The echo function can be switched on or off.
--------------------------------------------------------------------------------8/26--------------------------------------------------------------------------------
Loading...
+ 18 hidden pages