SIMATIC RF200 IO-Link 1 ___________________ Introduction 2 ___________________ Description SIMATIC Ident RFID systems SIMATIC RF200 IO-Link 3 ___________________ System overview Planning an RF200 IO-Link 4 ___________________ system Commissioning and 5 ___________________ parameter assignment 6 ___________________ Readers System Manual 7 ___________________ Diagnostics 8 ___________________ Technical data 9 ___________________ Connecting cable 10 ___________________ Ordering data 11 ___________________ Service & support A ___________________ Appendix 03/2012 C79000-G8976-C276-01 Legal information Legal information Warning notice system This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are graded according to the degree of danger. DANGER indicates that death or severe personal injury will result if proper precautions are not taken. WARNING indicates that death or severe personal injury may result if proper precautions are not taken. CAUTION with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken. CAUTION without a safety alert symbol, indicates that property damage can result if proper precautions are not taken. NOTICE indicates that an unintended result or situation can occur if the relevant information is not taken into account. If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage. Qualified Personnel The product/system described in this documentation may be operated only by personnel qualified for the specific task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified personnel are those who, based on their training and experience, are capable of identifying risks and avoiding potential hazards when working with these products/systems. Proper use of Siemens products 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. The permissible ambient conditions must be complied with. The information in the relevant documentation must be observed. Trademarks All names identified by (R) are registered trademarks of Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner. Disclaimer of Liability We have reviewed the contents of this publication to ensure consistency with the hardware and software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions. Siemens AG Industry Sector Postfach 48 48 90026 NURNBERG GERMANY Order number: C79000-G8976-C276 03/2012 Technical data subject to change Copyright (c) Siemens AG 2012. All rights reserved Table of contents 1 Introduction................................................................................................................................................ 5 2 Description................................................................................................................................................. 7 3 4 5 2.1 Area of application of the RF200 IO-Link reader ...........................................................................7 2.2 IO-Link basics ................................................................................................................................7 2.3 Characteristics of the RF200 IO-Link reader .................................................................................9 2.4 System integration .........................................................................................................................9 System overview...................................................................................................................................... 11 3.1 RFID components and their function ...........................................................................................11 3.2 Overview of transponders ............................................................................................................13 Planning an RF200 IO-Link system ......................................................................................................... 15 4.1 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 Fundamentals of application planning .........................................................................................15 Selection criteria for SIMATIC RF200 components .....................................................................15 Transmission window and read/write distance ............................................................................15 Width of the transmission window................................................................................................18 Permissible directions of motion of the transponder....................................................................19 Operation in static and dynamic mode ........................................................................................20 Communication between the IO-Link master, reader and transponder.......................................21 Impact of secondary fields ...........................................................................................................22 4.2 4.2.1 4.2.2 Field data of transponders and readers.......................................................................................25 Field data .....................................................................................................................................25 Minimum clearances ....................................................................................................................27 4.3 4.3.1 4.3.2 4.3.3 4.3.4 4.3.4.1 4.3.4.2 4.3.4.3 Installation guidelines...................................................................................................................29 Overview ......................................................................................................................................29 Reduction of interference due to metal........................................................................................29 Effects of metal on different transponders and readers...............................................................32 Impact of metal on the transmission window ...............................................................................32 RF210R........................................................................................................................................33 RF220R........................................................................................................................................35 RF260R........................................................................................................................................37 4.4 Further information.......................................................................................................................39 Commissioning and parameter assignment............................................................................................. 41 5.1 Configuring...................................................................................................................................41 5.2 5.2.1 5.2.2 Parameter assignment of the IO-Link system..............................................................................45 The Port Configuration Tool (PCT) ..............................................................................................47 Parameter assignment with PCT .................................................................................................48 5.3 5.3.1 5.3.2 The modes of the RF200 IO-Link reader .....................................................................................68 SIO mode .....................................................................................................................................68 IO-Link mode: Scan UID ..............................................................................................................68 SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 3 Table of contents 6 5.3.3 IO-Link mode: Scan user data .................................................................................................... 69 5.4 5.4.1 ISDU data traffic.......................................................................................................................... 71 IOL_CALL.................................................................................................................................... 71 5.5 Application example .................................................................................................................... 72 Readers ................................................................................................................................................... 75 6.1 Features ...................................................................................................................................... 75 6.2 Pin assignment of the RF200 reader with IO-Link interface ....................................................... 76 6.3 Display elements of the RF200 reader ....................................................................................... 76 6.4 Minimum distance between several readers............................................................................... 77 6.5 Dimensional drawings ................................................................................................................. 79 7 Diagnostics .............................................................................................................................................. 81 8 Technical data ......................................................................................................................................... 83 8.1 Technical data of the RF200 reader ........................................................................................... 83 8.2 FCC information .......................................................................................................................... 85 8.3 cULus information ....................................................................................................................... 85 9 Connecting cable ..................................................................................................................................... 87 10 Ordering data........................................................................................................................................... 89 11 Service & support .................................................................................................................................... 91 A Appendix.................................................................................................................................................. 93 A.1 A.1.1 A.1.2 IO-Link error codes ..................................................................................................................... 93 ISDU return error codes .............................................................................................................. 93 Event error codes........................................................................................................................ 94 A.2 Overview of the service data....................................................................................................... 96 A.3 Certificates and Approvals ........................................................................................................ 101 Index...................................................................................................................................................... 103 SIMATIC RF200 IO-Link 4 System Manual, 03/2012, C79000-G8976-C276-01 1 Introduction Purpose of this system manual The information provided in this system manual enables you to commission the IO Link reader. Basic knowledge required This system manual assumes general knowledge of automation engineering and identification systems. Scope of the manual The system manual is valid for the IO-Link reader. Position in the information landscape In addition to this system manual, you require the operating instructions for the IO Link master you are using. Conventions The following terms/abbreviations are used synonymously in this document: Reader, reading device, SLG Tag, transponder, mobile data memory, data carrier, MDS Registered trademarks SIMATIC (R) is a registered trademark of Siemens AG. IO-Link is a registered trademark of the IO-Link consortium. SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 5 Introduction Guide This system manual describes hardware and programming of the IO-Link reader. They comprise introductory chapters and reference chapters (e.g. technical data). The system manual covers the following topics: Introduction to IO-Link Connecting the reader Assigning reader parameters Commissioning Diagnostics Technical specifications Ordering data Additional documentation The following documents contain information on the IO-Link masters ET 200S and ET 200eco and may contain further information that is relevant for you: Distributed I/O system ET 200S (http://support.automation.siemens.com/WW/view/en/1144348) Distributed I/O device ET 200eco PN (http://support.automation.siemens.com/WW/view/en/29999018) Recycling and disposal Since RF200 IO-Link readers only contain low levels of harmful substances, they are suitable for recycling. For ecologically compatible recycling and disposal of your old device, contact a certificated disposal service for electronic scrap. SIMATIC RF200 IO-Link 6 System Manual, 03/2012, C79000-G8976-C276-01 2 Description 2.1 Area of application of the RF200 IO-Link reader SIMATIC RF200 IO-Link is an inductive identification system that is compatible with the ISO 15693 standard and was specially designed for use in industrial production for the control and optimization of material flow. With the IO-Link communications interface, readers can be used below the fieldbus level. SIMATIC RF200 IO-Link is an alternative to SIMATIC RF300 and represents a simple and cost-effective option for RFID applications. 2.2 IO-Link basics The system components IO-Link is a specified point-to-point communications interface for sensors/actuators and consists of the following system components: IO-Link master, IO-Link device (e.g. sensors, actuators, RFID readers), Unshielded 3-wire standard cable. The master / the port operating modes A master has one or more ports and one device can be connected to each port. The port can basically be set to two different operating modes: SIO mode (Standard Input Output mode) In this mode, the device can be used like a digital input module. IO-Link mode (SDCI: Single Drop digital Communication Interface) In this mode, the master communicates with the device and process data and service data can be transferred. SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 7 Description 2.2 IO-Link basics The types of communication During communication at the IO-Link level, the following types of data are distinguished: Cyclic process data (input/output data) The data is always transferred with a previously specified length. Acyclic service data (parameters, on-request data) The data to be written or read is transferred only on request. Since a fixed area is reserved for this in the communication cycle, the acyclic data transfer does not influence the transfer of the cyclic process data. Events (errors, warnings, notifications) This works in the same way as with acyclic service data, the only difference being that the transfer is triggered by the device due to events. The data types While the cyclic process data is exchanged via a defined fixed area, the acyclic service data is selected and addressed using an index or subindex. The indexes available for the RF200 IO-Link reader can be found in the section "Commissioning and parameter assignment (Page 41)". To allow system integration, each device type has an IODD file available that contains the following information: Representation of the communications properties Representation of accessible device data Identification, process and diagnostics data Menu layout Textual descriptions in various languages Image of the device Logo of the manufacturer SIMATIC RF200 IO-Link 8 System Manual, 03/2012, C79000-G8976-C276-01 Description 2.3 Characteristics of the RF200 IO-Link reader 2.3 Characteristics of the RF200 IO-Link reader The IO-Link reader reads out either the UID or user-specific data of a transponder and maps this to cyclically updated process data. This data can be read out via the IO-Link master by a PC or a PLC. The IO-Link reader has the following characteristics: Point-to-point communication, the address of the IO-Link device does not need to be set Supports IO-Link according to specification V1.0 IO-Link baud rate 38.4 Kbaud, cycle time 2.5 ms Transfer of service data parallel to process data SIO mode (reader indicates the presence of a transponder on the data line (C/Q)) IODD file for support of parameter assignment, diagnostics and data access. System integration (TIA) using Port Configuration Tool (PCT) Degree of protection IP67 RFID 13.56 MHz complying with ISO 15693 2.4 System integration The readers are IO-Link device modules intended for operation with an IO-Link master. Depending on the category of the IO-Link master, this can be connected to various controllers or fieldbus systems. The number of devices or readers that can be connected to an IO-Link master differs depending on the master type. The master type and the number of available IO-Link ports affect the maximum process data length of the master. SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 9 Description 2.4 System integration Interfacing to the controller With the readers RF210R, RF220R and RF260R, the connection to the controller is via the following IO-Link masters from Siemens: ET 200eco PN ET 200S with 4SI IO-Link master or via masters of other manufacturers. 0DVWHUPRGXOH 6,0$7,&6 7KLUGSDUW\ FRQWUROOHU 352),%86 %DFNSODQHRU )LHOGEXV 352),1(7 ,QGXVWULDO(WKHUQHW ,2/LQNPDVWHU HJ(76 ,2/LQNPDVWHU HJ(7HFR31 ,2/LQNPDVWHU IRUILHOGEXV ,2/LQN 5HDGHU 5HDGHU 5HDGHUV 7UDQVSRQGHU WRUHDGHUVFRQQHFWDEOHSHU,2/LQNPDVWHU Figure 2-1 Configuration example SIMATIC RF200 IO-Link 10 System Manual, 03/2012, C79000-G8976-C276-01 3 System overview 3.1 RFID components and their function RF200 system components (76 6,(0(16,2/LQN PDVWHU352),%86 ,2/LQNPDVWHU IRUWKLUGSDUW\EXV V\VWHPV ,2/LQNPDVWHU (7HFR31 6,(0(16,2/LQN PDVWHU352),1(7 5HDGHUV 5),2/LQNLQWHUIDFH 5)5 5)0 5)5 5)5 7UDQVSRQGHU 3RZHUDQGGDWDWUDQVPLVVLRQ0+] 0'6' 0'6' Figure 3-1 0'6' 0'6' 0'6' 0'6' 0'6' 0'6' 0'6' 0'6' 0'6' 0'6' 0'6' 0'6' 0'6' 0'6' System overview RF200 IO-Link SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 11 System overview 3.1 RFID components and their function Table 3- 1 Possible reader-transponder combinations Transponder / MDS RF210R RF220R RF260R RF310M MDS D100 -- MDS D124 -- MDS D126 1) MDS D139 -- MDS D160 2) MDS D165 -- MDS D200 -- MDS D261 -- MDS D324 MDS D421 -- -- MDS D422 -- MDS D424 MDS D425 -- MDS D426 -- MDS D428 MDS D460 1) Only with the order number 6GT2600-0AA10 2) Only with the order number 6GT2600-0AB10 Combination possible -- Combination not possible Combination possible, but not recommended Note For further information about the SIMATIC RF310M mobile reader, please refer to the SIMATIC RF310M Operating Instructions (http://support.automation.siemens.com/WW/view/en/40959516). SIMATIC RF200 IO-Link 12 System Manual, 03/2012, C79000-G8976-C276-01 System overview 3.2 Overview of transponders 3.2 Overview of transponders Overview of the ISO transponders for RF200 available today from Siemens and their typical areas of application: Transponder Area of application MDS D100 Barcode supplement for storage and distribution logistics MDS D124 Small paint shops up to 180 C MDS D126 Identification of transport units MDS D139 Paint spraying lines in the automobile industry MDS D160 Hired workwear, hospital clothing MDS D165 Smart labels (self-adhering labels) as substitute for electronic barcode MDS D200 Warehouse and distribution logistics MDS D261 Smart labels (self-adhering labels) as substitute for electronic barcode MDS D324 Assembly and production lines MDS D422 Identification of metallic workpiece holders, workpieces or containers MDS D421 Tool coding according to DIN 69873 MDS D424 Use in assembly and manufacturing lines MDS D425 For applying to motors, gearboxes and workpiece holders MDS D426 Identification of transport units MDS D428 Compact ISO transponder for automatic assembly with screws MDS D460 Assembly lines with very small workpiece holders See also MOBY D system manual (http://support.automation.siemens.com/WW/view/en/13628689) RF200 system manual (http://support.automation.siemens.com/WW/view/en/47189592) SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 13 System overview 3.2 Overview of transponders SIMATIC RF200 IO-Link 14 System Manual, 03/2012, C79000-G8976-C276-01 Planning an RF200 IO-Link system 4.1 Fundamentals of application planning 4.1.1 Selection criteria for SIMATIC RF200 components 4 Assess your application according to the following criteria, in order to choose the right SIMATIC RF200 components: Static or dynamic data transfer Data volume to be transferred Ambient conditions such as relative humidity, temperature, chemical impacts, etc. 4.1.2 Transmission window and read/write distance The reader generates an inductive alternating field. The field is strongest close to the reader; however, a read distance of "zero" between reader and transponder is not recommended. The strength of the field decreases in proportion to the distance from the reader. The distribution of the field depends on the structure and geometry of the antennas in the reader and transponder A prerequisite for the function of the transponder is a minimum field strength at the transponder, which is still barely achieved at distance Sg from the reader. SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 15 Planning an RF200 IO-Link system 4.1 Fundamentals of application planning The picture below shows the transmission window of the SIMATIC RF210R and SIMATIC RF220R readers between transponder and reader: 6LGHYLHZ / 6D 6J 7UDQVSRQGHU 7RSYLHZ 63 / 7UDQVSRQGHU 7UDQVPLVVLRQZLQGRZ Sa Operating distance between transponder and reader Sg Limit distance (maximum clear distance between upper surface of the reader and the transponder, at which the transmission can still function under normal conditions) L Diameter of a transmission window.. SP Intersection of the axes of symmetry of the transponder Figure 4-1 RF210R/RF220R transmission window SIMATIC RF200 IO-Link 16 System Manual, 03/2012, C79000-G8976-C276-01 Planning an RF200 IO-Link system 4.1 Fundamentals of application planning The picture below shows the transmission window of the SIMATIC RF260R reader between transponder and reader: )URQWYLHZ / 6LGHYLHZ / 6D 6J 7UDQVSRQGHU 7RSYLHZ 63 / / 0 7UDQVSRQGHU 7UDQVPLVVLRQZLQGRZ Sa Operating distance between transponder and reader Sg Limit distance (maximum clear distance between upper surface of the reader and the transponder, at which the transmission can still function under normal conditions) L Length of a transmission window M Field centerpoint Figure 4-2 RF260R transmission window SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 17 Planning an RF200 IO-Link system 4.1 Fundamentals of application planning The transponder can be used as soon as the intersection (SP) of the transponder enters the area of the transmission window. From the diagrams above, it can also be seen that operation is possible within the area between Sa and Sg. The active operating area reduces as the distance increases, and shrinks to a single point at distance Sg. Only static mode should thus be used in the area between Sa and Sg. 4.1.3 Width of the transmission window Determining the width of the transmission window The following approximation formula can be used for practical applications: % y/ B: Width of the transmission window L: Length of the transmission window Tracking tolerances The width of the transmission window (B) is particularly important for the mechanical tracking tolerance. The formula for the dwell time is valid without restriction when B is observed. SIMATIC RF200 IO-Link 18 System Manual, 03/2012, C79000-G8976-C276-01 Planning an RF200 IO-Link system 4.1 Fundamentals of application planning 4.1.4 Permissible directions of motion of the transponder Detection area and direction of motion of the transponder The transponder and reader have no polarization axis, i.e. the transponder can come in from any direction, assume any position as parallel as possible to the reader, and cross the transmission window. The figure below shows the active area for various directions of transponder motion: / % RU RU % / / % Transmission window Direction of motion of the transponder Detection area L x W Figure 4-3 Detection areas of the reader for different directions of transponder motion SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 19 Planning an RF200 IO-Link system 4.1 Fundamentals of application planning 4.1.5 Operation in static and dynamic mode Operation in static mode If working in static mode, the transponder can be operated up to the limit distance (Sg). The transponder must then be positioned exactly over the reader: 7UDQVSRQGHU 7UDQVPLVVLRQ ZLQGRZ 6J 5HDGHU Figure 4-4 Operation in static mode In static operation, the dwell time tv can be of any length (depending on the application). The dwell time must be sufficiently long to allow communication with the transponder to be completed. Note Note that in a metallic environment the values for the limit distance are reduced. Operation in dynamic mode Working in dynamic mode is not recommended for the RF200 IO-Link. See also Field data of transponders and readers (Page 25) SIMATIC RF200 IO-Link 20 System Manual, 03/2012, C79000-G8976-C276-01 Planning an RF200 IO-Link system 4.1 Fundamentals of application planning 4.1.6 Communication between the IO-Link master, reader and transponder Communication between the IO-Link master, reader and transponder is asynchronous via the IO-Link interface. Calculation of the communication time for interference-free transfer The communication time for fault-free data transfer is calculated as follows: tK = K + tByte n (n >1) If the transmission is interrupted briefly due to external interference, the reader automatically continues the command. Calculation of the maximum amount of user data The maximum amount of user data is calculated as follows: tk: Communication time between IO-Link master, reader and transponder tv: Dwell time n: Amount of user data in bytes nmax: Max. amount of user data in bytes in dynamic mode tbyte: Transmission time for 1 byte K: Constant; the constant is an internal system time. This contains the time for power buildup on the transponder and for command transfer Time constants K and tbyte Table 4- 1 Typical time constants for static operation with an IO-Link cycle of 3 ms (data hold time = minimum / ready delay = deactivated) Read IO-Link in the "UID acquisition" mode IO-Link in the "user data acquisition" mode K [ms] tbyte [ms] K [ms] tbyte [ms] 90 0 0 40 Here, it must be taken into account that 4-byte blocks are always read. SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 21 Planning an RF200 IO-Link system 4.1 Fundamentals of application planning 4.1.7 Impact of secondary fields Secondary fields in the range from 0 mm to 30 % of the limit distance (Sg) always exist. They should only be used during configuration in exceptional cases, however, since the read/write distances are very limited. Exact details of the secondary field geometry cannot be given, since these values depend heavily on the operating distance and the application. When working, it must be taken into account that at the changeover from the secondary field to the main field, the presence of the transponder can be lost temporarily. It is therefore advisable to select a distance > 30 % of Sg. 6J 6DPD[ 7DJ 'LUHFWLRQRIWDJPRYHPHQW *DSLQILHOG $SSUR[6 J 7DJ 'LUHFWLRQRIWDJPRYHPHQW 5HDGHUV Figure 4-5 Gap in the field resulting from secondary fields SIMATIC RF200 IO-Link 22 System Manual, 03/2012, C79000-G8976-C276-01 Planning an RF200 IO-Link system 4.1 Fundamentals of application planning Secondary fields without shielding 7DJ &RQYH\RUGLUHFWLRQ 7DJ 6HFRQGDU\ ILHOG 5HDGHUV )UGHUULFKWXQJ The following graphic shows typical primary and secondary fields, if no shielding measures are taken. 0DLQILHOG 7DJ Figure 4-6 Secondary field without shielding In this arrangement, the reader can also read transponders via the secondary field. Shielding is required in order to prevent unwanted reading via the secondary field, as shown and described in the following. SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 23 Planning an RF200 IO-Link system 4.1 Fundamentals of application planning Secondary fields with shielding The following graphic shows typical primary and secondary fields, with metal shielding this time. &RQYH\RUGLUHFWLRQ 7DJ 7DJ 6HFRQGDU\ ILHOG 5HDGHUV &RQYH\RUGLUHFWLRQ The metal shielding prevents the reader from detecting transponders via the secondary field. 0DLQILHOG 7DJ 0HWDOVKLHOGLQJ Figure 4-7 Secondary field with shielding SIMATIC RF200 IO-Link 24 System Manual, 03/2012, C79000-G8976-C276-01 Planning an RF200 IO-Link system 4.2 Field data of transponders and readers 4.2 Field data of transponders and readers 4.2.1 Field data The limit distances (Sg) and operating distances (Sa) along with the length of the transmission window for each reader-transponder combination are listed in the tables below. All dimensions in mm. Table 4- 2 SIMATIC RF210R field data Length of the transmission window (L) Operating distance (Sa) Limit distance (Sg) MDS D124 25 1 ... 18 20 MDS D160 20 1 ... 10 12 MDS D324 20 1 ... 8 9 MDS D421 5 0 ... 3 4 MDS D422 8 1 ... 9 10 MDS D424 24 1 ... 16 18 MDS D425 14 1 ...7 8 MDS D428 20 1 ... 10 11 MDS D460 8 1...8 9 Table 4- 3 SIMATIC RF220R field data Length of the transmission window (L) Operating distance (Sa) Limit distance (Sg) MDS D124 35 1 ... 28 31 MDS D126 40 2 ... 30 35 MDS D160 20 1 ... 20 22 MDS D324 30 2 ... 21 25 MDS D422 18 1 ... 12 14 MDS D424 30 2 ... 25 29 MDS D425 20 1 ... 12 14 MDS D426 45 2 ... 18 20 MDS D428 25 1 ... 18 21 MDS D460 25 1 ... 18 20 SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 25 Planning an RF200 IO-Link system 4.2 Field data of transponders and readers Table 4- 4 SIMATIC RF260R field data Length of the transmission window (L) Operating distance (Sa) Limit distance (Sg) MDS D100 120 2 ... 110 130 MDS D124 60 2 ... 80 85 MDS D126 80 2 ... 75 100 MDS D139 120 2 ... 80 110 MDS D160 60 2 ... 40 45 MDS D165 120 2 ... 120 135 MDS D200 120 2 ... 100 120 MDS D261 80 2 ... 75 90 MDS D324 80 2 ... 60 70 MDS D424 80 2 ... 60 70 MDS D426 100 2 ... 50 60 MDS D428 50 2 ... 40 45 MDS D460 50 2 ... 40 45 SIMATIC RF200 IO-Link 26 System Manual, 03/2012, C79000-G8976-C276-01 Planning an RF200 IO-Link system 4.2 Field data of transponders and readers 4.2.2 Minimum clearances Minimum distance from transponder to transponder The specified distances refer to a metal-free environment. For a metallic environment, the specified minimum distances must be multiplied by a factor of 1.5. Table 4- 5 Minimum clearances for transponder RF210R RF220R RF260R MDS D100 - 60 240 MDS D124 25 40 180 MDS D126 - 50 180 MDS D139 - 100 200 MDS D160 20 25 150 MDS D165 - 60 240 MDS D200 - 60 240 MDS D261 - 50 200 MDS D324 25 40 180 MDS D421 10 15 - MDS D422 15 20 100 MDS D424 25 40 180 MDS D425 20 25 - MDS D426 - 50 180 MDS D428 25 25 150 MDS D460 20 25 150 The values are all in mm, relative to the operating distance (Sa) between reader and transponder, and between transponder edge and transponder edge SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 27 Planning an RF200 IO-Link system 4.2 Field data of transponders and readers Minimum distance from reader to reader RF210R to RF210R RF220R to RF220R RF260R to RF260R 60 mm 100mm 150 mm All values are in mm NOTICE Effect on inductive fields by not maintaining the minimum distances of the readers If the values fall below those specified in the "minimum distance from reader to reader", there is a risk of the function being affected by inductive fields. In this case, the data transfer time would increase unpredictably or a command would be aborted with an error. Adherence to the values specified in the "Minimum distance from reader to reader" table is therefore essential. If the minimum clearance cannot be maintained due to the construction, the HF field (antenna) of the reader can be turned on or off via the process image (PIQ). SIMATIC RF200 IO-Link 28 System Manual, 03/2012, C79000-G8976-C276-01 Planning an RF200 IO-Link system 4.3 Installation guidelines 4.3 Installation guidelines 4.3.1 Overview The transponder and reader complete with their antennas are inductive devices. Any type of metal in the vicinity of these devices affects their functionality. Some points need to be considered during configuration and installation if the values described in the section "Field data (Page 25)" are to retain their validity: Minimum spacing between two readers or their antennas Minimum distance between two adjacent data memories Metal-free area for flush-mounting of readers or their antennas and transponders in metal Mounting of multiple readers or their antennas on metal frames or racks The following sections describe the impact on the operation of the RFID system when mounted in the vicinity of metal. 4.3.2 Reduction of interference due to metal Interference due to metal rack 0HWDOUDFN Problem 1RQPHWDOOLFVSDFHU A metal rack is located above the transmission window of the reader. This affects the entire field. In particular, the transmission window between reader and transponder is reduced. 6KHHW 7UDQVSRQGHU 6D 5HDGHUV 0HWDO Remedy: 7UDQVSRQGHU The transmission window is no longer affected if the transponder is mounted differently. 5HDGHU SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 29 Planning an RF200 IO-Link system 4.3 Installation guidelines Flush-mounting Flush-mounting of transponders and readers Problem 1RQPHWDOOLFVSDFHU Flush-mounting of transponders and readers is possible in principle. However, the size of the transmission window is significantly reduced. The following measures can be used to counteract the reduction of the window: 6KHHW 0HWDO 5HDGHUV 0HWDO Remedy: Enlargement of the non-metallic spacer below the transponder and/or reader. [!PP PP The transponder and/or reader are 10 to 20 mm higher than the metal surround. 5HDGHU (The value x 100 mm is valid, e.g. for RF310R. It indicates that, for a distance x 100 mm, the reader can no longer be significantly affected by metal.) Remedy: Increase the non-metallic distance a, b. E The following rule of thumb can be used: D D 5HDGHU * Increase a, b by a factor of 2 to 3 over the values specified for metal-free areas * Increasing a, b has a greater effect for readers or transponders with a large limit distance than for readers or transponders with a small limit distance. E SIMATIC RF200 IO-Link 30 System Manual, 03/2012, C79000-G8976-C276-01 Planning an RF200 IO-Link system 4.3 Installation guidelines Mounting of several readers on metal frames or racks Any reader mounted on metal couples part of the field to the metal frame. There is normally no interaction as long as the minimum distance D and metal-free areas a, b are maintained. However, interaction may take place if an iron frame is positioned unfavorably. Longer data transfer times or sporadic error messages at the communication module are the result. Mounting of several readers on metal racks Problem: Interaction between readers Remedy Increase the distance D between the two readers. 5HDGHU 5HDGHU ' Remedy 5HDGHU 5HDGHU Remedy 1RQPHWDOOLF VSDFHU 5HDGHU Introduce one or more iron struts in order to shortcircuit the stray fields. Insert a non-metallic spacer of 20 to 40 millimeter thickness between the reader and the iron frame. This will significantly reduce the induction of stray fields on the rack: 5HDGHU SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 31 Planning an RF200 IO-Link system 4.3 Installation guidelines 4.3.3 Effects of metal on different transponders and readers Mounting different transponders and readers on metal or flush-mounting Certain conditions have to be observed when mounting the transponders and readers on metal or flush-mounting. For more information, please refer to the descriptions of the individual transponders and readers in the relevant section. 4.3.4 Impact of metal on the transmission window In general, the following points should be considered when mounting RFID components: Direct mounting on metal is allowed only in the case of specially approved transponders. Flush-mounting of the components in metal reduces the field data; a test is recommended in critical applications. When working inside the transmission window, it should be ensured that no metal rail (or similar part) intersects the transmission field. The metal rail would affect the field data. The impact of metal on the field data (Sg, Sa, L) is shown in a table in this section. The values in the table describe the reduction of the field data in % with reference to non-metal (100% means no impact). SIMATIC RF200 IO-Link 32 System Manual, 03/2012, C79000-G8976-C276-01 Planning an RF200 IO-Link system 4.3 Installation guidelines 4.3.4.1 RF210R The RF210R can be flush-mounted in metal. Please allow for a possible reduction in the field data values. The following table shows the different arrangements for the reader with and without a metallic environment: Case Diagram Description a) Reader metal-free b) Reader on metal, distance from metal 12 mm c) Reader on metal, flush against M18 nut d) Reader mounted surrounded by metal D To avoid any impact on the field data, in Case d, the distance a should be 10 mm. SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 33 Planning an RF200 IO-Link system 4.3 Installation guidelines Table 4- 6 Reduction of field data by metal: Transponder and RF210R Transponder MDS D124 Reader without metal (Case a, b and d) Reader flush-mounted in metal Metal-free 100 82 On metal, distance 25 mm 90 90 Flush-mounted in metal; 85 80 100 95 (Case c) distance all-round 25 mm MDS D160 Metal-free On metal, distance 25 mm 100 95 Not envisaged Not envisaged Metal-free 100 90 On metal, distance 25 mm 90 90 Flush-mounted in metal; 80 90 Flush-mounted in metal MDS D324 distance all-round 25 mm MDS D421 MDS D422 MDS D424 Metal-free 100 90 Flush-mounted in metal 75 50 Metal-free 100 80 Flush-mounted in metal 90 40 Metal-free 100 60 On metal, distance 25 mm 95 75 Flush-mounted in metal; 80 70 Metal-free 100 85 Screwed onto metal 100 85 Flush-mounted in metal; 90 70 Metal-free 100 90 On metal 100 80 Flush-mounted in metal; 90 80 Metal-free 100 90 On metal, distance 25 mm 100 90 Flush-mounted in metal 90 90 distance all-round 25 mm MDS D425 distance all-round 25 mm MDS D428 distance all-round 25 mm MDS D460 The values in the table describe the reductions in field data. All values are percentages, with reference to metal-free (100% means no impact). SIMATIC RF200 IO-Link 34 System Manual, 03/2012, C79000-G8976-C276-01 Planning an RF200 IO-Link system 4.3 Installation guidelines 4.3.4.2 RF220R The RF220R can be flush-mounted in metal. Please allow for a possible reduction in the field data values. The following table shows the different arrangements for the reader with and without a metallic environment: Case Diagram Description a) Reader metal-free b) Reader on metal, distance from metal 12 mm c) Reader on metal, flush against M30 nut d) Reader mounted surrounded by metal D To avoid any impact on the field data, in Case d, the distance a should be 15 mm. SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 35 Planning an RF200 IO-Link system 4.3 Installation guidelines Table 4- 7 Reduction of field data by metal: Transponder and RF220R Transponder MDS D124 Reader without metal (Case a, b and d) Reader mounted in metal Metal-free 100 94 On metal, distance 25 mm 97 89 Tag flush-mounted in metal; 86 83 Metal-free 100 75 On metal, distance 25 mm 85 70 Flush-mounted in metal; 80 65 Metal-free 100 89 On metal, distance 25 mm 93 89 (Case c) distance all-round 25 mm MDS D126 distance all-round 25 mm MDS D160 Flush-mounted in metal MDS D324 Not envisaged Metal-free 100 90 On metal, distance 25 mm 97 86 Flush-mounted in metal; 93 86 Metal-free 100 90 Flush-mounted in metal 85 85 Metal-free 100 93 On metal, distance 25 mm 96 89 Flush-mounted in metal; 86 82 distance all-round 25 mm MDS D422 MDS D424 distance all-round 25 mm MDS D425 Metal-free 100 90 Screwed onto metal 100 75 Flush-mounted in metal; 95 75 Metal-free 100 90 On metal, distance 25 mm 90 75 Flush-mounted in metal; 80 70 Metal-free 100 94 On metal 100 94 Flush-mounted in metal; 94 94 distance all-round 25 mm MDS D426 distance all-round 25 mm MDS D428 distance all-round 25 mm SIMATIC RF200 IO-Link 36 System Manual, 03/2012, C79000-G8976-C276-01 Planning an RF200 IO-Link system 4.3 Installation guidelines Transponder Reader without metal MDS D460 (Case a, b and d) Reader mounted in metal Metal-free 100 92 On metal, distance 25 mm 100 92 Flush-mounted in metal 100 92 (Case c) distance all-round 25 mm The values in the table describe the reductions in field data. All values are percentages, with reference to metal-free (100% means no impact). 4.3.4.3 RF260R The RF260R can be flush-mounted in metal. Please allow for a possible reduction in the field data values. D D 6,0$7,& 5)5 D D Figure 4-8 Metal-free area for RF260R To avoid any impact on the field data, the distance a should be 20 mm. SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 37 Planning an RF200 IO-Link system 4.3 Installation guidelines Table 4- 8 Reduction of field data by metal: Transponder and RF260R Transponder MDS D100 Reader without metal Reader on metal Reader flushmounted in metal (metal plate) (all-round 20 mm) Without metal 100 85 65 On metal, distance 20 mm 70 65 50 Flush-mounted in metal; 65 50 40 Without metal 100 93 75 On metal, distance 25 mm 95 85 70 Flush-mounted in metal; 78 75 65 Without metal 100 85 73 On metal, distance 25 mm 75 68 60 Flush-mounted in metal; 55 53 40 Without metal 100 90 75 On metal, distance 30 mm 95 90 75 Not permissible Not permissible Not permissible 100 90 75 distance all-round 20 mm MDS D124 distance all-round 25 mm MDS D126 distance all-round 25 mm MDS D139 Flush-mounted in metal MDS D160 Without metal On metal, distance 25 mm 90 80 80 Not envisaged Not envisaged Not envisaged Without metal 100 85 65 On metal, distance 20 mm 65 60 45 Flush-mounted in metal 55 50 40 Without metal 100 85 70 On metal, distance 20 mm 70 65 50 Flush-mounted in metal 55 50 45 Without metal 100 85 70 On metal, distance 20 mm 80 70 60 Flush-mounted in metal 75 65 50 Without metal 100 90 75 On metal, distance 25 mm 90 80 70 Flush-mounted in metal; 70 65 55 100 90 75 Flush-mounted in metal MDS D165 distance all-round 20 mm MDS D200 distance all-round 20 mm MDS D261 distance all-round 20 mm MDS D324 distance all-round 25 mm MDS D339 Without metal On metal, distance 30 mm Flush-mounted in metal 95 90 75 Not permissible Not permissible Not permissible SIMATIC RF200 IO-Link 38 System Manual, 03/2012, C79000-G8976-C276-01 Planning an RF200 IO-Link system 4.4 Further information Transponder MDS D424 Reader without metal Reader on metal Reader flushmounted in metal (metal plate) (all-round 20 mm) Without metal 100 90 80 On metal, distance 25 mm 90 80 70 Flush-mounted in metal; 60 60 50 Without metal 100 100 73 On metal, distance 25 mm 88 85 68 Flush-mounted in metal; 65 55 55 Without metal 100 90 90 On metal 90 90 85 Flush-mounted in metal; 80 75 65 Without metal 100 95 90 On metal, distance 25 mm 90 85 80 distance all-round 25 mm MDS D426 distance all-round 25 mm MDS D428 distance all-round 25 mm MDS D460 Flush-mounted in metal Not envisaged The values in the table describe the reductions in field data. All values are percentages, with reference to metal-free (100% means no impact). 4.4 Further information For more detailed information on "fundamentals of application planning" and "EMC", refer to chapter 4 of the "MOBY D system manual (http://support.automation.siemens.com/WW/view/en/13628689)". SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 39 Planning an RF200 IO-Link system 4.4 Further information SIMATIC RF200 IO-Link 40 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5 After the system has been installed and wired up, the following steps are necessary to commission an RF200 IO-Link reader. 5.1 Configuring Depending on the operating modes SIO mode or IO-Link communication, the reader needs to be assigned parameters. SIO mode: In the SIO mode, the reader does not need to be assigned parameters. The reader can be connected as a standard IO to the input modules (for example IO-Link master). IO-Link mode: In the IO-Link mode, the process image required by the device must be assigned to a specific port of the IO-Link master and the type and length must be configured. Using an engineering tool (for example SIMATIC Manager), a new project must be created or an existing project opened in which the IO-Link master is inserted. "HW Config" is used for configuration in SIMATIC Manager. Configuration of the IO-Link master in HW Config With the aid of HW Config, the IO-Link masters can be dragged from the catalog to the required location in the PROFIBUS/PROFINET system and the addresses assigned. Consistency: For data consistency, the entire communication path must be taken into account. As far as the various CPUs are concerned, a distinction must be made between PROFIBUS DP and PROFINET IO. The consistent data transfer in PROFIBUS DP (1 to 32 bytes) or in PROFINET IO (1 to 254 bytes) takes place in the process image of the inputs and outputs. With the load commands, up to 4 bytes can be read out consistently from the process image of the inputs. The process image depends on the CPU and details can be found in the relevant manual. The S7 CPUs have the system functions "SFC14/15" available that make it possible to guarantee consistent data transfer outside the process image. The amount of data that can be transferred consistently depends on the CPU and the bus system being used and details can be found in the relevant manuals. For the data transfer between the IO-Link master and IO-Link device, the master guarantees consistency for 8 bytes without the "Port Qualifier" being selected in the "Ports" menu. Transfer consistency is also increased by the "Ready delay" setting. This delays the transfer of the "Done" bit by one cycle so that the system has time to transfer the data. SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 41 Commissioning and parameter assignment 5.1 Configuring The following IO-Link Masters are currently available from SIEMENS: ET 200eco PN ET 200S 4SI IO-Link Figure 5-1 Configuration example for an ET 200eco PN SIMATIC RF200 IO-Link 42 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.1 Configuring Figure 5-2 Address selection with the ET 200eco PN SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 43 Commissioning and parameter assignment 5.1 Configuring Figure 5-3 Configuration example for an ET 200S Figure 5-4 Address selection with the ET 200S (I/O and PROFIBUS address) SIMATIC RF200 IO-Link 44 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system 5.2 Parameter assignment of the IO-Link system You can call up the Port Configuration Tool from HW Config. Figure 5-5 Calling the PCT from HW Config using the menu bar SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 45 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-6 Calling the PCT from HW Config using the master Note Calling the PCT with STEP 7 V5.4 or older installed If PCT was not installed along with the STEP 7 installation (up to V5.4), you will need to install PCT extra. In this case, you can call up PCT directly using the master. Right click on the master and then on "Configure IO-Link" in the shortcut menu. SIMATIC RF200 IO-Link 46 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system 5.2.1 The Port Configuration Tool (PCT) When using SIEMENS masters, the "Port Configuration Tool" is available for configuring the IO-Link master and to set parameters for the devices. When using third-party masters, you will first need to install the tool provided by the manufacturer or use the parameter assignment options of the configuration system. With the PCT (as of V2.3), STEP 7 engineering has a powerful software for assigning parameters for Siemens IO-Link master modules and IO-Link devices. S7 PCT is integrated in STEP 7 as of V5.4 SP5 and is called via the hardware configuration of the IO-Link master. Apart from this program form integrated in STEP 7 engineering, a standalone version of S7 PCT is also available and can be installed separately. The S7 PCT standalone variant allows simple use of the IO-Link with the distributed SIMATIC I/O ET200 in control systems of other providers (without STEP 7). The standalone variant is also required to configure via the TIA Portal. With the Port Configuration Tool, parameter data of the IO-Link devices can be set, changed, copied and saved in the STEP 7 project: In this way, all configuration data and parameters right down to the device level are stored consistently. Properties of the Port Configuration Tool (S7 PCT) Available free of charge as a download at Internet (http://support.automation.siemens.com/WW/view/en/32469496) Configuration screens (tabs) in S7 PCT with plain language and product image directly from the IODD of the certified device Central data storage of all project data in the STEP 7 project with the integrated PCT call Wide-ranging test and diagnostics functions Reading out identification data from the devices Reading back of device information including the parameter assignment supported fully The PCT integrates IO-Link devices below the fieldbus level completely in all areas of production automation in "Totally Integrated Automation" (TIA). SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 47 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system 5.2.2 Parameter assignment with PCT With the S7 PCT, you can configure IO-Link master ports, change and read out parameters and much more. Make sure that the necessary IODD files exist in the hardware catalog. If they do not, import them using the "Options" menu. Then transfer the IODD files by dragging them to the PCT tool. Note Assigning rights In the "Options" menu, it is possible to assign rights for the particular view under "User Role". All the parameters are enabled with the "Commissioning" role. The following screenshots show some of the important parameter assignment options at the master and device level: Master level Figure 5-7 You can configure the ports on the "Ports" tab Figure 5-8 With the help of the "Inspection level" drop-down list, you can disable the checking of the device type SIMATIC RF200 IO-Link 48 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-9 In the "Addresses" tab, you can see the addresses that have been set SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 49 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-10 Reading out and updating the device status Figure 5-11 Any status errors are displayed in the event display on the "Status" tab SIMATIC RF200 IO-Link 50 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-12 On the "I&M" tab, you can read out the I&M master data Figure 5-13 With the help of the toolbar, you can open the parameter window Device level Figure 5-14 Click on the "Load to PG" symbol to display the identification parameters SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 51 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-15 The "Parameters" tab SIMATIC RF200 IO-Link 52 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-16 In the "Parameters" tab, you can change the IO-Link mode SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 53 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-17 Change the "Air interface" to "User defined" to be able to adapt the "Air interface" parameter manually Note The manual adaptation of the "Air interface" parameter is intended only for experts. SIMATIC RF200 IO-Link 54 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-18 In the "Parameters" tab, you can change the data hold time You will find more detailed information on the data hold time in the section "IO-Link mode: Scan UID (Page 68)". SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 55 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-19 In the "Parameters" tab, you can enable the ready delay You will find more information on the ready delay in the section "Configuring (Page 41)". SIMATIC RF200 IO-Link 56 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-20 In the "Parameters" tab, you can enable or disable the event indications You will find more information on the event indications in the section "Event error codes (Page 94)". SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 57 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-21 With the "Device Reset" system command, you can reset event indications, error count, UID history etc. of the diagnostics page Note Event messages can only be reset using S7 PCT or the "IOL_CALL" function (system command). SIMATIC RF200 IO-Link 58 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-22 With the system command "Restore Factory Setting", you can reset all the parameters back to the original status as when the device shipped SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 59 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-23 Click the "Load" symbol to download modified data to the device Note When downloading the data, make sure that you have selected the required reader. SIMATIC RF200 IO-Link 60 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-24 The successful download is displayed in "Communication Results" In rare cases, writing to the flash when downloading the parameters can lead to a brief interruption in communication (a few ms). These interruptions have no effect on the transfer of the parameters. SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 61 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-25 In the "Status" tab, click "Refresh" to update the event display By updating the event display, the error message disappears. SIMATIC RF200 IO-Link 62 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-26 The "Diagnostics" tab You can call the "Diagnostics" tab using the menu command "Device > Diagnostics". Note Changing tabs in offline mode Change to offline mode before you change between the "Identification", "Parameters", "Monitoring" or "Diagnostics" tabs. SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 63 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Number Description The values in the "Value" column are not changed by the system command "Device Reset". The values that were read from the device with the last "Load to PG" are always shown. The values of this column are only displayed in "online mode" and are up-to-date values. Values that are changing or have changed can be recognized by the light background. In the example shown, the modified values are displayed after the "Device Reset" system command. UID of the transponder currently in the field of the reader. UID history of the transponders Figure 5-27 The "Diagnostics" tab after the "Device Reset" system command In the "Event history" section (index 74) of the "Diagnostics" tab, errors and warnings are displayed that were transferred to the master. The master only signals errors of the category "coming/going" to the CPU. This is indicated by the LEDs of the master or of the CPU (SF). With the help of the diagnostics function "OB82 + SFB/SFC(SFC13, 51/SFB54)" of the relevant CPU, you can perform other diagnostics functions or display them. SIMATIC RF200 IO-Link 64 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Explanations of the "Diagnostics" tab The following values are examples. Reader diagnostics Error count 3 Number of errors that have occurred (not warnings) - Last event Warning going: Overtemperature Display of the error or warning that has occurred - Second last event Invalid PIQ Display of the error or warning that has occurred - Third last event Error: Overload Display of the error or warning that has occurred - Fourth last event Warning: Overtemperature Display of the error or warning that has occurred - Fifth last event No event Display of the error or warning that has occurred 2641 Operating time in seconds Event history (index 74) Reader status (index 90) - Time since startup - Tags in the field 1 Current number of transponders in the field - Antenna status On Antenna turned on/off - Tag changes 11 Number of transponders changes - IO-Link line driver version 0x1a Version of the IO-Link line driver - Error counter passive 0 Air interface: Counter for errors in idle state - Abort counter 0 Air interface: Communication aborted - Code error counter 135 Air interface: Communication disruption - Signature error counter 0 Reserved - CRC error counter 255 Air interface: Communication disruption - Current command status 0 Reserved - Error count 3 HOST interface: Communication disruption SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 65 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Tag status (index 91) - UID byte 0 0xe0 Byte 0 of the unique identifier of the transponder - UID byte 1 0x04 Byte 1 of the unique identifier of the transponder - UID byte 2 0x01 Byte 2 of the unique identifier of the transponder - UID byte 3 0x00 Byte 3 of the unique identifier of the transponder - UID byte 4 0x01 Byte 4 of the unique identifier of the transponder - UID byte 5 0x9c Byte 5 of the unique identifier of the transponder - UID byte 6 0xe9 Byte 6 of the unique identifier of the transponder - UID byte 7 0x1c Byte 7 of the unique identifier of the transponder - Tag type MDS D1xx, I-Code SLI (NXP) Transponder name / name of the chip / (manufacturer) - Chip version 0x01 Version of the chip - Memory size in bytes 112 Memory size of the chip in bytes - Lock status 0 Disabled blocks on the chip - Memory block size 4 Size of the memory blocks of the chip - Number of blocks 28 Number of memory blocks of the chip - Last UID 0xe0040100019ce91c Transponder history - Second UID 0x00 Transponder history - Third UID 0x00 Transponder history UID history (index 92) - Fourth UID 0x00 Transponder history - Fifth UID 0x00 Transponder history SIMATIC RF200 IO-Link 66 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.2 Parameter assignment of the IO-Link system Figure 5-28 The "Monitoring" tab in the "Scan user data" or "Scan UID" mode SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 67 Commissioning and parameter assignment 5.3 The modes of the RF200 IO-Link reader 5.3 The modes of the RF200 IO-Link reader 5.3.1 SIO mode You can change to the SIO mode by configuring the relevant ports of the IO-Link master as digital inputs. In this mode, there is no communication between the reader and master. The reader is also in the SIO mode when it is connected to a standard input module. The RF200 reader behaves like a standard input whose signal state behaves as follows: 5.3.2 24 V Transponder in the field of the reader 0V No transponder in the field of the reader IO-Link mode: Scan UID You change to the "Scan UID" mode by setting the value "Scan UID" for the "Operating Mode" reader parameter. The value "Scan UID" is set as the default in the IODD file. With IO-Link communication, 8 bytes of the process image of the inputs (PII) and 8 bytes of the process image of the outputs (PIQ) are transferred with the following structure: Address offset 0 1 2 3 4 5 6 7 PIQ 0 0 0 0 0 0 0 0 Normal operation PII 0 0 0 0 0 0 0 0 No transponder present UID0 UID1 UID2 UID3 UID4 UID5 UID6 UID7 ISO transponder present The 8-byte long UID of the transponder currently in the antenna field is displayed in the PII. If the transponder leaves the field, 0 is displayed in the PII. With the reader parameter data hold time, a minimum display time can be set in which the data of the reader remain displayed when the transponder has already left the field. This display time also applies if there is no longer a transponder in the field or when the transponder has left the field and the value "0" is shown in the PII. A new transponder will only be displayed after the data hold time has elapsed. To be certain that all transponders are displayed, there must be an adequate distance between the individual transponders. If the distance between the individual transponders is not great enough, individual transponders will not be displayed due to the data hold time. SIMATIC RF200 IO-Link 68 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.3 The modes of the RF200 IO-Link reader The most significant bit of the address 0 (UID0.7) is "1" when there is a transponder in the field. The 1 at the most significant UID place is guaranteed by the ISO 15693 standard. By setting bit 4 in byte 0 in the PIQ, you can turn off the antenna of the reader and therefore also the HF field. In the PII, the turned off antenna is confirmed by 0xFF. Address offset 0 1 2 3 4 5 6 7 PIQ 0x10 0 0 0 0 0 0 0 Antenna off PII 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF Antenna off 5.3.3 IO-Link mode: Scan user data You can change to the "Scan user data" mode by setting the value "Scan user data" for the "Operating Mode" parameter of the reader. With IO-Link communication, 8 bytes of the process image of the inputs (PII) and 8 bytes of the process image of the outputs (PIQ) are transferred. You can decide which data is read via the process image "output" with a command or by entering an address. Address offset PIQ PII 0 1 2 3 4 5 6 7 CMD 0 Adr-H Adr-L 0 0 0 0 Read 0 0 0 0 0 0 0 0 Status error_ RFID Adr-H Adr-L Data (MSB) Data Data Data (LSB) No transponder present 0x10 0 0 0 0 0 0 0 Antenna off Status error_ RFID 0 0 0 0 0 0 Error message of the RFID reader Transponder present CMD Command byte Adr-H More significant address byte of the data to be read on the transponder. Adr-L Less significant address byte of the data to be read on the transponder. error_RFID Error message of the RFID reader: Errors are acknowledged (=RESET) by the command antenna off or by the transponder leaving the field. You will find more detailed information on the error messages in the section "Diagnostics (Page 81)". Status Status byte SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 69 Commissioning and parameter assignment 5.3 The modes of the RF200 IO-Link reader PIQ Command byte: %LW &RPPDQGFRGH QRFRPPDQGDFWLYH UHDG $172)) DQWHQQDRQ GHIDXOW DQWHQQDRII Figure 5-29 Structure of the command byte "PIQ" PII Status byte: %LW &RPPDQGFRGH FRPPDQGH[HFXWHG $172))&RQI DQWHQQDLVDFWLYH DQWHQQDLVLQDFWLYH $1: QRWUDQVSRQGHULQWKHILHOGRIWKHUHDGHU WUDQVSRQGHULQWKHILHOGRIWKHUHDGHU (UURU 1RHUURU HUURURFFXUUHGHUURUFRGH ORFDWHGLQE\WHHUURUB5),' 5'< FRPPDQGSHQGLQJGDWDLVLQYDOLG &KHFNHUURUELWWRILQGRXWLIHUURURFFXUUHG FRPPDQGFRPSOHWHGGDWDLVYDOLG Figure 5-30 Structure of the status byte in the "PII" Note Error message of the RFID reader Errors are acknowledged (=RESET) by the command antenna off or by the transponder leaving the field. SIMATIC RF200 IO-Link 70 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.4 ISDU data traffic 5.4 ISDU data traffic Apart from the process data, various data objects (Indexed Service Data Unit) can be addressed acyclically as necessary for diagnostics and maintenance purposes (you will find further information in the section "Overview of the service data (Page 96)"). For SIEMENS CPUs, the IOL_CALL block is available for this. 5.4.1 IOL_CALL Using the IOL_CALL function block, you can read any data objects of IO-Link devices, save them in non-volatile memory and after replacing an IO-Link device or master write the objects back to the IO-Link device using the IOL_CALL again. You can control the IOL_CALL function block call and the retentive saving of the objects from the user program. Properties of the IOL_CALL function block The IOL_CALL function block is convenient when programming and assigning parameters in the IO-Link engineering due to the following properties: Can run on all SIMATIC S7 CPUs Little programming effort required for IO-Link parameter assignment and diagnostics in the runtime environment Can be used universally for all masters and devices Supports IO-Link masters on PROFINET and PROFIBUS DP Contains HMI faceplates with user interfaces for SIEMENS masters and devices for SIMATIC HMI Parameter assignment and diagnostics during operation without an engineering system (Re)assignment of parameters of an IO-Link device during operation Reading out of additional information from the IO-Link device (for example diagnostics, maintenance etc.) Execution of IO-Link port functions Saving/restoring IO-Link parameters when replacing IO-Link masters or devices Use of FB1 "IOL_CALL" for replacing IO-Link masters and IO-Link devices without a PG SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 71 Commissioning and parameter assignment 5.5 Application example 5.5 Application example In the following example, a transponder MDS D124 is read completely with a simple loop and an RF2X0 IO-Link reader in mode 2. The valid read data is saved in a global data block. Table 5- 1 Programming example Program code //Comments //If there is no transponder in the field, jumped to error evaluation U "ANW"; // Presence (I10.5) SPBN ende; //Run through the read loop only once U "Once_flag"; // Run through loop once (M2.0) SPB ende; //If an error occurs, increment error counter U "Error";; // Error bit (I10.6) SPB erro; // => Abort if error //New read command when is set and no U "Done";; // Ready bit (I10.7) SPBN ende; //Does the address = ? //Address 10 is set (see hardware configuration) L "PAE_Status"; // PII : CMD UW W#16#2; L B#16#2; // Read command ==I ; //Acknowledgement U( ; L "PAA_Adr_L"; // PIQ : Adr-L L "PAE_Adr_L"; // PII : Adr-L ==I ; ) ; SPB adre; // Valid acknowledgment => adopt data SPA Lese; // => Output read command //Save data at current transponder address in data DB adre: L "PAE_Adr_L"; // PII : Adr-L SLD 3; // Expand to 16-bit address T "lwa";; // Memory of the current address (MD3) L "PAE_Data"; // PII : Data (bytes 4-7) AUF "FC1Daten";; // Memory DB (DB100) T DBD ["lwa"]; // Enter read data in DB L "PAE_Adr_L"; // Increment address by 4 bytes + B#16#4; T "FC1Daten".dbadresse; // Save new read address //New read command when is set and no Read: L B#16#2; // Read command T "PAA_CMD"; // PII: CMD //Load the last valid address L "FC1Daten".dbadresse;; // Memory DB (DB100.DBB114) T "PAA_Adr_L"; // PII: Adr-L //Increment read address (address range 112 bytes = 70 Hex for MDS D124) L "FC1Daten".dbadresse;; // Memory DB (DB100.DBB114) L B#16#6C; // Check end address SIMATIC RF200 IO-Link 72 System Manual, 03/2012, C79000-G8976-C276-01 Commissioning and parameter assignment 5.5 Application example Program code //Comments (MDS D124 = 112 bytes = 6F hex) >I ; SPB enda; SPA ende; //Read next transponder enda: U "VKE1"; = "Once_flag"; L 0; T "PAA_CMD"; T "lwa"; T "PAA_Adr_L"; T "FC1Daten".dbadresse; SPA ende; // Troubleshooting erro: L "FC1Daten".fehler1; L 1; +I ; T "FC1Daten".fehler1; L "PAA_Adr_L"; T "FC1Daten".err_dbadresse; L "PAA_CMD"; T "FC1Daten".err_cmd; L "PAE_Status"; T "FC1Daten".err_Status; L "PAE_Error_RFID"; T "FC1Daten".err_ErrorRFID; L T T T T U = ende: BE 0; "FC1Daten".dbadresse; "lwa"; "PAA_Adr_L"; "PAA_CMD"; "VKE1"; "Once_flag"; ; // => End when end address reached // => Continue reading in next cycle // When all data has been read // End reading of the transponder // => then deleted address etc. // " // " // => wait for new transponder // Count errors // and end reading // Data that led to error // save // " // " // " // " // " // " // Delete addresses/memory bits/memory // " // " // " // " // End reading SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 73 Commissioning and parameter assignment 5.5 Application example Table 5- 2 Shared data block Program code DATA_BLOCK "FC1Daten" TITLE =ScanUserData AUTHOR : IASCCI FAMILY : RFID NAME : IOLink VERSION : 1.0 //Comments STRUCT data : ARRAY [1 .. 112 ] OF BYTE; // Memory for "data" fehler1 : WORD := W#16#0; // Memory for "error" count dbadresse : Byte := B#16#0; // Memory for "dbadresse" err_dbadresse : BYTE ; // Memory address if error occurs err_cmd : BYTE ; // memory Command if error occurs err_Status : BYTE ; // Memory status if error occurs err_ErrorRFID : BYTE ; // memory Error_RFID if error occurs END_STRUCT ; BEGIN fehler1 := W#16#0; // Memory for "error" count dbadresse := B#16#0; // Memory for "dbadresse" err_dbadresse := B#16#0; // Memory address if error occurs err_cmd := B#16#0; // memory Command if error occurs err_Status := B#16#0; // Memory status if error occurs err_ErrorRFID := B#16#0; // memory Error_RFID if error occurs END_DATA_BLOCK SIMATIC RF200 IO-Link 74 System Manual, 03/2012, C79000-G8976-C276-01 6 Readers 6.1 Features Table 6- 1 SIMATIC RF210R Characteristics Area of application Identification tasks on assembly lines in harsh industrial environments Design RF200 IO-Link interface Operating indicator SIMATIC RF220R Characteristics Area of application Identification tasks on assembly lines in harsh industrial environments Design RF200 IO-Link interface Operating indicator SIMATIC RF260R Characteristics Area of application Identification tasks on assembly lines in harsh industrial environments Design RF200 IO-Link interface Operating indicator SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 75 Readers 6.2 Pin assignment of the RF200 reader with IO-Link interface 6.2 Pin assignment of the RF200 reader with IO-Link interface Table 6- 2 Pin Pin Assignment Device end 4-pin M12 1 24 VDC 2 reserved 3 GND 4 IO-Link data signal or out port in SIO mode 6.3 Display elements of the RF200 reader As the display element, there is an LED on the reader. LED display Operating state off No power supply on the reader Red Green Yellow pulsed Startup Flashing Error occurred, the number of pulses provides information about the error that has occurred (see section "Diagnostics (Page 81)") For example hardware fault, invalid parameters, watchdog Flashing Antenna turned off On-off ratio 1:1, 1 Hz Permanently on SIO mode, no transponder in the field pulsed IO-Link mode, no transponder in the field On-off ratio 1:10 Permanently on SIO mode, transponder in the field pulsed IO-Link mode, transponder in the field On-off ratio 1:10 Alternating, flashing red/green Firmware update Pulse duration 500 ms SIMATIC RF200 IO-Link 76 System Manual, 03/2012, C79000-G8976-C276-01 Readers 6.4 Minimum distance between several readers 6.4 Minimum distance between several readers RF210R/RF220R one beside the other ' ' Readers D RF210R 60 mm RF220R 100 mm Figure 6-1 Minimum distance between several RF210R/RF220R RF210R/RF220R face-to-face ' Readers D RF210R 100 mm RF220R 150 mm Figure 6-2 Face-to-face distance between two RF210R/RF220R SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 77 Readers 6.4 Minimum distance between several readers RF260R side by side 6,0$7,& 5)5 ' ' 6,0$7,& 5)5 6,0$7,& 5)5 Readers D RF260R 150 mm (with 2 readers) RF260R 250 mm (with more than 2 readers) Figure 6-3 Minimum distance between several RF260R RF260R face to face ' Readers D RF260R 500 mm Figure 6-4 Face-to-face distance between two RF260R SIMATIC RF200 IO-Link 78 System Manual, 03/2012, C79000-G8976-C276-01 Readers 6.5 Dimensional drawings 6.5 Dimensional drawings Figure 6-5 RF210R dimension drawing RF220R dimension drawing Figure 6-6 Figure 6-7 6,0$7,& 5)5 Dimension drawing RF260R All dimensions in mm SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 79 Readers 6.5 Dimensional drawings SIMATIC RF200 IO-Link 80 System Manual, 03/2012, C79000-G8976-C276-01 7 Diagnostics RFID error codes of the RF 200 reader You can identify the error in several ways: Directly on the reader by counting the flashing pattern of the red error LED Error code in the PII byte 1 "error_RFID" (see section "IO-Link mode: Scan user data (Page 69)") Message as IO-Link event (compare section "Event error codes (Page 94)") Flashing of red LED on reader Error code (hexadecimal) Description 00 00 No error 02 01 05 05 Presence error, possible causes: * The active command was not carried out completely * The transponder left the field while the command was being processed - Communication disruption between reader and transponder Parameter assignment error, possible causes: * Unknown command * Incorrect parameter * Function not allowed 06 06 Air interface faulty 13 0D Error in the specified memory address (access attempted to non-existent or non-accessible memory areas). 17 11 Short-circuit or overload or overtemperature 18 12 * The affected output is turned off * All outputs are turned off when total overload occurs * A reset can only be performed by turning the 24 V voltage off and on again Internal hardware fault, possible causes: * Connector contact problem on the reader * Hardware defective 20 14 Major system fault (hardware fault) 21 15 Parameter assignment error: Bad parameter 24 18 Only "RESET" permitted 25 19 Previous command is still active - 1F Active command cancelled by "RESET" SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 81 Diagnostics Note These errors are acknowledged (= RESET) by the command antenna off or by the transponder leaving the field. The hexadecimal errors 11, 12, 14 and 15 are only indicated by the LED "flashing" the "error_RFID" byte is not used. So-called event messages are also passed on to the master (see section "Event error codes (Page 94)"). You can display these error messages using S7-PCT (diagnostics) or read them out using the "IOL_CALL" function block. You can only reset event messages using S7 PCT or the "IOL_CALL" function (system command). SIMATIC RF200 IO-Link 82 System Manual, 03/2012, C79000-G8976-C276-01 8 Technical data 8.1 Technical data of the RF200 reader Table 8- 1 Technical data of the RF200 reader Operating frequency 13.56 MHz Antenna Integrated Interface to the IO-Link master IO-Link Maximum data transmission rate Point-to-point connection 38.4 kbps Cable length reader - IO-Link master Max. 20 m Read distances of the reader See section "Field data (Page 25)." Protocol for wireless transmission ISO 15693, ISO 1800-3 Maximum data transmission rate Wireless transmission 26.6 kbps Transmission time for reading 40 ms/byte Plug connector M12, 4-pin Power supply (min ... max) 24 VDC (20.4 to 28.8 VDC) power consumption (at 24 V DC) 50 mA Display elements 3-color LED (operating voltage, presence, error) Ambient temperature * During operation * -20 ... +70 C * During transportation and storage * -25 ... +80 C Degree of protection in accordance with EN 60529 IP67 Shock resistance EN 60721-3-7 Class 7 M2 * Shock acceleration * 500 m/s * Vibration acceleration * 200 m/s Approvals Wireless to R&TTE guidelines EN 300 330, EN 301489, CE, FCC, UL/CSA MTBF 505 a SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 83 Technical data 8.1 Technical data of the RF200 reader Table 8- 2 Technical specifications specific to RF210R Housing * Dimensions (length x diameter) * 83 x 18 mm (incl. 8-pin connector sleeve and plastic cap) * Color * Silver * Material * Brass, nickel-plated Fixing 2 metal M18 hexagonal nuts; thickness: 4 mm Tightening torque 20 Nm Weight approx. 65 g (incl. two M18 nuts) Table 8- 3 Technical specifications specific to RF220R Housing * Dimensions (length x diameter) * 83 x 30 mm (incl. 8-pin connector sleeve and plastic cap) * Color * Silver * Material * Brass, nickel-plated Fixing 2 metal M30 hexagonal nuts; thickness: 5 mm Tightening torque 40 Nm Weight approx. 140 g (incl. two M30 nuts) Table 8- 4 Technical specifications specific to RF260R Housing * Dimensions (length x width x height) * 75 x 75 x 41 mm (without M12 housing connector) * Color * Anthracite * Material * Plastic PA 6.6 Fixing 2 metal M5 screws; Tightening torque 1.5 Nm Weight Approx. 200 g SIMATIC RF200 IO-Link 84 System Manual, 03/2012, C79000-G8976-C276-01 Technical data 8.2 FCC information 8.2 FCC information Siemens SIMATIC RF210R (MLFB 6GT2821-1AC32) FCC ID: NXW-RF210RIOL Siemens SIMATIC RF220R (MLFB 6GT2821-2AC32) FCC ID: NXW-RF220RIOL Siemens SIMATIC RF260R (MLFB 6GT2821-6AC32) FCC ID: NXW-RF260RIOL This device complies with part 15 of the FCC rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference. (2) This device must accept any interference received, including interference that may cause undesired operation. Caution Any changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. Canada information This device complies with Industry Canada licence-exempt RSS standard(s). Operation is subject to the following two conditions: (1) this device may not cause interference, and (2) this device must accept any interference, including interference that may cause undesired operation of the device. Le present appareil est conforme aux CNR dIndustrie Canada applicables aux appareils radio exempts de licence. Lexploitation est autorisee aux deux conditions suivantes : (1) lappareil ne doit pas produire de brouillage, et (2) l'utilisateur de lappareil doit accepter tout brouillage radioelectrique subi, meme si le brouillage est susceptible den compromettre le fonctionnement. 8.3 cULus information When using an ET200S IO-Link master, make sure that the power supply unit being used corresponds to a Class 2 device (limited current/limited voltage) and that it is listed in the UL file. SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 85 Technical data 8.3 cULus information SIMATIC RF200 IO-Link 86 System Manual, 03/2012, C79000-G8976-C276-01 9 Connecting cable ET 200S IO-Link master The connecting cable is available in lengths of 5 m (standard) or 10 m. ,2/LQNPRGH 5HDGHUHQG ,2/LQNHQG ZLUH &4 EURZQ / UHV &4 6HQVRU / / EOXH / 6HQVRU EODFN &4 6/*FRQQHFWRU 0VRFNHW SLQ $ $8; 0 $ $ $ Figure 9-1 Design of the connecting cable between the IO-Link master module and reader /0 /0 General terminal assignment Note Terminals A4, A8, A3 and A7 are only available at specified terminal modules. Terminal assignment for the 4SI IO-Link electronic module (6ES7138-4GA50-0AB0) Terminal Assignment Terminal Assignment 1 C/Q Port 1 5 C/Q Port 2 * C/Q: Communication signal / DI/DO 2 C/Q Port 3 6 C/Q Port 4 L+ Port 1 7 L+ Port 2 * L+: Supply voltage 3 4 L+ Port 3 8 L+ Port 4 * L-/M: Mass A4 M Port 1 (AUX) A8 M Port 2 (AUX) A3 M Port 3 (AUX) A7 M Port 4 (AUX) Explanations SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 87 Connecting cable Usable terminal modules TM-E15C26-A1 (6ES7193-4CA50-0AA0) Spring terminal TM-E15S26-A1 (6ES7193-4CA40-0AA0) Screw terminal TM-E15N26-A1 (6ES7193-4CA80-0AA0) Fast Connect ,2/LQNPRGH &RQQHFWLRQH[DPSOHV ','2PRGH ZLUH ZLUH &4 &4 $ $ / / 0 0 6HQVRU ZLUH ZLUH ', ', '2 '2 ', ', '2 '2 / / / / / / 6HQVRU $ $8; 0 $ ZLUH 0 0 0 0 0 0 SIMATIC RF200 IO-Link 88 System Manual, 03/2012, C79000-G8976-C276-01 10 Ordering data Table 10- 1 IO-Link interfaces Order number RF210R with IO-Link interface 6GT2821-1AC32 RF220R with IO-Link interface 6GT2821-2AC32 RF260R with IO-Link interface 6GT2821-6AC32 Table 10- 2 Accessories Order number Plug-in cable IO-Link, open end - M12 5m 6GT2891-0LH50 10 m 6GT2891-0LN10 Plug-in cable IO-Link, M12 plug - M12 socket 5m 6GT2891-0MH50 10 m 6GT2891-0MN10 SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 89 Ordering data SIMATIC RF200 IO-Link 90 System Manual, 03/2012, C79000-G8976-C276-01 Service & support 11 Contact partner If you have any further questions on the use of our products, please contact one of our representatives at your local Siemens office. The addresses are found on the following pages: In Internet (http://www.siemens.com/automation/partner) In Catalog CA 01 In Catalog ID 10 specifically for industrial communication / industrial identification systems Technical Support You can access technical support for all IA/DT projects via the following: Phone: + 49 (0) 911 895 7222 Fax: + 49 (0) 911 895 7223 E-mail (mailto:support.automation@siemens.com) Internet: Online support request form: (http://www.siemens.com/automation/supportrequest) Service & support for industrial automation and drive technologies You can find various services on the Support homepage (http://www.siemens.com/automation/service&support) of IA/DT on the Internet. There you will find the following information, for example: Our newsletter containing up-to-date information on your products. Relevant documentation for your application, which you can access via the search function in "Product Support". A forum for global information exchange by users and specialists. Your local contact for IA/DT on site. Information about on-site service, repairs, and spare parts. Much more can be found under "Our service offer". RFID homepage For general information about our identification systems, visit RFID homepage (http://www.siemens.com/ident). SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 91 Service & support Technical documentation on the Internet A guide to the technical documentation for the various products and systems is available on the Internet: SIMATIC Guide manuals (http://www.siemens.com/simatic-tech-doku-portal) Online catalog and ordering system The online catalog and the online ordering system can also be found on the Industry Mall Homepage (http://www.siemens.com/industrymall). Training center We offer appropriate courses to get you started. Please contact your local training center or the central training center in D-90327 Nuremberg. Phone: +49 (0) 180 523 56 11 ( 0.14 /min. from the German landline network, deviating mobile communications prices are possible) For information about courses, see the SITRAIN homepage (http://www.sitrain.com). SIMATIC RF200 IO-Link 92 System Manual, 03/2012, C79000-G8976-C276-01 A Appendix To understand this appendix, you should be familiar with the "IOL_CALL" function. A.1 IO-Link error codes A.1.1 ISDU return error codes S7-PCT, IOL_CALL and the IO-Link device (reader) use the frame transport layer "ISDU". The following table lists possible ISDU return error codes. The ISDU return error codes are not generated by the reader. You can display the error codes using the "IOL_CALL" function block. Error code (hex) Error description Remedy 8000 Command error - 8011 Index not available Correct index 8012 Subindex not available Correct subindex 8020 Service temporarily not available Repeat query after a waiting time 8021 Service temporarily not available. Local control unit blocked. Repeat query after a waiting time 8022 Service temporarily not available. Device is busy with another task. Repeat query after a waiting time 8023 Access denied Index can only be read 8030 Parameter value is outside the permitted range Transfer the correct value 8031 Parameter value is above the limit Transfer the correct value 8032 Parameter value is below the limit Transfer the correct value 8033 Parameter length exceeded Check parameter length 8034 Parameter not long enough Check parameter length 8035 Function not available Check call parameters 8036 Function temporarily not available Repeat query after a waiting time 8040 Invalid parameter set Transfer correct parameter set 8041 Invalid parameter set Transfer correct parameter set 8082 Application not ready - SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 93 Appendix A.1 IO-Link error codes A.1.2 Event error codes The following event error codes are displayed if you have enabled the "Event message" parameter in S7-PCT. The event error codes with the event type "coming/going" are signaled by the IO-Link reader and forwarded by the IO-Link master to the programmable controller (PLC) at the fieldbus level for diagnostics purposes. You can display these event error codes using the standard diagnostics of the CPU. You can display all other event types using the "IOL_CALL" function block or the PCT tool. Error code (hex) Error description Device status 1) Event type Causes of errors 1823 Internal error RFID error code (hex) 01 Warning The read command is at the air interface and there is a communication disruption. Possible causes: * The active command was not carried out completely * The transponder left the field while the command was being processed * Communication disruption between reader and transponder, for example due to EMC interference 1831 Flash error RFID error code (hex) 12 Error coming/ going Hardware fault when saving (flash error) 1833 Internal error RFID error code (hex) 05, 06, 0D, 15, 18, 19 Fault/error Group error, classic RFID error. Possible causes (in the "Scan user data" mode): * Firmware/parameter assignment errors * Errors in the specified memory address (RFID error 0D) * Air interface disturbed (RFID error 06) * Parameter assignment error (RFID error 05): - Unknown command (wrong information in the PIQ) - Bad parameter (for example address wrong, length wrong) - Function not permitted (for example sending a command in UID mode) 1834 Invalid PIQ RFID error code (hex) 05 Error coming/ going Command was written to the PIQ although this is not permitted. For example "read" command in the "Scan UID" mode 4000 Overtemperature RFID error code (hex) 11 Error coming/ going Overtemperature in the reader device (> 110C) so that a dangerous state is detected. Turn off the power to the device. SIMATIC RF200 IO-Link 94 System Manual, 03/2012, C79000-G8976-C276-01 Appendix A.1 IO-Link error codes Error code (hex) Error description Device status 1) Event type Causes of errors 5100 General problem with the power supply RFID error code (hex) 11 Error coming/ going Hardware fault: Under/overvoltage Check the power supply. 6000 Firmware error RFID error code (hex) 14 Error coming/ going The firmware has detected an internal error (system). For example illogical status or watchdog etc. 6320 Parameter assignment error RFID error code (hex) 15 Error coming/ going Parameter assignment error: Bad parameter 8C00 Reset Device RFID error code (hex) 14 Error coming/ going Serious system error, watchdog: 1) Cycle power The device status has the same meaning as the RFID error code. Note You can display these event messages using S7-PCT or read them out using the "IOL_CALL" function block. You can only reset event messages using S7 PCT or the "IOL_CALL" function. The event messages cannot be reset by "antenna off" or "move transponder out of field" as is possible with the RFID errors (compare section "Diagnostics (Page 81)"). SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 95 Appendix A.2 Overview of the service data A.2 Overview of the service data The device RF200R IO-Link supports the following indexes for service data and parameter assignment: Note Direct Parameter Page 1 (Index 0) These parameters are only used internally in the system and do not normally need to be taken into account. When necessary, however, they can be read out using index 0 (see section "IOL_CALL (Page 71)"). Index Object name Subindex Length in bytes Access Parameter name Description 0x00 Direct parameter page 1 0x00 16 r - Entire index selected 0x01 1 r MasterCommand Switch the IO-Link operating mode (Fallback, Operate, Preoperate) 0x02 1 r MasterCycleTime Master cycle time 0x03 1 r MinCycleTime Minimum device cycle time (reader) 0x04 1 r F-sequence Capability Supported frame types for communication. 0x05 1 r RevisionID IO-Link protocol version implemented on the device 0x06 1 r ProcessDataIn Number and structure of the data process image of the inputs to the master 0x07 1 r ProcessDataO ut Number and structure of the data process image of the outputs from the master 0x08 1 r VendorID 1 (MSB) Unique vendor identification number 0x09 1 r VendorID 2 (LSB) SIEMENS: 0x002A 0x0A 1 r DeviceID 1 (Octet 2, MSB) Unique device identification number. 0x0B 1 r DeviceID 2 (Octet 1) 0x0C 1 r DeviceID 3 (Octet 0, LSB) 0x0D 1 r FunctionID 1 (MSB) 0x0E 1 r FunctionID 2 (LSB) 0x0F 1 r - reserved 010 1 r SystemCommand Unused, system command is enabled using index 2. RF210R IO-Link: 0x0C0201 RF220R IO-Link: 0x0C0202 RF260R IO-Link: 0x0C0206 reserved SIMATIC RF200 IO-Link 96 System Manual, 03/2012, C79000-G8976-C276-01 Appendix A.2 Overview of the service data Index Object name Subindex Length in bytes Access Parameter name Description 0x02 System command 0x00 1 w Supported system commands: 0x10 Vendor name 0x00 12 r - Vendor name: "SIEMENS AG" 0x11 Vendor text 0x00 12 r - Vendor text: "SIEMENS AG" 0x12 Product name 0x00 24 r - Product name: "SIMATIC RF2xxR IO-Link" 0x13 Product ID 0x00 16 r - Product ID: MLFB of the reader e.g. "6GT2821-1AC32" 0x14 Product text 0x00 64 r - Product text: Information on reader properties 0x15 Serial number 0x00 12 r - Serial number is not supported 0x17 Firmware revision 0x00 12 r - Firmware version (e.g. V1.0.0) 0x18 Application specific tag 0x00 32 r/w - User-specific data. For example, plant designation, function, maintenance data, location identifier 0x20 Error count 0x00 2 r - Number of errors since turning on (number of events) 0x28 Process Data Input 0x00 8 r - Read out last process image of the inputs 0x29 Process Data Output 0x00 8 r - Read out last process image of the outputs - Device Reset: 0x80 Reset to factory setting: 0x82 SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 97 Appendix A.2 Overview of the service data Index Object name Subindex Length in bytes Access Parameter name Description 0x40 Reader parameter 0x00 8 r/w - Read out the reader parameters of the reader (entire possible = subindex 0x00) 1 r/w Event indications 2: Event indication enabled (default) 4: No message 1 r/w Operation mode 4: Scan UID (default) 8: Scan user data 1 r/w Ready delay 2: Turn off 4: Turn on additional safety mechanism for consistent data transfer 1 r/w Data hold time Minimum time during which the process input data is not changed by the device. * 0x00: minimum (default) * 0x0A: 100 ms * 0x14: 200 ms * 0x32: 500 ms * 0x64: 1 s * 0xC8: 2 s * 0xFE: Test mode "Trigger events" 1 r/w Air Interface Setting the 2: ISO default (default) 4: Special settings 1 r/w Modulation Setting for the modulation strength 0 ... 100 % (default 22 %) 1 r/w Subcarrier Subcarrier 2: single (default) 4: double 1 r/w Data rate Date rate 2: low 4: high (default) r - IO-Link baud rate 4: 38.4 kbps 0x43 IO-Link baudrate 0x00 1 0x4A Event history 0x00 20 r - Entire index selected 0x01 4 r - Last event 0x02 4 r - Second last event 0x03 4 r - Third last event 0x04 4 r - Fourth last event 0x05 4 r - Fifth last event SIMATIC RF200 IO-Link 98 System Manual, 03/2012, C79000-G8976-C276-01 Appendix A.2 Overview of the service data Index Object name Subindex Length in bytes Access Parameter name Description 0x5A Reader status 0x00 18 r - Can only be read out entirely, only subindex 0 possible. 4 r Time since startup Operating time of the reader since startup 1 r Tags in the field Number of transponders located in the field Here, only 1 transponder is permitted. 1 r Antenna ctatus Status of the antenna: * 0: Unknown * 1: Antenna on * 2: Antenna off 4 r Tag changes Number of transponders that have passed through the field since the reader was turned on 1 r Line driver Revision Version of the physical IO-Link driver block 1 r Reader FZB HF field, error counter passive (for example interference pulses) Is reset when read out. 1 r Reader ABZ HF protocol error, abort counter Is reset when read out. 1 r Reader CFZ HF protocol error, code error counter Is reset when read out. 1 r Reader SFZ HF protocol error, signature error counter Is reset when read out. 1 r Reader CRCFZ HF protocol error, CRC error counter Is reset when read out. 1 r Reader BSTAT Number of command repetitions Is reset when read out. 1 r Reader FZ Error count SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 99 Appendix A.2 Overview of the service data Index Object name Subindex Length in bytes Access Parameter name Description 0x5B Tag status 0x00 15 r - Can only be read out entirely, only subindex 0 possible. 8 r UID Unified identifier of the transponder located in the field. 1 r Tag type Tag type: * 0: undetermined * 1: ISO general, non-specific or unknown * 3: my-d (Infineon), MDS D3xx * 4: MB89R118 (Fujitsu), MDS D4xx * 5: I-Code SLI (NXP), MDS D1xx * 6: Tag-it (Texas Instruments), MDS D2xx * 7: LRI2K (ST) 1 r Transponder Chip version Chip version of the tag 2 r Transponder Memory size Memory size of the tag 1 r Transponder Lock state Lock state, OTP information: One bit per block is used (4x4 bytes or 2x8 bytes). Bit = 1: Block is disabled. e.g. 03 = block 1 and block 2 are disabled. 0x5C UID history 1 r Transponder Memory block size Block size of the transponder 1 r Transponder Number of blocks Number of blocks of the transponder 0x00 40 r - Entire index selected 0x01 8 r - List of the UIDs of the transponders that were last located in the field: Last UID 0x02 8 r - Second UID 0x03 8 r - Third UID 0x04 8 r - Fourth UID 0x05 8 r - Fifth UID System commands You can execute system commands using the "IOL_CALL" function block or the PCT tool. Device reset: The reader restarts. Corresponds to cycling power. Restore Factory Setting: The reader restarts. The Reader parameter (Index 0x40) and the Application specific tag (Index 0x18) are also reset to the defaults. SIMATIC RF200 IO-Link 100 System Manual, 03/2012, C79000-G8976-C276-01 Appendix A.3 Certificates and Approvals A.3 Certificates and Approvals CE marking Certificate Description Conforms to R&TTE directive The following applies to the system described in this documentation: If a device has the CE marking, the corresponding approval has been obtained. DIN ISO 9001 certificate The quality assurance system for the entire product process (development, production, and marketing) at Siemens fulfills the requirements of ISO 9001 (corresponds to EN29001: 1987). This has been certified by DQS (the German society for the certification of quality management systems). EQ-Net certificate no.: 1323-01 Country-specific certificates Safety One of the following markings on a device is indicative of the corresponding approval: Underwriters Laboratories (UL) in accordance with UL 508 and C22.2 No. 142 (IND.CONT.EQ) SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 101 Appendix A.3 Certificates and Approvals EMC If a device has one of the following marks, the corresponding approval has been obtained: Brazil ANATEL Certificado de Homologacao REPUBLICA FEDERATIVA DO BRASIL AGENCIA NACIONAL DE TELECOMUNICACOES CMIIT ID: 20xxDJxxxx China CMMIT Radio Transmission Equipment Type Approval Certificate In accordance with the provisions on the Radio Regulations of the People's Republic of China, the following radio transmission equipment, after examination, conforms to the provisions with its CMIIT ID. Mexico Estados Unidos Mexicanos Comision Federal de Telecomunicaciones South Africa Independent Communications Authority of South Africa, Sandton Radio Equipment Type Approval Certificate South Korea Korea Communications Commission Certificate of Broadcasting and Communication Equipments The Republic of Korea You will find the EMC directives for the USA and Canada in the section "FCC information (Page 85)". SIMATIC RF200 IO-Link 102 System Manual, 03/2012, C79000-G8976-C276-01 Index A Application Planning SIMATIC RF200, 15 Approvals, 103 Area of application, 7 C Cable IO-Link master - reader, 89 Certificates, 103 Communication time Calculating, 21 Contact partner, 93 Conventions, 5 Courses, 94 D Data consistency, 41 Data transfer Acyclic service data, 8 Consistency, 41 Cyclic process data, 8 Data transmission rate, 85 Detection area, 19 Direction of motion Transponder, 19 Display elements, 78 Dynamic mode, 20 RF210R, 25 RF220R, 25 RF260R, 26 Flush-mounting of transponders and readers, 30 I Installation Several readers, 31 Installation guidelines, 29 IO_CALL, 72 IO-Link mode, 7, 41, 69, 70 Scan UID, 69 Scan user data, 70 M Metal Influence on the transmission window, 32 Metal-free area RF210R reader, 33 RF220R reader, 35 RF260R reader, 37 Minimum distance Reader to reader, 27, 79 Transponder to transponder, 27 O Operating mode IO-Link mode, 7, 41 SIO mode, 7, 41 E P EMC directives, 104 Error codes Event error codes, 96 IO-Link error codes, 95 ISDU return error codes, 95 RFID error codes, 83 Pin assignment, 78 Port Configuration Tool (PCT), 48 Possible combinations Reader - transponder, 12 Process image of the inputs (PII), 69, 70 of the outputs (PIQ), 69, 70 F Field data SIMATIC RF200 IO-Link System Manual, 03/2012, C79000-G8976-C276-01 103 Index R U Read/write distance, 15 Reader diagnostics, 66 Readers Characteristics, 77 Mounting, 31 Pin assignment, 78 Reducing interference due to metal, 29 Registered trademarks, 5 RF210R reader, 77 Metal-free area, 33 RF220R reader, 77 Metal-free area, 35 RF260R reader, 77 Metal-free area, 37 User data Calculate maximum number, 21 Calculating, 21 S Selection criteria SIMATIC RF200 components, 15 Service data, 98 SIO mode, 7, 41, 69 Static mode, 20 T Technical documentation On the Internet, 94 Technical specifications, 85 RF210R, 86 RF220R, 86 RF260R, 86 Technical Support, 93 Terminal assignment, 89 Terminal module, 90 Time constant, 21 Tracking Tolerance, 18 Tracking tolerances, 18 Training, 94 Transmission window, 15 Impact of metal, 32 Width, 18 Transponder Detection area, 19 Directions of motion, 19 Mounting on metal, 32 SIMATIC RF200 IO-Link 104 System Manual, 03/2012, C79000-G8976-C276-01