HT-CM400 NXP Semiconductors, HT-CM400 Datasheet - Page 54

no-image

HT-CM400

Manufacturer Part Number
HT-CM400
Description
Ht Cm400; Ht Rm440 Family; Ht Rm800 Family Interface Protocol Reader - Host
Manufacturer
NXP Semiconductors
Datasheet
Communication Reader-Host
3.7.38 SetModuleAdr
The command SetModuleAdr is used to assign a unique node-address to a device whose serial
number is known. The new node-address is written into the EEPROM of the read/write device.
Initial value stored in the EEPROM of a delivered read/write device:
SetModuleAdr should be sent in Ordinary Protocol. If the right serial number was sent, the
read/write device answers with Ordinary Protocol if its former node-address was zero, otherwise
it answers in Extended Protocol.
If the serial number does not match, the command is ignored, and there will be no answer from
the reader.
You can read the serial number of the read/write device by using the command GetVersion.
C-Function: void proloc_SetModuleAdr (BYTE_T addr, char *snr);
Header-File: PROLIB6.H
For communication in Extended Protocol use commands with ‘Proloc_M’-prefix. For further
information see Header File PROLBMU6.h.
Serial protocol:
HOST - READ/WRITE DEVICE
addr:
READ/WRITE DEVICE - HOST
(only if serial number matches!)
Status:
Htswp.doc/HS
0x0E
0x02
addr = 0x00
0x91
Status
0x00 ... for communication with a single reader using the Ordinary Protocol.
>0x00 ... for communication with multiple readers (e.g. in RS485 net)
-1 ...
0 ... no error
Snr[0]
SERIAL ERROR
BCC
using the Extended protocol. Each reader gets a specific address.
.....
Snr[10]
Page 54 (104)
Rev. 1.0
addr
BCC
98-02-10

Related parts for HT-CM400