551 249 01

 

RFID channel

 

Registers in RFID channel:

RegNo

Identifier

Memory type

Read Out

Type

0

TagData

RAM Read Write

-------

Record

1

TimeFromLastGoodRead

RAM Read Write

Decimal

Real

2

TimeToNextRead

RAM Read Write

Decimal

Real

3

ReaderStatus

RAM Read Write

-------

Record

4

TuningStatus

RAM ReadOnly

-------

Record

5

ReadIntervalTime

RAM init EEPROM

Decimal

Real

6

 

 

 

 

7

 

 

 

 

8

 

 

 

 

9

ChConfig

EEPROM RPW

-------

Record

10

 

 

 

 

11

 

 

 

 

12

 

 

 

 

13

 

 

 

 

14

Guid

PROM Read only

-------

String

15

ChError

RAM Read Write

-------

Record

 

 

RegNo 0: TagData

 

TagData = Record

 

Identification:

Array[1..8]of Byte;

 

 

TagType:

Byte;

 

End;

 

Identification:

This variable contains the 64 bits / 8 bytes data from the transponder.

 

TagType:

 

= 0

=> No tag

 

= 1

=> ISO HDX (half duplex)

 

= 2

=> ISO FDX-B (full duplex)

 

= 3

=> Industrial HDX

 

= 4

=> Not used

 

 

RegNo 1: TimeFromLastGoodRead [s]

 

 

TimeFromLastRead:

Real;

 

 

 

TimeFromLastGoodRead is preset to zero every time valid data from a RFID tag is read. The timer increments and is set to 0 when the timer reaches the maximum value for a Real: 3.4 * 10E38. This register is cleared after a power failure.

 

 

RegNo 2: TimeToNextRead [s]

 

 

TimeToNextRead:

Real;

 

 

TimeToNextRead is the timer that is used to control the activation of the exciter. Every time this variable becomes zero, a single read is performed. The timer is either pre­set via P-NET, or from register 5 ReadTimeInterval. The timer counts down and count continues through negative values. This register is cleared after a power failure.

The preset time in ReadTimeInterval is copied to this register at the time a read is started.

 

 

RegNo 3: ReaderStatus

 

Record

 

NumberOfAttempedReads:

LongInteger;

 

 

NumberOfSucessfulReads:

LongInteger;

 

End;

 

NumberOfAttemtedReads

This counter is incremented each time the module activates the exciter to read a tag. The counter counts up to a maximum of 2147483647. When the counter exceeds +2147483647, it restarts at -2147483648.

 

NumberOfSucessfulReads

This counter is incremented when the module reads a valid tag. The counter counts up to a maximum of 2147483647. When the counter exceeds +2147483647, it re-starts at -2147483648.

 

 

RegNo 4: TuningStatus

 

Record

 

Exciterfrequency

LongInteger;

 

 

TuningResult

Byte;

 

 

AntennaVoltage

Integer;

 

End;

 

Exciterfrequency

The Exciterfrequency must be in the range 125 kHz +/- 500 Hz or 134.2 kHz +/- 500 Hz.

 

TuningResult

TuningResult indicates the result of the built in system tuning.

The value is in the range 0-63.  If the value is 0 or 63, the Exciterfrequency should be checked to locate the error.

 

AntennaVoltage

The variable indicates the voltage measured across the Antenna.

 

 

RegNo 5: ReadIntervalTime

 

 

ReadIntervalTime:

Real;

 

 

ReadIntervalTime is the time in seconds that is used as the preset value for register 2 TimeToNextRead. To activate continuous reading the ReadIntervalTime can be set to 0 sec.

 

ReadIntervalTime is factory set to 0.0 sec.

 

 

RegNo 9: ChConfig

The ChConfig variable is a record of the following type:

 

Record

 

 

Enablebit:

Bit8;

 

 

Functions:

Byte;

 

 

Notification:

Bit8;

 

 

User:

Byte;

 

End;

 

 

 

where each field is interpreted as follows:

 

Enablebit :

         

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0: ISO HDX and FDX (134.2 kHz)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1: EM4102 (125 kHz)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2: Not used

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3: Not used

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4: Not used

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5: Not used

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6: Not used

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7: AlwaysTuneBeforeRead

 

 

 

 

 

 

 

 

 

 

Enablebit [0] = True, enables the reader to read ISO HDX and FDX tags at 134.2 kHz.

Enablebit [0] is enabled from factory.

 

Enablebit [1] = True, enables the reader to read EM4102 tags at 125 kHz.

Enablebit [1] is disabled from factory.

 

If the Enablebit [0] and Enablebit [1] are set to True, the reader will read at both frequencies, starting the read cycle at 134.2 kHz followed by reading at 125 kHz .

In  a case where all Enablebits are set to False, the module will not attempt any reads.

 

Enablebit [7] = True, enables the reader to perform autotuning before each read cycle.

Enablebit [7] is factory set to False.

 

Enablebit [2-6] are not used but are reserved for future use.

 

EM4102 (125 kHz) and AlwaysTuneBeforeRead is supported in version 1.01 or higher.

 

Functions :        

 

 

= 0

=> Standard mode

 

= 1

=> Clear TagData

 

 

 

 

Standard mode:

In standard mode TagData is updated every time the module receives a complete identification telegram. TagData is held until the next good read of a tag.

 

Clear TagData:

In this mode data are cleared when the TimeToNextRead timer reaches the value zero.

 

EnableNotification

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0: Change_in_ChError.Act

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7: New data in TagData

 

 

 

 

 

 

 

 

 

 

Default value: 0 (no notification).

 

Setting EnableNotification[7] = True means that Service.Notification[1] will be set to True every time a tag has been read.

The PD 951 reads in cycles, where a single read takes approx. 100-300 ms, followed by a pause of 100 ms before a new read cycle can begin.

If AlwaysTuneBeforeRead is set to True, the total read time is increased to approx. 200-400 ms.

 

User

This field is available for the user. Default value: 0

 

 

RegNo 14: Guid

Each channel type in an interface device consists of a unique Guid.

 

 

RegNo 15: ChError

 

Record

 

 

 

His: Bit24;

 

 

 

Act: Bit24;

 

 

End;

 

 

 

There are two sets of error bits, actual and historical. The actual error bits reflect the current situation and will automatically follow any change.

The historical error bits reflect the history and have the purpose of holding sporadic errors. The historical error bits are set together with the corresponding actual bits. They remain set after a read, so each individual bit must be cleared by setting it to false. Only the bits where the corresponding actual bit is false can be cleared.

The “His data error” bit in the P-NET response is set if any historical bit is true.

The “Act data error” bit in the P-NET response reflects the validity of the data in the response. Overload, electrical error or an error in other registers involved in calculating the result gives “Act data error”.

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0: Program_storage_fault

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1: RAM_storage_fault

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2: InternalReset

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3: ExternalReset

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5: TuningError

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8: EEPROM_error_in_ReadIntevalTime

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9: EEPROM_error_in_ChConfig

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

11:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

12:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

13:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

14:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16: 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

17:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

18:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

19:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

20:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

21:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

22:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

23:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The following bits will cause Act error In the P-NET response on access to all

variables.

 

Bit 0:           Program_storage_fault is set TRUE if the self-test finds an error in the program memory.

 

Bit 1:           RAM_storage_fault is set TRUE if the self-test finds an error in the data memory (RAM).

 

Bit 2:           InternalReset is set TRUE if a reset is caused by a power failure, or if the power has been disconnected (only a His error).

 

Bit 3:           ExternalReset is set TRUE if a reset is caused by writing 255 to Reset, via P‑NET (only a His error).

 

Bit 5:           TuningError is set if the module is not able to autotune. A reason for this error could be that the antenna is not connected correctly or the antenna is broken or short-circuited. The error will also appear if a non compatible antenna is connected.

 

 

The following  two bits are set TRUE if the self-test finds an error in the data memory (EEPROM) for the variable. EEPROM fault is only set at power-up. If the corresponding variable is accessed, Act error in the P-NET response is set.

This error can occur if the power disappears when writing to EEPROM, so a rewrite to the variable could perhaps solve the problem.

 

Bit 8:           EEPROM_error_in_ReadIntervalTime

 

Bit 9:           EEPROM_error_in_ChConfig.