Siemens Simatic Ident Function Manual
Siemens Simatic Ident Function Manual

Siemens Simatic Ident Function Manual

Rfid systems ident profile and ident blocks, standard function for ident systems
Hide thumbs Also See for Simatic Ident:

Advertisement

SIMATIC Ident
RFID systems
Ident profile and Ident blocks,
standard function for Ident systems
Function Manual
10/2018
C79000-G8976-C387-04
___________________
Introduction
___________________
Description
___________________
Setting parameters for
blocks
___________________
Error messages
___________________
Appendix
1
2
3
4
A

Advertisement

Table of Contents
loading

Summary of Contents for Siemens Simatic Ident

  • Page 1 ___________________ Introduction ___________________ Description ___________________ Setting parameters for SIMATIC Ident blocks ___________________ Error messages RFID systems Ident profile and Ident blocks, ___________________ standard function for Ident systems Appendix Function Manual 10/2018 C79000-G8976-C387-04...
  • Page 2 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 3: Table Of Contents

    Table of contents Introduction ............................. 5 Description .............................. 7 Area of application and features ....................7 Building block structure ......................10 Differentiation from other program blocks................11 Setting parameters for blocks ........................ 13 Overview of the Ident library ....................13 Setting the "IID_HW_CONNECT"...
  • Page 4 Table of contents Programming the Ident profile ....................68 3.5.1 Changing to Ident blocks / profile................... 68 3.5.2 Structure of the Ident profile ....................71 3.5.3 Data structure of the Ident profile................... 75 3.5.4 Commands of the Ident profile ....................77 3.5.4.1 Command structure .......................
  • Page 5: Introduction

    You will find the new features of the Ident profile or Ident blocks (library version as of V5.0) in conjunction with the technology object "SIMATIC Ident" described in the TIA Portal help. → TIA Portal help, search for: Technology object "SIMATIC Ident"...
  • Page 6 Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly recommends that product updates are applied as soon as they are available and that the latest product versions are used. Use of product versions that are no longer supported, and failure to apply the latest updates may increase customers’...
  • Page 7: Description

    Description Area of application and features The Ident library contains STEP 7 functions for identification systems. The blocks consist of Ident blocks and the Ident profile. The Ident profile can be used in the SIMATIC S7-300, S7- 400, S7-1200 and S7-1500 controllers for various communications modules, RFID readers and optical reader systems.
  • Page 8 Description 2.1 Area of application and features The Ident profile and the Ident blocks can be operated similarly in different configurations. Table 2- 1 Configurations that can be engineered using the Ident library Ident devices / Bus systems Controllers systems PROFIBUS PROFINET S7-300/-400...
  • Page 9 Description 2.1 Area of application and features Ident blocks Ident profile Supported range of commands: Supported range of commands: All commands implemented on the reader, e.g. Reader-Status • Inventory Inventory • • Physical-Read • Tag-Status • Get-Blacklist Read • • Match string functions (only with MV) •...
  • Page 10: Building Block Structure

    Description 2.2 Building block structure Building block structure The program blocks act as the communication interface between an Ident device (e.g. ASM 456) and the user program. The blocks support the following functions: ● Configuration ● Editing commands ● Reading and writing of data ●...
  • Page 11: Differentiation From Other Program Blocks

    Description 2.3 Differentiation from other program blocks Differentiation from other program blocks Functions supported by program blocks The following table provides an overview of the functions supported by the program blocks. Table 2- 4 Supported functions of the program blocks Program Functions supported by program block block...
  • Page 12 Description 2.3 Differentiation from other program blocks Compatible program blocks The following table shows the program blocks compatible with the interface modules/communications modules. Table 2- 5 Compatible program blocks Ident device / systems Compatible program blocks in conjunction with ... S7-300 / S7-400 and S7-300 / S7-400 and S7-1200 / S7-1500 and...
  • Page 13: Setting Parameters For Blocks

    > SIMATIC Ident". Note Difference between Ident library and "SIMATIC Ident" technology object The Ident library is described below. As of TIA Portal V14 SP1, you can use the "SIMATIC Ident" technology object for S7-1200 and S7-1500 controllers to facilitate configuration and programming.
  • Page 14 Setting parameters for blocks 3.1 Overview of the Ident library Position Block name Description Ident_Profile These blocks are available for experts to be able to include complex command structures in their own program sequence. It is also pos- sible to use repeat commands and chaining. Status blocks Reader_Status Using the status blocks you obtain information...
  • Page 15 Setting parameters for blocks 3.1 Overview of the Ident library Position Block name Description IID_INVENT_ Data types for the result of "Inventory" with the 00_MOBY_U relevant attribute. The data types help you to interpret the data IID_INVENT_ received from the reader and to process the 82_83_RF600 data further directly without data type conver- IID_INVENT_...
  • Page 16 Setting parameters for blocks 3.1 Overview of the Ident library Ident device Supported blocks/commands RF18xC Ident blocks Config_Download • Config_Upload • Set_Param • AdvancedCMD • Depending on the connected end device, the blocks/commands of the respective devices are supported by the reader interface (the module): General reader •...
  • Page 17: Setting The "Iid_Hw_Connect" Data Type

    Setting parameters for blocks 3.2 Setting the "IID_HW_CONNECT" data type Ident device Supported blocks/commands General reader Ident blocks Set_Param • AdvancedCMD • Config_Download • Config_Upload • Ident profile PHYSICAL-READ • PHYSICAL-WRITE • READER-STATUS • INVENTORY • FORMAT • READ-CONFIG • WRITE-CONFIG •...
  • Page 18 Setting parameters for blocks 3.2 Setting the "IID_HW_CONNECT" data type Parameter assignment of the "IID_HW_CONNECT" data type Follow the steps below to set the parameters for the "IID_HW_CONNECT" data type for a channel: 1. In the project tree, double-click on the entry "Add new block" in the "Program blocks" folder.
  • Page 19 Setting parameters for blocks 3.2 Setting the "IID_HW_CONNECT" data type Follow the steps below to read out the parameter values "HW_ID" and "LADDR" for a channel: 1. Open the network view and double-click on the communications module. Reaction: TIA switches to the device view and the properties window of the CM opens. 2.
  • Page 20: General Structure Of The Function Blocks

    Setting parameters for blocks 3.3 General structure of the function blocks The library is now linked in and the required blocks and data types have been created in your project. The "IID_HW_CONNECT" data type has also been created and addressed. You can now start programming the blocks.
  • Page 21 Setting parameters for blocks 3.3 General structure of the function blocks Description of the parameters Table 3- 3 Description of the input and output parameters Parameter Description Input parameters Enabling Input EXECUTE There must be a positive edge at this input before the block will exe- cute the command.
  • Page 22 Setting parameters for blocks 3.3 General structure of the function blocks General sequence when calling the blocks Note Different sequences with the Ident profile and standard profile V1.19 Note that the sequence of the Ident profile is not the same as that of the previous standard profile V1.19.
  • Page 23 Setting parameters for blocks 3.3 General structure of the function blocks Creating blocks Requirement The "IID_HW_CONNECT" data type has been assigned parameters. Follow the steps below to link in a block and to set the call parameters: 1. Open the program block you have created by double-clicking in the "Project tree > Program blocks"...
  • Page 24: Programming Ident Blocks

    Setting parameters for blocks 3.4 Programming Ident blocks Programming Ident blocks 3.4.1 Basic blocks 3.4.1.1 Read The "Read" block reads the user data from the transponder and enters this in the "IDENT_DATA" buffer. The physical address and the length of the data are transferred using the "ADDR_TAG"...
  • Page 25: Read_Mv

    Setting parameters for blocks 3.4 Programming Ident blocks Parameter Data type Default values Description EPCID_UID Array[1...62] of Buffer for up to 62 bytes EPC-ID, 8 Byte bytes UID or 4 bytes handle ID. 2 - 62-byte EPC-ID is entered at •...
  • Page 26: Reset_Reader

    3.4.1.3 Reset_Reader Using the "Reset_Reader" block, you can reset all reader types of the Siemens RFID systems. All the readers are reset to the settings stored in the device configuration of the RF120C or that were configured in the RF61xR/RF68xR reader using the WBM. The "Reset_Reader"...
  • Page 27: Set_Mv_Program

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.1.4 Set_MV_Program With the aid of the "Set_MV_Program" block, you can change the program in a camera. The required program number is transferred using the "PROGRAM" parameter. Figure 3-8 "Set_MV_Program" block Table 3- 6 Explanation of the "Set_MV_Program"...
  • Page 28 Setting parameters for blocks 3.4 Programming Ident blocks Table 3- 7 Explanation of the "Write" block Parameter Data type Default values Description ADDR_TAG DWord DW#16#0 Physical address on the transponder where the write starts. You will find more information on addressing in the section "Transponder addressing (Page 113)".
  • Page 29: Extended Blocks

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.2 Extended blocks 3.4.2.1 Config_Upload/-_Download Using the "Config_Upload" and "Config_Download" blocks, you can read ("Config_Upload") or write ("Config_Download") the configuration of the RF61xR/RF68xR readers and of the RF18xC communications modules connected to this controller. The configuration data is not interpretable data.
  • Page 30 Setting parameters for blocks 3.4 Programming Ident blocks Figure 3-10 "Config_Upload" block Table 3- 9 Explanation of the "Config_Upload" block Parameter Data type Description DATA Any / Variant Data buffer for configuration data. The real length of the data depends on the com- plexity of the configuration and the firmware version of the reader.
  • Page 31: Inventory

    Setting parameters for blocks 3.4 Programming Ident blocks Figure 3-11 "Config_Download" block Table 3- 10 Explanation of the "Config_Download" block Parameter Data type Description DATA Any / Variant Data buffer for configuration data. The real length of the data depends on the com- plexity of the configuration and the firmware version of the reader.
  • Page 32 Setting parameters for blocks 3.4 Programming Ident blocks With the readers. there are four different modes that you can select with the "ATTRIBUTE" parameter. ● At the start, a certain duration/number (period of time, number of inventories, number of "Observed" events or identified transponders) is specified. A distinction is made between the following options: –...
  • Page 33 Setting parameters for blocks 3.4 Programming Ident blocks Figure 3-12 "Special" block Table 3- 11 Explanation of the "Inventory" block Parameter Data type Default values Description ATTRIBUTE Byte B#16#0 Selecting the status mode: MOBY U: 0x00 • RF620R, RF630R: 0x82 (read out •...
  • Page 34 Setting parameters for blocks 3.4 Programming Ident blocks Parameter Data type Default values Description NUMBER_TAGS Number of transponders in the anten- na field LEN_DATA Word W#16#0 Length of the valid data During command processing = 0 Event display The following data types are not displayed in the TIA Portal for a newly created project in the selection list of the data types.
  • Page 35 Setting parameters for blocks 3.4 Programming Ident blocks Results for RF620R, RF630R Table 3- 13 ATTRIBUTE "0x83" (data type "IID_INVENT_82_83_RF600") for RF620R, RF630R with EPC-ID/UID Name Type Comment reserved0 BYTE number MDS BYTE Number of MDS ARRAY[1..19] of "IID IN I 12BYTE" EPC[1] "IID_IN_I_12BYTE"...
  • Page 36 Setting parameters for blocks 3.4 Programming Ident blocks Note Number of EPC-IDs "number_MDS" specifies the number of EPC IDs (1 to 19) transferred with the "INVENTORY" block. To receive the handle IDs of all transponders located in the antenna field, it may be necessary to run the "INVENTORY" block again with ATTRIBUTE "0x82". Table 3- 14 ATTRIBUTE "0x83", "0x90", "0x91"...
  • Page 37 Setting parameters for blocks 3.4 Programming Ident blocks Name Type Comment UID[20] "IID_IN_I_8BYTE" UID[21] "IID_IN_I_8BYTE" UID[22] "IID_IN_I_8BYTE" UID[23] "IID_IN_I_8BYTE" UID[24] "IID_IN_I_8BYTE" UID[25] "IID_IN_I_8BYTE" UID[26] "IID_IN_I_8BYTE" UID[27] "IID_IN_I_8BYTE" UID[28] "IID_IN_I_8BYTE" UID[29] "IID_IN_I_8BYTE" reserved1 DWORD Data ARRAY[1..222] of BYTE Note Number of handle IDs "number_MDS"...
  • Page 38 Setting parameters for blocks 3.4 Programming Ident blocks Name Type Comment EPC[5] BYTE EPC[6] BYTE EPC[7] BYTE EPC[8] BYTE EPC[9] BYTE EPC[10] BYTE EPC[11] BYTE EPC[12] BYTE ID[2] "IID_IN_I_20Byte" ID[3] "IID_IN_I_20Byte" ID[4] "IID_IN_I_20Byte" ID[5] "IID_IN_I_20Byte" ID[6] "IID_IN_I_20Byte" ID[7] "IID_IN_I_20Byte" ID[8] "IID_IN_I_20Byte"...
  • Page 39 Setting parameters for blocks 3.4 Programming Ident blocks Programming ATTRIBUTE "0x82" If the number of transponders in the antenna field is unknown, repeat the "INVENTORY" block with the ATTRIBUTE = "0x82". * The number of returned IDs "X" depends on the "ATTRIBUTE" used. Figure 3-13 Program sequence of ATTRIBUTE "0x82"...
  • Page 40 Setting parameters for blocks 3.4 Programming Ident blocks Table 3- 17 ATTRIBUTE "0x81" Name Type Comment NUM MDS WORD Number of MDS TAG_DATA ARRAY[1..n] of IID IN I 81 TAG_DATA[1] IID_IN_1_81 reserved BYTE ID_LEN BYTE EPC length EPC_ID ARRAY[1..62]of EPC-ID BYTE tagPC WORD...
  • Page 41: Read_Epc_Mem

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.2.3 Read_EPC_Mem The "Read_EPC_Mem" block reads data starting at address 4 from the EPC memory of the RF600 transponder. Access is to bank 1 as of the start address 4. The length of the EPC memory to be read out is specified by the "LEN_DATA"...
  • Page 42: Read_Tid

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.2.4 Read_TID The "Read_TID" block reads data from the TID memory area (Tag Identification Memory Bank) of the RF600 transponder. The length of the TID to be read is specified by the "LEN_DATA"...
  • Page 43: Read_Uid

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.2.5 Read_UID The "Read_UID" block reads the UID of an HF transponder. The UID always has a fixed length of 8 bytes. Figure 3-16 "Read_UID" block Table 3- 20 Explanation of the "Read_UID" block Parameter Data type Description...
  • Page 44 Setting parameters for blocks 3.4 Programming Ident blocks Table 3- 21 Explanation of the "Set_Ant_RF300" block Parameter Data type Description ANTENNA Bool 0 = turn antenna off 1 = turn antenna on Set_Ant_RF600 Figure 3-18 "Set_Ant_RF600" block Table 3- 22 Explanation of the "Set_Ant_RF600"...
  • Page 45: Set_Param

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.2.7 Set_Param With the "Set_Param" block, you can change UHF parameters on an RF18xC/RF61xR/RF68xR during runtime (e.g. the antenna power). Note Settings saved only temporarily Note that the parameters in the "Set_Param" block are only stored temporarily. If the power for the reader is interrupted, the stored values are lost and must be set again.
  • Page 46 Setting parameters for blocks 3.4 Programming Ident blocks All parameters listed in the table below are valid for RF61xR/RF68xR. With the RF18xC, only the date/time parameter can be set. Table 3- 24 Parameter values PARMID PARMID Parameter VALUE (hex) (ASCII) 0x41315057 A1PW Antenna 01: Radiated power...
  • Page 47 Setting parameters for blocks 3.4 Programming Ident blocks PARMID PARMID Parameter VALUE (hex) (ASCII) 0x52364353 R6CS Modulation scheme Range of values: 32, 33, 34, 35, 37, Modulation scheme of the read point Specification of which transponder types are identified (ISO 18000-63/- 62).
  • Page 48: Write_Epc_Id

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.2.8 Write_EPC_ID The "Write_EPC_ID" block overwrites the EPC-ID of the RF600 transponder and adapts the length of the EPC-ID in the memory of the transponder. The new EPC-ID length to be written is specified with the "LEN_ID_NEW"...
  • Page 49: Write_Epc_Mem

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.2.9 Write_EPC_Mem The "Write_EPC_Mem" block overwrites the EPC memory of the RF600 transponder starting at address 4. The length of the EPC memory to be overwritten is specified by the "LEN_DATA" parameter. Figure 3-21 "Write_EPC_Mem"...
  • Page 50: Advancedcmd

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.2.10 AdvancedCMD With the "AdvancedCmd" block, every command can be executed including commands not represented by other blocks. This general structure can be used for all commands and is intended only for trained users. This gives you the option of sending the command as a chained command.
  • Page 51: Reset Blocks

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.3 Reset blocks The reset blocks described in this section are required when you want to operate the optical reader systems MV400/MV500 or the communications modules RF18xC, RF180C, ASM 456 with a SIMATIC S7-1200/S7-1500 controller. As an alternative you can also use these blocks for the RF120C if you have selected the appropriate setting in the device configuration.
  • Page 52: Reset_Moby_U

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.3.2 Reset_MOBY_U Figure 3-24 "Reset_MOBY_U" block Table 3- 29 Explanation of the "Reset_MOBY_U" block Parameter Data type Default values Description TAG_CONTROL Bool True Presence check DISTANCE Byte Range limitation (range of values: 0x02 ... 0x23 or 0x82 ...
  • Page 53: Reset_Mv

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.3.3 Reset_MV To reset cameras of the optical reader systems, call the block and activate the "EXECUTE" parameter. Figure 3-25 "Reset_MV" block Table 3- 30 Explanation of the "Reset_MV" block Parameter Data type Description PROGRAM Byte...
  • Page 54: Reset_Rf200

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.3.4 Reset_RF200 Figure 3-26 "Reset_RF200" block Table 3- 31 Explanation of the "Reset_RF200" block Parameter Data type Default values Description TAG_CONTROL Byte Presence check TAG_TYPE Byte Transponder type: 1 = every ISO transponder •...
  • Page 55: Reset_Rf300

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.3.5 Reset_RF300 Figure 3-27 "Reset_RF300" block Table 3- 32 Explanation of the "Reset_RF300" block Parameter Data type Default values Description TAG_CONTROL Byte Presence check 0 = Off • 1 = on • 4 = presence (antenna is off.
  • Page 56: Reset_Rf600

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.3.6 Reset_RF600 Figure 3-28 "Reset_RF600" block Table 3- 33 Explanation of the "Reset_RF600" block (RF620R/RF630R) Parameter Data type Default values Description TAG_CONTROL Bool True Presence check RADIO_PROFILE Byte Scanning time: Wireless profile ac- cording to EPC Global (range of values: 0x01 ...
  • Page 57: Reset_Univ

    Setting parameters for blocks 3.4 Programming Ident blocks Parameter Data type Default values Description PARAM_SET Byte Field_ON_Control (0 = fast; range of values: 0x00, 0x02) CHANNEL_PLAN Byte Field_ON_Time (range of values: 0x00 ... 0x0F; ETSI only) MULTITAG Byte Maximum number of transponders that can be processed at the same time in the antenna field.
  • Page 58: Status Blocks

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.4 Status blocks 3.4.4.1 Reader_Status The "Reader_Status" block reads status information from the reader or communications module (RF18xC, "CM configuration_1") module. For the various reader families, there are different status modes that you can select using the "ATTRIBUTE" parameter. Figure 3-30 "Reader_Status"...
  • Page 59 Setting parameters for blocks 3.4 Programming Ident blocks Results Apply the correct data type that is assigned to the ATTRIBUTE value at the "IDENT_DATA" input of the block so that the data can be correctly interpreted. Note that the UDTs can only be used when the blocks "Reader_Status" or "Tag Status" used.
  • Page 60 Setting parameters for blocks 3.4 Programming Ident blocks Table 3- 40 ATTRIBUTE "0x87" (data type "IID_READSTAT_87_RF600") Name Type Comment status info BYTE SLG status mode hardware CHAR Type of hardware hardware version WORD Version of hardware reserved0 WORD firmware CHAR Type of firmware firmware version HB BYTE...
  • Page 61 Setting parameters for blocks 3.4 Programming Ident blocks Name Type Comment expert mode BYTE Expert mode status_ant BYTE Status of antenna scanning_time_SLG BYTE Radio communication profile (country specific radio standart) MDS control BYTE Presence mode blink pattern BYTE Blink Pattern act algor Single Tag Bool Single Tag [1]...
  • Page 62 Setting parameters for blocks 3.4 Programming Ident blocks Name Type Comment filtered data-filter WORD Filtered Tags trough Data-Filter filtered RSSI threshold WORD Filtered Tags trough RSSI Threshold filtered RSSI delta WORD Filtered Tags trough RSSI Delta Table 3- 43 ATTRIBUTE "0xA0" and "0xA1" (data type "IID_READSTAT_A0_A1_RF600") Name Type Comment...
  • Page 63 Setting parameters for blocks 3.4 Programming Ident blocks Table 3- 44 ATTRIBUTE "0xA2" (data type "IID_CM_STATUS_A2") compatible with RF18xC Name Type Comment Status info BYTE CM device status hardware version BYTE Version of hardware firmware_version ARRAY[1..4] of Version of firmware CHAR config ID DWORD...
  • Page 64: Tag_Status

    Setting parameters for blocks 3.4 Programming Ident blocks 3.4.4.2 Tag_Status The "Tag_Status" block reads the status information of the transponder. For the various transponder types and reader families, there are different status modes that you can select using the "ATTRIBUTE" parameter. Figure 3-31 "Tag_Status"...
  • Page 65 Setting parameters for blocks 3.4 Programming Ident blocks Parameter Data type Default values Description EPCID_UID Array[1...62] of Buffer for up to 62 bytes EPC-ID, 8 Byte bytes UID or 4 bytes handle ID. 2 - 62-byte EPC-ID is entered at •...
  • Page 66 Setting parameters for blocks 3.4 Programming Ident blocks Table 3- 47 ATTRIBUTE "0x80" ("IID_TAG_STATUS_80_MOBY_U" data type) Name Type Comment ARRAY [1..4] Unique indentifier (MDS-Number) of BYTE MDS type BYTE Type of MDS sum subframe access 1 BYTE Sum of subframe access Byte 1 sum subframe access 2 BYTE Sum of subframe access Byte 2...
  • Page 67 Setting parameters for blocks 3.4 Programming Ident blocks Name Type Comment last observed hour BYTE Last observed time hour last observed min BYTE Last observed time minute last observed sec BYTE Last observed time seconds last observed channel BYTE Last observed time channel EPC length BYTE EPC-Length...
  • Page 68: Programming The Ident Profile

    Setting parameters for blocks 3.5 Programming the Ident profile You will find more detailed information on the individual status modes in the manuals matching the modes "FB 45", "FB55" and "SIMATIC RF620R/RF630R". The identifiers of the status modes correspond to the following identifiers in the other manuals: 0x04 ≙...
  • Page 69 Setting parameters for blocks 3.5 Programming the Ident profile Example: Changing without multi-instance To change from a block without multi-instance to Ident blocks/profile, follow the steps below: 1. Delete all previous blocks ("PIB_1200_UID_001KB", "Read", "Write", etc.) and their instance DBs from the "Program blocks" folder of the project tree. 2.
  • Page 70 Setting parameters for blocks 3.5 Programming the Ident profile Example: Changing with multi-instance To change from a block with multi-instance to Ident blocks/profile, follow the steps below: 1. Delete all previous blocks ("PIB_1200_UID_001KB", "Read", "Write", etc.) and their instance DBs from the "Program blocks" folder of the project tree. 2.
  • Page 71: Structure Of The Ident Profile

    Setting parameters for blocks 3.5 Programming the Ident profile With both variants, the variable table "PIB_CONSTANTS" is omitted. This no longer exists in the library and must also be deleted from the user program. Note Check the content of the "PIB_CONSTANTS" variable table before deleting it Before you delete the "PIB_CONSTANTS"...
  • Page 72 Setting parameters for blocks 3.5 Programming the Ident profile Figure 3-34 The input parameters of the Ident profile Note Working with multiple channels If you work with several channels, you must ensure that for each channel, the block is called with a separate instance DB.
  • Page 73 Setting parameters for blocks 3.5 Programming the Ident profile Interface description Table 3- 52 Input parameter Input parameter Data type Default value Meaning HW_CONNECT HW_CONNECT Own data type for physical addressing of communications modules and readers and for synchronizing the blocks used for each reader.
  • Page 74 Setting parameters for blocks 3.5 Programming the Ident profile Table 3- 53 Output parameter Output parameter Data type Default value Meaning DONE BOOL FALSE TRUE = Command was executed free of errors. ERROR BOOL FALSE TRUE = Error was detected. The error is output in the "STATUS"...
  • Page 75: Data Structure Of The Ident Profile

    Setting parameters for blocks 3.5 Programming the Ident profile Output parameter Data type Default value Meaning UIN0 BOOL FALSE With RFID readers, the number of transponders in the an- tenna field is indicated. UIN0 ... UIN3 can be interpreted as UIN1 BOOL FALSE...
  • Page 76 Setting parameters for blocks 3.5 Programming the Ident profile Figure 3-35 Data structure example of the Ident profile Ident profile and Ident blocks, standard function for Ident systems Function Manual, 10/2018, C79000-G8976-C387-04...
  • Page 77: Commands Of The Ident Profile

    Setting parameters for blocks 3.5 Programming the Ident profile Explanation of the data structure example ● CMDREF[1]: Command "WRITE-CONFIG", OFFSETBUFFER = 0 At the "CMDREF[1]" point you need to set the "WRITE-CONFIG" command so that the "INIT/Reset" is correctly executed. ●...
  • Page 78 Setting parameters for blocks 3.5 Programming the Ident profile Command Command code Parameters used Description ASCII WRITE-ID 0x67 ‘g‘ OFFSETBUFFER, RF61xR/RF68xR: EPCID_UID, LEN_ID, Writes a new EPC-ID to the transponder. NEW-LEN_ID, PSWD KILL-TAG 0x6A ‘j‘ EPCID_UID, LEN_ID, RF61xR/RF68xR: PSWD The transponder is permanently deactivated. LOCK-TAG-BANK 0x79 ‘y‘...
  • Page 79: Command Structure

    Setting parameters for blocks 3.5 Programming the Ident profile 3.5.4.1 Command structure Before you can start a command with "EXECUTE" or "INIT", you need to define the command. To allow simple definition of a command, the command buffer "CMDREF" was created using the "IID_CMD_STRUCT"...
  • Page 80 Setting parameters for blocks 3.5 Programming the Ident profile Parameter Data type Default val- Description EXT_UHF STRUCT Structure for additional parameters (RF61xR/RF68xR only) LEN_ID BYTE B#16#0 Length of the valid data in the "EPCID_UID" field. MEM_BANK BYTE B#16#3 Memory bank on the transponder 0x00 = RESERVED •...
  • Page 81: Commands

    Setting parameters for blocks 3.5 Programming the Ident profile 3.5.4.2 Commands All relevant parameters and parameter values for the individual commands are listed below. Parameters that are not listed receive the default value specified in the previous section. Table 3- 56 PHYSICAL-READ Parameter Value / description...
  • Page 82 Setting parameters for blocks 3.5 Programming the Ident profile Table 3- 57 PHYSICAL-WRITE Parameter Value / description 0x71 OFFSETBUFFER Offset in the "TXREF" send buffer LEN_DATA Length of the data to be written RF300 Gen1: Max. 57,085 bytes per write operation ADDR_TAG Address on the transponder CHAINED...
  • Page 83 Setting parameters for blocks 3.5 Programming the Ident profile Table 3- 58 READER-STATUS Parameter Value / description 0x74 OFFSETBUFFER Offset in the "RXREF" receive buffer ATTRIBUTES Identifier of the status modes / possible entries: RF200: 0x81 • RF300: 0x81, 0x86 •...
  • Page 84 Setting parameters for blocks 3.5 Programming the Ident profile Table 3- 60 INVENTORY Parameter Value / description 0x69 OFFSETBUFFER Offset in the "RXREF" receive buffer ATTRIBUTES Identifier of the status modes / possible entries: RF61xR/RF68xR: 0x80 ≙ inventory with brief transponder information •...
  • Page 85 Setting parameters for blocks 3.5 Programming the Ident profile Parameter Value / description INVENTORY_DUR_UNIT Only for 0x80 and 0x81: Unit for "DURATION" 0x00 ≙ time [ms] • 0x01 ≙ inventories • 0x02 ≙ number of transponders that achieve the "Observed" state •...
  • Page 86 Setting parameters for blocks 3.5 Programming the Ident profile Table 3- 63 Explanation of the structure of the data attachment for the "FORMAT" command Byte Description Bytes 1...8 Reserved for security code (must be assigned "0", since SIMATIC RFID has had no code previously) Byte 9 Length of the following data, here 6...
  • Page 87 Setting parameters for blocks 3.5 Programming the Ident profile Table 3- 66 Data structure of the PUT command Put_SET_ANT Switches the antenna of the reader off and on. Mode RF200/RF300, MOBY U/D: 0x01 ≙ antenna on • 0x02 ≙ antenna off •...
  • Page 88 Setting parameters for blocks 3.5 Programming the Ident profile Table 3- 68 KILL-TAG (RF61xR/RF68xR only) Parameter Value / description 0x6A EPCID_UID EPC-ID 0x00 ≙ unspecified single tag access LEN_ID Length of the previous EPC-ID (2-62 bytes) 0x00 ≙ unspecified single tag access PSWD Password must be ≠...
  • Page 89 Setting parameters for blocks 3.5 Programming the Ident profile Table 3- 71 GET-BLACKLIST (RF61xR/RF68xR only) Parameter Value / description 0x6C OFFSETBUFFER Offset in the "RXREF" receive buffer RXREF Read black list IDs Table 3- 72 READ-CONFIG Parameter Value / description 0x61 OFFSETBUFFER Offset in the "RXREF"...
  • Page 90 Setting parameters for blocks 3.5 Programming the Ident profile Structure of the configuration data attachment of "WRITE-CONFIG" For RF61xR/RF68xR and RF18xC: ● When CONFIG = 0x01: Reset_Reader; LEN_DATA = 0x00 ● When CONFIG = 0x03: When replacing a module, it is possible to read all the configuration data from the CM/reader and to store it on the controller.
  • Page 91 Setting parameters for blocks 3.5 Programming the Ident profile Table 3- 75 Bytes of the "PARAM" parameter Byte Value RFID system Meaning Byte 9 scanning_ RF200, 0x00 (reserved) time RF300, MOBY D RF600 "scanning_time" describes the radio profile according to EPC Global. Set the cor- rect standard according to the country in which you want to operate the reader.
  • Page 92 Setting parameters for blocks 3.5 Programming the Ident profile Byte Value RFID system Meaning 0xC8 1400 ms standby time Byte 10 param RF200, Setting for the RFID mode and presence check RF300, Description MOBY D, 7 ... 5 Presence check and transponder control: MOBY U 0x00 = Operation without presence check •...
  • Page 93 Setting parameters for blocks 3.5 Programming the Ident profile Byte Value RFID system Meaning RF600 RFID mode setting Description 7 ... 5 Presence check and transponder control: 0x00 = Operation without presence check • 0x01 = Operation with presence check •...
  • Page 94 RF200 0x00 (reserved) limiting RF300 Note: This parameter is intended for trained users. Siemens recommends that (only untrained users use the default value. RF380R) Readers of the 1st generation: With this parameter you can change the transmit power (output power) of the RF380R reader of the 1st generation (6GT2801- 3AB10).
  • Page 95 Setting parameters for blocks 3.5 Programming the Ident profile Byte Value RFID system Meaning MOBY U Distance limitation Normal transmit power Reduced output power 0x05 = 0.5 m 0x85 Set reduced transmit power when several readers are positioned close together or 0x0A = 1.0 m 0x8A when transponders which are located in...
  • Page 96 Setting parameters for blocks 3.5 Programming the Ident profile Byte Value RFID system Meaning RF600 "field_ON_control" sets the communications speed (fast/slow) and Tag Hold (ON/OFF). Description 0 ... 1 Speed Reader parameter assignments that have been optimized depending on the application are made available via the speed: 0x00 = Fast detection •...
  • Page 97 Setting parameters for blocks 3.5 Programming the Ident profile Byte Value RFID system Meaning Byte 16 field_on_ RF200 Transponder type time 0x01 Any ISO transponder RF300 Selection of the transponder types used With the value "0x01"/"0x31" (ISO 15693 general), the readers of the 2nd genera- tion always use the ISO commands with which the highest performance can be achieved for the particular transponder.
  • Page 98 Setting parameters for blocks 3.5 Programming the Ident profile Byte Value RFID system Meaning Note that individual settings or transponder families can be combined (e.g. ISO 15693 general + RF300). In this case, the relevant hex values need to be com- bined (ISO 15693 general [0x01] + RF300 [0x10] = 0x11).
  • Page 99: Expanded Commands For Optical Reader Systems (Mv400/Mv500)

    Setting parameters for blocks 3.5 Programming the Ident profile Byte Value RFID system Meaning MOBY D Transponder type 0 ... 255 Transponder type 0x00 I-Code 1 (e.g. MDS D139) 0x01 ISO transponder 0x02 I-Code 1 and ISO transponder 0x03 ISO-my-D (with SLG D10S only;...
  • Page 100 Setting parameters for blocks 3.5 Programming the Ident profile The "PHYSICAL-WRITE" command The optical reader systems MV400/MV500 have further commands that can be transferred with the "PHYSICAL-WRITE" command. Table 3- 78 PHYSICAL-WRITE OFFSET ADDR_TA LEN_DATA TXREF BUFFER 0x71 Offset in 0x0000 Length of data to be sent to the read- Sub command with data to be sent to the read-...
  • Page 101 Setting parameters for blocks 3.5 Programming the Ident profile Table 3- 81 Command data area "TXREF" command identifier 0x03 (write match string) Address Value Meaning 0x0000 0x03 Command identifier "Write match string" 0x0001 0x00...0xFF Match string length high byte 0x0002 0x00...0xFF Match string length low byte 0x0003...
  • Page 102 Setting parameters for blocks 3.5 Programming the Ident profile Table 3- 86 Command data area "TXREF" command identifier 0x08 (set Digital Out) Address Value Meaning 0x0000 0x08 Command identifier "Set Digital Out" 0x0001 0x01...0x04 Number of the logical external signal. Corre- sponds to "EXT_1", "EXT_2", "EXT_3"...
  • Page 103: Effect Of The Commands

    Setting parameters for blocks 3.5 Programming the Ident profile The "PHYSICAL-READ" command The "PHYSICAL-READ" command is used for the following functions: ● Reading codes ● Follow-on command after "activate read program number" for reading out the program number ● Follow-on command after "activate read match string" for reading out the match string Table 3- 87 PHYSICAL-READ OFFSET...
  • Page 104: Editing Commands

    Setting parameters for blocks 3.5 Programming the Ident profile 3.5.4.5 Editing commands Follow the steps below to edit the commands: 1. Write the "CMDREF" (Array [1…n]) parameter with the required commands. The content of "CMDREF" = [1] is reserved for initialization. It is executed when the "INIT" input of the Ident profile is set and "CMDSEL"...
  • Page 105: Parameter Assignment For Starting Up And Restarting

    Setting parameters for blocks 3.5 Programming the Ident profile 3.5.4.6 Parameter assignment for starting up and restarting The communications module and the reader are restarted by setting the "INIT" parameter. With the parameter, the CM or the reader and the Ident profile are reassigned parameters and synchronized.
  • Page 106 Setting parameters for blocks 3.5 Programming the Ident profile Command Command code Description ASCII TAG-STATUS 0x73 Reads out the status of a transponder. INVENTORY 0x69 Requests a list of all currently accessible transpond- ers within the antenna range. FORMAT 0x66 Initializes the transponder.
  • Page 107: Command Repetition

    Setting parameters for blocks 3.5 Programming the Ident profile If several commands are executed in the chain for which data is returned, the position of the data in the receive buffer "RXREF" can be set for each individual command using the "IID_CMD_STRUCT[x].OFFSETBUFFER"...
  • Page 108 Setting parameters for blocks 3.5 Programming the Ident profile Overview of the commands Table 3- 90 Overview of the commands with which command repetition is possible Command Command code Description ASCII PHYSICAL-READ 0x70 Reads data from a transponder / optical reader sys- tem by specifying the physical start address, the length and the password.
  • Page 109 Setting parameters for blocks 3.5 Programming the Ident profile Figure 3-37 Sequence of the repeat command with simultaneous command transfer Sequence of the repeat command without command transfer: This sequence is only possible if the command involved has already been transferred. 1.
  • Page 110 Setting parameters for blocks 3.5 Programming the Ident profile Ending command repetition You have the option of ending command repetition by resetting "RPTCMD" or using the "INIT" or "SRESET" commands. The various procedures are described below Ending the Repeat command and reset "RPTCMD": ①...
  • Page 111 Setting parameters for blocks 3.5 Programming the Ident profile Figure 3-40 Ending the Repeat command by resetting "RPTCMD" (the last command remains pending) Note Ending the Repeat command with "INIT" or "SRESET" End the Repeat command using the input parameters "INIT" or "SRESET" if it is not known how many transponders were still processed after resetting the "RPTCMD"...
  • Page 112 Setting parameters for blocks 3.5 Programming the Ident profile Ending the Repeat command with "SRESET": ① 1. Reset the "RPTCMD" input parameter and set the "SRESET" input parameter. 2. The "DONE" output parameter is set and the reader resets the "RPTACT" output ②...
  • Page 113: Transponder Addressing

    Setting parameters for blocks 3.6 Transponder addressing Transponder addressing Addressing Addressing of the transponders is linear from address "0x0000" (or the specified start address) to the end address. The CM or reader automatically recognizes the size of the memory on the transponder. If the end address on the transponder is exceeded, you receive an error message.
  • Page 114 Setting parameters for blocks 3.6 Transponder addressing System Addressing 16-bit hexadecimal number Start address 0xFFF0 Length 0x0008 Address space of the transponder versions for RF300 System Addressing 16-bit hexadecimal number RF300 20 bytes of data memory (EEPROM) R/W or OTP memory (EEPROM) (The EEPROM user memory for RF300 can be used either as R/W memory or as an OTP memory (see RF300 system manual)) Start address...
  • Page 115 Setting parameters for blocks 3.6 Transponder addressing System Addressing 16-bit hexadecimal number Start address 0xFF00 End address 0xFF13 R/W memory (FRAM) Start address 0x0000 End address 0xFEFC ID-Nr.: (fixed-coded; can only be output as a whole) Start address 0xFFF0 Length 0x0008 RF300: General notes on the meaning of the OTP memory RF300 transponders and ISO transponders have a memory area that can be protected...
  • Page 116 Setting parameters for blocks 3.6 Transponder addressing RF300: Address mapping of OTP memory on the RF300 transponder R/W EEPROM memory and OTP memory is only available once on the transponder. The following table shows the mapping of addresses on the transponder. Data can be read via the R/W address or the OTP address.
  • Page 117 Setting parameters for blocks 3.6 Transponder addressing Address space of the transponder versions for RF600 Tags Chip type User RESERVED Special [hex] (read only) (passwords) Area / Area / length Area / length Area / length KILL-PW Lock length cess function (max.
  • Page 118 Setting parameters for blocks 3.6 Transponder addressing Address spaces of the transponder variants for RF61xR/RF650R/RF68xR With the new readers RF61xR/RF650R/RF68xR, the user data, TID, EPC and passwords are read out via the relevant memory banks. To read out the required data, the relevant memory bank must be selected.
  • Page 119 Setting parameters for blocks 3.6 Transponder addressing Ident profile and Ident blocks, standard function for Ident systems Function Manual, 10/2018, C79000-G8976-C387-04...
  • Page 121: Error Messages

    Error messages Structure of the "STATUS" output parameter There is always an error status in the Ident profile function if the output parameter "ERROR = TRUE" is set. The error can be analyzed (decoded) using the "STATUS" output parameter. The "STATUS" output parameter is made up of the following 4 bytes: Table 4- 1 Bytes of the "STATUS"...
  • Page 122: 4.2 Step 7 - Error Messages

    Error messages 4.2 STEP 7 - error messages STEP 7 - error messages If you have inserted the blocks and data types in your project and you encounter problems during compilation, please check the following points: ● The block name, the block number and the data type name must not be changed. ●...
  • Page 123 Error messages 4.3 Errors from the communications module/reader Error mes- Description sage (hex) 0xE1FE0400 Only during initialization: Transponder is unable to execute the initialization command Transponder is defective • 0xE1FE0600 Error in transponder memory The transponder has never been written to or has lost the contents of its memory due to battery failure. Replace transponder (if battery bit is set) •...
  • Page 124 Error messages 4.3 Errors from the communications module/reader Error mes- Description sage (hex) 0xE2FE0100 Field disturbance on reader • Reader is receiving interference pulses from the environment. – External interference field. The interference field can be detected with the "inductive field indicator" of the STG.
  • Page 125 Error messages 4.3 Errors from the communications module/reader Error mes- Description sage (hex) 0xE2FE8600 The carrier signal is not activated. 0xE2FE8700 There is more than one transponder in the transmission window. 0xE2FE8800 General radio protocol error 0xE4FE0100 Short circuit or overload of the 24 V outputs The reader is using too much current.
  • Page 126 Error messages 4.3 Errors from the communications module/reader Error mes- Description sage (hex) 0xE4FE8C00 Communication error between Ident profile and communications module. Handshake error. • – UDT of this communications module is overwritten by other program sections – Check parameter settings of communications modules in the UDT –...
  • Page 127 Error messages 4.3 Errors from the communications module/reader Error mes- Description sage (hex) 0xE5FE0800 Previous command is active or buffer overflow A new command was sent to the reader or communications module although the last command was still active. Active command can only be terminated with an "INIT" •...
  • Page 128 Error messages 4.3 Errors from the communications module/reader Error mes- Description sage (hex) 0xE6FE0300 Bad parameter assignment of the communications module or reader • – Check "INPUT" parameter in the Ident profile. – Check parameter settings in HW Config / TIA Portal. –...
  • Page 129 Error messages 4.3 Errors from the communications module/reader Error mes- Description sage (hex) 0xE6FE8A00 Enabling write protection on the transponder has failed. 0xE6FE8B00 The "Kill" command failed. 0xE7FE0100 In this state, only the "Reset_Reader" command ("WRITE-CONFIG" with "CMDSEL =1" and "CMD = 0x78") is permitted.
  • Page 130: Errors From The Optical Reader

    Error messages 4.4 Errors from the optical reader Errors from the optical reader In the event of error messages, the "IN_OP" signal (in operation) is reset and the "STATE/SF" LED is lit red permanently. In addition, the "Ready" or "Done" bit is reset with a connection via the Ident profile.
  • Page 131 Error messages 4.4 Errors from the optical reader Error mes- Description sage (hex) 0xE4FE8400 Error in last command sequence. May occur if triggering is too fast. The Ident profile can only process one command before a new com- mand can be executed. 0xE6FE0400 The program could not be created or saved.
  • Page 132: Errors From The Bus/Backplane Bus

    Error messages 4.5 Errors from the bus/backplane bus Errors from the bus/backplane bus The transport layer of the bus system being used (backplane bus, PROFIBUS, PROFINET) is signaling an error. For precise troubleshooting and analysis, a PROFIBUS tracer can be useful.
  • Page 133: Appendix

    Appendix Internal status parameter Status variables Every Ident block has status outputs to allow a suitable reaction in the user program if an error occurs and to simplify error diagnostics on the device. In addition to this, every Ident block has a time stamp and an error memory to be able to better understand previous problems.
  • Page 134 Appendix A.1 Internal status parameter Further status variables exist in the "IID_HW_CONNECT" variable. Table A- 2 Status variables in "IID_HW_CONNECT" Name Data type Description STATUS_IN_WORK BOOL Command is currently being executed True = a block or the Ident profile is •...
  • Page 135: Cyclic Data

    Appendix A.2 Cyclic data Cyclic data A.2.1 Cyclic control word The following table shows the codes of the cyclic control word. Table A- 3 Codes of the control word: Cyclic output data Description 0 ... 5 Reserved RPTCMD SRESET 8 ... 14 Reserved INIT Table A- 4...
  • Page 136: Cyclic Status Word

    Appendix A.2 Cyclic data A.2.2 Cyclic status word The following table shows the codes of the cyclic status word. Table A- 5 Codes of the status word: Cyclic input data Description 0 ... 3 UIN0 ... UIN3 ERR_IREQ Reserved RPTACT SRESETACT Reserved Job counter (CC_L)
  • Page 137: Using The Acknowledgment And Command Counter

    Appendix A.2 Cyclic data Command / bit Significance for RFID systems Significance for optical readers Transponder Presence Manufacturer-specific 1 = There is a transponder in the antenna field of the reader. Transponder Presence Changed Not used (only when Presence_Mode is ac- tive) 1 = A new transponder enters the antenna field of the reader or a tran-...
  • Page 138 Appendix A.2 Cyclic data After the start procedure, the cyclic status byte is coded as follows: ① AC_H and AC_L ② CC_H and CC_L Figure A-1 Using the command and acknowledgment counter Ident profile and Ident blocks, standard function for Ident systems Function Manual, 10/2018, C79000-G8976-C387-04...
  • Page 139 Appendix A.2 Cyclic data Synchronization between command and acknowledgment counter The command counter (CC_H/CC_L) and the acknowledgment counter (AC_H/AC_L) are synchronized during a startup. The Ident device "AC_H/AC_L = 0" and "CC_H/CC_L = 1". Initialization can be triggered both by the Ident device (by switching it on again) and by the block (by means of "Init").
  • Page 140 Appendix A.2 Cyclic data Command termination with "SRESET" The "SRESET" command cancels execution of the command currently being processed. It is transferred from block (controller) to block (reader/optical reader) by means of cyclic communication (control and status word). Handshake is performed via "SRESET" and "Soft_Reset_Active".
  • Page 141: Service & Support

    Service & Support Industry Online Support In addition to the product documentation, the comprehensive online information platform of Siemens Industry Online Support at the following Internet address: Link 1: (https://support.industry.siemens.com/cs/de/en/) Apart from news, there you will also find: ● Project information: Manuals, FAQs, downloads, application examples etc.
  • Page 142 Appendix A.3 Service & Support Ident profile and Ident blocks, standard function for Ident systems Function Manual, 10/2018, C79000-G8976-C387-04...

Table of Contents