background image

 

 

 

 

 

BLUEBOX Gen.2 HFM 

 

Page 11 of 37 

indicating that the message is not completed and another data packet will 

follow. 

The communication between ‘master’ and ‘slave’ for a command message take 

place with the following handshake: 

1.

 

The ‘master’ loads the buffer with the command message and 

subsequently sets to ‘1’ the flag ‘Req tx’ to inform the ‘slave’ that a data 

packet is ready to be acquired 

2.

 

The ‘slave’ acquires the data packet from the ‘master’ and confirm the 

completion of the operation by setting to ‘1’ the flag ‘Ack tx’ 

3.

 

After having received the acknowledgment of  the completion of the 

operation through the flag ‘Ack tx’ at ‘1’, the ‘master’ resets to ‘0’ the 

flag ‘Req tx’ 

4.

 

After having verified that the flag ‘Req tx’ is reset to ‘0’, also the ‘slave’ 

resets to ‘0’ the flag ‘Ack tx’ 

5.

 

During the execution time of the received command, the ‘slave’ sets to 

‘1’ the flag ‘Busy’ to inform the ‘master’ that it is not temporarily not 

available for further communication 

In the case of a message length that needs more than one data packet, the 

previous handshake will be repeated for every data packet until the end of the 

message. 

The answer of the ‘slave’ to a command message from the ‘master’ can take 

place through a full answer message or in a short form depending of the type 

of command. In the case of a short form answer, it take place through the 

setting to ‘1’ of the flag ‘Reply Ack’ or the flag ‘Reply Nak’ (in function of the 

result of the execution of the command). 

The communication between ‘slave’ and ‘master’ for an answer message take 

place with the following handshake: 

1.

 

The ‘slave’ loads the buffer with the answer message and subsequently 

sets to ‘1’ the flag ‘Req rx’ to inform the ‘master’ that a data packet is 

ready to be acquired 

2.

 

The ‘master’ acquires the data packet from the ‘slave’ and confirm the 

completion of the operation by setting to ‘1’ the flag ‘Ack rx’ 

3.

 

After having received the acknowlegment of  the completion of the 

operation through the flag ‘Ack rx’ at ‘1’, the ‘slave’ resets to ‘0’ the flag 

‘Req rx’  

4.

 

After having verified that the flag ‘Req rx’ is reset to ‘0’, also the ‘master’ 

resets to ‘0’ the flag ‘Ack rx’  

In the case of a message length that needs more than one data packet, the 

previous handshake will be repeated for every data packet until the end of the 

message. 

Practical example: 

The ‘master’ device requests the inventory of the transponder/s present/s near 

the antenna; for the example, we suppose that there are 2 ICODE2 

transponders having the following hex codes: 0xE0, 0x04, 0x01, 0x00, 0x01, 

0x02, 0x03, 0x04 and 0xE0, 0x04, 0x01, 0x10, 0x11, 0x12, 0x13, 0x14. 

The bit 7 of the first byte of the header of the incoming buffer of the ‘master’ 

device will be indicate as ‘T’ (toggle) because we suppose that the ‘slave’ is 

running correctly. 

Содержание IDTRONIC HF

Страница 1: ...BLUEBOX Gen 2 HFM Page 1 of 37 HF RFID System BLUEBOX GEN 2 HF MR COMMUNICATION PROTOCOL Profibus...

Страница 2: ...es ensuing from incorrect or incomplete information Since despite all our efforts errors may not be completely avoided we are always grateful for your useful tips The installation instructions given i...

Страница 3: ...and maintenance procedures Use of the device and its installation must be in accordance with national legal requirements and local electrical codes When working on devices the valid safety regulations...

Страница 4: ...eters Programming 18 3 11 Operating Parameters Reading 19 3 12 Default parameters programming 20 3 13 Digital Output Activation 20 3 14 Status Reading 20 3 15 RF Deactivation 21 3 16 RF Activation 21...

Страница 5: ...evice slave with an input buffer and an output buffer the length of the buffers is a configurable parameter Similarly in order to talk to the BLUEBOX the PLC master has an output buffer same size of t...

