551 249 01 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RFID channel
Registers in RFID channel:
RegNo 0: TagData
Identification:This variable contains the 64 bits / 8 bytes data from the transponder. TagType:
RegNo 1: TimeFromLastGoodRead [s]
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 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 preset 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
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
ExciterfrequencyThe Exciterfrequency must be in the range 125 kHz +/- 500 Hz or 134.2 kHz +/- 500 Hz.
TuningResultTuningResult 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.
AntennaVoltageThe variable indicates the voltage measured across the Antenna.
RegNo 5: ReadIntervalTime
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: ChConfigThe ChConfig variable is a record of the following type:
where each field is interpreted as follows:
Enablebit :
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 :
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
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: GuidEach channel type in an interface device consists of a unique Guid.
RegNo 15: ChError
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”.
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.
|