OK!
The RFID-reader sends the data over a Profibus-connection.
The data are 12-byte long in binary-code. In this data-area you can read out following data.
Binarycode from left to right.
Codetype = bit 1-8 bit (8-bit long) convert to 0-255 dec, no problem.
FilterType = bit 9-11 (3-bit long) convert to 0-7 dec, no problem.
PartionTable = bit 12-14 (3-bit long) convert to 0-7 dec, no problem.
CompanyPrefix = bit 15-28 (14-bit long) convert to 0-16384 dec, no problem. SerialNo = bit 29-66 (38-bit long) this value is bigger than 32-bit and that is my problem because the PLC-system is built to handle max 32-bit each programaccess.
Sorry for the late answer.
The RFID reader from a company called Vilant (www.vilant.com).
You need for now a gateway between the reader and your profibus-system.
Everything can be deliverd by Vilant.
Change the way of thinking, RFID key for sure doesn't use a CPU that is better than Siemens CPU4xx, so you can use more than one byte, dint, ... array of bits,..