Страница 6: ...I O is used as input do not use it also as output to avoid conflicts The BLUEBOX is available with 1 external RF antenna item 5233HM Compared to the BLUEBOX GEN2 INDUSTRIAL HF SR device item 5233H th...

Страница 7: ...t value 1 second that prevents the queue saturation in case of a tag continuous presence At the end of each inventory session for each indentified tag the BLUEBOX compares it to the list of previous r...

Страница 8: ...conds 1 sec Filter time 0 99 seconds 0 99 minutes 1 sec Buzzer Disabled enabled Enabled Output channel 1 Disabled enabled Disabled Continuous mode Disabled enabled Enabled List of configurable profibu...

Страница 9: ...s supposed The outgoing data packets from the master assume the following structure Header 1 Byte 2 Byte Max 14 Byte 7 6 5 4 3 2 1 0 Length Data Req tx Ack rx More The outgoing data packet consists of...

Страница 10: ...that an error has occured Bit 4 Reply Ack set to 1 by the slave means that the received command has been processed Bit 3 Busy set to 1 by the slave means that the slave is processing the command mess...

Страница 11: ...command In the case of a short form answer it take place through the setting to 1 of the flag Reply Ack or the flag Reply Nak in function of the result of the execution of the command The communicatio...

Страница 12: ...will reset to 0 the flag Req tx and then also the slave will reset to 0 the flag Ack tx 1 Byte 2 Byte Data 0 0 0 0 0 0 0 0 OUT T 1 0 0 0 0 0 1 IN 1 Byte 2 Byte Data 0 0 0 0 0 0 0 0 OUT T 1 0 0 0 0 0 0...

Страница 13: ...data packet will follow and the flag Req rx for the master 1 Byte 2 Byte Data 0 0 0 0 0 0 0 0 OUT T 1 0 0 0 0 1 0 04 11 12 13 14 IN The master confirms the reception of the data packet setting to 1 th...

Страница 14: ...umber 6th byte i 6 Note the SN is a numeric code constituted by 12 digits the bytes of the SN are BCD coded and so every byte encodes 2 digits 3 4 FW Version Reading This command used to get the firmw...

Страница 15: ...n 16th ASCII char i 16 The 16 bytes 3 to 18 are a string of 16 ASCII chars that defines the firmware version The general form is MIDRANGE x x x xx gives the firmware version example 1 7 3 5 Temperatur...

Страница 16: ...hundereds BCD encoded byte 3 0x Year value tens and units BCD encoded byte 4 0x Month value tens and units BCD encoded byte 5 0x Day value tens and units BCD encoded byte 6 0x Hour value tens and unit...

Страница 17: ...buffers for the Profibus communication of the BLUEBOX Byte Value Description Notes 1 0x3D Command code 2 0x03 Command code 3 0x Address Decimal 1 126 4 0x Buffers length 0x00 8 bytes 0x01 12 bytes 0x0...

Страница 18: ...care 5 0x Don t care 6 0x Don t care 7 0x Don t care 8 0x Don t care 3 10 Operating Parameters Programming This command is used to set the operating parameters of the BLUEBOX that are hold time 00 99...

Страница 19: ...ak flags this command don t produce data Note after the command execution the BLUEBOX resets itself to apply the new parameters 3 11 Operating Parameters Reading This command is used to get the values...

Страница 20: ...ce data Note after the command execution the BLUEBOX resets itself to apply the new parameters 3 13 Digital Output Activation This command is used to excite each individual output and to set also the...

Страница 21: ...the following meaning Bit 7 2 Not used Bit 1 Input 2 status 1 activated Bit 0 Input 1 status 1 activated 3 15 RF Deactivation In continuous mode this command is used to suspend the activity of the RF...

Страница 22: ...sponder type See Annexe A for type assigment table 1 1 0x Transponder UID 1 st byte 1 i 0x Transponder UID i th byte i 8 1 8 0x Transponder UID 8 th byte 8 UID length Note if no transponder is present...

Страница 23: ...that are present near the antenna s Byte Value Description Notes 1 0x10 Command code If the command is not successfully executed the answer is given in short form through the reply ack reply nak flags...

Страница 24: ...0 0x Block number Max value depends on the specific transponder If the command is not successfully executed the answer is given in short form through the reply ack reply nak flags otherwise the BLUEBO...

Страница 25: ...0 1 0x Data to be written in the block 1 st byte 10 i Data to be written in the block i th byte i n 10 n Data to be written in the block n th byte n depends on the specific transponder If the command...

Страница 26: ...UEBOX answers a if the addressed transponder is not present Byte Value Description Notes 1 0x13 Command code 2 0x01 Status no transponder b if the addressed transponder do not support the requested bl...

Страница 27: ...curred during the transaction Byte Value Description Notes 1 0x14 Command code 2 0x02 Status error c if the addressed transponder is present Byte Value Description Notes 1 0x14 Command code 2 0x00 Sta...

Страница 28: ...der data sheet and ISO 15693 protocol If the continous mode is enabled it will be suspended by the execution of this command and will be suspended as long as this command is used it will be resumed au...

Страница 29: ...Description Notes 1 0x15 Command code 2 0x00 Status ok 2 1 0x Data received from the tag 1 st byte 2 i 0x Data received from the tag i th byte i n 2 n 0x Data received from the tag n th byte n depends...

Страница 30: ...nfo MEM EM 4035 15693 Inventory Read block 8 bytes Write block 8 bytes Lock block Get system info STM LRI 64 15693 Inventory Read block 1 byte Write block 1 byte Get system info STM LRI 512 15693 Inve...

Страница 31: ...ype coding for supported transponders Type Code Part UID Length 0x20 Generic ISO 15693 8 bytes 0x21 ICODE2 8 bytes 0x22 TAG IT HF I 8 bytes 0x23 EM 4035 8 bytes 0x24 LRI 64 512 8 bytes 0x25 MB89R118 8...

Страница 32: ...0 Hardware_Release Version 1 000 Software_Release Version 2 000 Implementation_Type netX 9 6_supp 1 19 2_supp 1 45 45_supp 1 93 75_supp 1 187 5_supp 1 500_supp 1 1 5M_supp 1 3M_supp 1 6M_supp 1 12M_su...

Страница 33: ...fic_Alarm_supp 1 Ident_Maintenance_supp 1 Bitmap_Device CIFXDPSR Bitmap_Diag CIFXDPSD Bitmap_SF CIFXDPSS PrmText 1 Text 0 Disable Text 1 Enable EndPrmText PrmText 2 Text 0 OFF Text 1 ON EndPrmText Prm...

Страница 34: ...PrmData 9 Alarm Mode BitArea 0 2 0 0 7 Prm_Text_Ref 3 EndExtUserPrmData ExtUserPrmData 10 reserved BitArea 0 2 0 0 7 Prm_Text_Ref 4 EndExtUserPrmData ExtUserPrmData 11 reserved BitArea 0 2 0 0 7 Prm_T...

Страница 35: ...e 2 Words In 0xD1 7 EndModule Module 2 Words Out 0xE1 8 EndModule 3 Byte Input Output Module 3 Bytes In 0x92 9 EndModule Module 3 Bytes Out 0xA2 10 EndModule 3 Word Input Output Module 3 Words In 0xD2...

Страница 36: ...1 EndModule Module 12 Bytes Out 0xAB 22 EndModule 12 Word Input Output Module 12 Words In 0xDB 23 EndModule Module 12 Words Out 0xEB 24 EndModule 16 Byte Input Output Module 16 Bytes In 0x9F 25 EndMod...

Страница 37: ...EndModule Module 32 Bytes Out 0x80 0x9F 34 EndModule 32 Word Input Output Module 32 Words In 0x40 0xDF 35 EndModule Module 32 Words Out 0x80 0xDF 36 EndModule 64 Byte Input Output Module 64 Bytes In 0...

Отзывы: