background image

Manufacturer Data

First block is Manufacturer Data. It is consist UID number (sometimes known as Card ID 
or Serial Number). In general it is readonly block but some manufacturer produce fake 
Mifare tag which be able to write that block.

Data block

Each sector contains 3 data blocks (except sector 0, which contains 2 blocks). Each block 
stores 16 bytes of data.

 

Data block can be configured by the access bit as:
- read/write block
- value block

Sector Tralier

At end of every block is Sector Trailer. It contains secret key:
- key A (

obligatory key)

- key B (optionally key)
and configuration bits for access data block.

7.2

Modbus Address

The following MODBUS RTU functions are supported:
- 0x01 Read Coils
- 0x03 Read Holding Register
- 0x05 Write Single Coil
- 0x06 Write Single Register
- 0x0F Write Multiple Coils
- 0x10 Write Multiple Registers

For proper operation of modbus protocol it is necessary to disable the RFID M1/
U1 Configurator application.

Holding Registers table:

Address

R/W

Description

1000

R/W

IsNewTag

1-tag recognized
0-no tag

Flag must be reset (clear to 0) before read next tag.

Same as Coil Register 1016

1001

R

UID Length 

– lenght of Mifare UID (4,7 or 10)

1002 -1011 R

UID

1012

R

Card Type

: type of read tag

1017

R

MODEL ID

 

1018

R

Software Version

1019

R

Hardware Version

1020

R/W

Mode OUT1

:

1- bistable
2- astable
3- time

1021

R/W

Time   On   OUT1

  –  time   determining   how   long   the   output   will   be 

enabled (1-65535)   (*0,1 sec) e.g. 120 = 12 seconds

User manual RFID IND Modbus Mif      

   Page 

14

 z 

22

[B03]

Содержание RFID IND-M1

Страница 1: ...User manual RFID IND Modbus Mif Soft v1 40 INVEO s c ul Rzemie lnicza 21 43 340 Kozy Poland mobile 48 785 552 252 www inveo com pl info inveo com pl...

Страница 2: ...ce the basic principles of safety and maintenance Please also keep the user manual so that you can read it during later use Remember The manufacturer is not liable for any damage caused by improper us...

Страница 3: ...DEVICE CONFIGURATION 9 6 1 OUTPUTS 10 6 2 INPUTS 11 6 3 LEDS AND SOUND SIGNALING CONTROL 11 6 4 CONTINUOUS READ MODE 12 6 5 RS485 CONFIGURATION OF TRANSMISSION 12 7 MODBUS API 13 7 1 MIFARE TAG STRUCT...

Страница 4: ...could cause injury or damage to the reader Important information and guidelines Following this guidelines makes the use of the reader easier Attention The screenshots in this manual can be dissimilar...

Страница 5: ...s to comply with the contract of guarantee if the following conditions are met all repairs alterations extensions and device calibrations are performed by the manufacturer or authorized service supply...

Страница 6: ...ected directly to the device storage and operation at temperatures from 25 C to 60 C 4 3 Installation and use of the reader The reader should be used following the guidelines shown in next part of the...

Страница 7: ...and two inputs Technical data Supply voltage 12 24VDC Power supply 40mA 12V Transponders Supported transponder standard Mifare Carrier frequency 13 56 MHz Reading distance to 10cm depending on the typ...

Страница 8: ...equipped with 3 LEDs indicating the module operation status and a sound generator informing about the application of the tag RFID IND Modbus Mif Name Description POWER Power LED Status 1 Error Status...

Страница 9: ...ect the USB cable to the computer and the module in this case the external power supply of the module is not required the device is powered via the USB port The first line of the program window displa...

Страница 10: ...tatus is engaged or disengaged Astable mode if the channel will be enabled the relay is engage and disengage cyclically Time of engage and disengage relay Time On time when a relay is engaged Time Off...

Страница 11: ...ATE INPUT 2 displays the actual state of inputs Square field in black input inactive field in yellow active input 6 3 LEDs and sound signaling control The RFID M1 U1 Configurator allows user to custom...

Страница 12: ...atically allow another reading of the same TAG after the declared time 6 5 RS485 Configuration of transmission This field is used to configure the communication of the reader with the MASTER device MO...

Страница 13: ...t of operation 7 1 Mifare tag structure Below is Mifare 1k tag structure note from NXP Semiconductor MF1S503x pdf Tag has 1kB EEPROM memory Memory is organized as 16 bytes block At one time tag can re...

Страница 14: ...MODBUS RTU functions are supported 0x01 Read Coils 0x03 Read Holding Register 0x05 Write Single Coil 0x06 Write Single Register 0x0F Write Multiple Coils 0x10 Write Multiple Registers For proper opera...

Страница 15: ...led 2 for error operation BB 0 no signal 1 signal accept 2 signal reject for valid operation 1 led 1 for valid operation 2 led 2 for valid operation 2007 R W User signaling mode for result write oper...

Страница 16: ...te 1011 R INPUT 2 input 2 state 1012 R W LED1 control LED 1 1013 R W LED2 control LED 2 1014 W BUZZ ACCEPT enable accept sound 1015 W BUZZ REJECT enable reject sound 1016 R W IsNewTag 1 tag recognized...

Страница 17: ...essing reg MemoryMode Full mode read and write memory is addressed exactly like tag memory structure To read second byte from fisrst block data user has to read 18 buffer offset Modbus Register 1 16 2...

Страница 18: ...ata Attention RunReadFlag RunWriteFlag has affect by this setting When mode is Linear RunReadFlag RunWriteFlag omitt first block and any Trailer Sector So first bit mean second block of first sector i...

Страница 19: ...one byte of tag data Example If Tag block 0 has first two bytes MSB 0x55 LSB 0xAA than Modbus Reg 0 Buffer Memory offset contain 0xAA and Modbus Reg 1 constain 0x55 Endian 1 every Modbus Holding Regis...

Страница 20: ...as own security setting Trailer Sector descript which key A or B is needed to read and or write block Key program is done by USB software Factory security key for any block is key FFFFFFFFFFFF Key is...

Страница 21: ...k ReadResultGlobal 2010 for error 10 Clear IsNewTag flag for enable reader 11 Go to step 6 for write another tag or do other things 10 3 Step by step write operation 1 Select User signaling mode it ca...

Страница 22: ...erate again 11 Description of terminals The view of the PCB is shown in the figure below Name Description Power Power connector 12 24VDC OUT 1 Relay output 1 OUT 2 Relay output 2 IN 1 Input 1 IN 2 Inp...

Отзывы: