background image

V02.00 | 2020/08

141

Clean Data Nodes (Nodes)

This dialog shows the data nodes of the device imported from the CODESYS symbol configura-
tion  [

}

 139].

The data node points can be deleted manually here if 

Node Options

 

Ò

 

Settings – Automatic

Node delete

 is deactivated.

Fig. 138: Webserver – Cloud – Clean data nodes (Nodes)

„

Select data nodes to be deleted.

„

Delete marked data nodes via the 

Delete

 button

a

The data nodes including the historical data are also deleted in the Turck Cloud Portal.

Summary of Contents for TN-UHF AUS-CDS Series

Page 1: ...Your Global Automation Partner Instructions for Use TN UHF CDS UHF Read Write Head ...

Page 2: ...2 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com ...

Page 3: ...read write heads and tags 15 4 4 3 Multiprotocol function 15 4 4 4 Data transfer to the PLC 15 4 4 5 RFID channels operating modes 15 4 4 6 RFID commands 16 4 4 7 Loop counter function 16 4 4 8 CODESYS OPC UA server 16 4 4 9 Compatible CODESYS versions 16 4 5 Technical accessories 17 5 Installing 18 6 Connecting 19 6 1 Connecting devices to Ethernet 19 6 2 Connecting the power supply 20 6 3 Connec...

Page 4: ...troller 73 7 7 2 Renaming a Modbus slave 77 7 7 3 Setting up network interfaces 78 7 7 4 Setting Modbus channels registers 82 7 7 5 Setting the I O mapping 84 7 7 6 Writing the application to the device 91 7 7 7 Connecting the device online with the controller 98 7 7 8 Reading out process data 98 7 8 Connecting a device to an EtherNet IP controller 99 7 9 Connecting a device to a Siemens controlle...

Page 5: ...tion 175 8 5 11 Direct read write head command 176 8 5 12 Command Set tag password 178 8 5 13 Command Set read write head password 179 8 5 14 Command Reset read write head password 180 8 5 15 Command Set tag protection 181 8 5 16 Command Tag info 183 8 5 17 Command Permanently deactivate UHF tags Kill 185 8 5 18 Command Restore UHF read write head settings 186 8 5 19 Command Backup settings of the...

Page 6: ...charts showing the operation of the device 219 15 1 Flow chart Command processing 219 15 2 Flow chart Rapid command processing with loop counter 220 15 3 Flow chart Command processing with fragmentation 221 15 4 Flow chart Continuous mode with interruption before reading data 222 15 5 Flow chart Continuous mode without interruption before reading data 223 16 EU Declaration of Conformity 224 ...

Page 7: ...ided CAUTION CAUTION indicates a dangerous situation of medium risk which may result in minor or moderate injury if not avoided NOTICE NOTICE indicates a situation which may lead to property damage if not avoided NOTE NOTE indicates tips recommendations and useful information on specific actions and facts The notes simplify your work and help you to avoid additional work u CALL TO ACTION This symb...

Page 8: ...US Russia CDS Software platform Software platform CDS CODESYS V3 Runtime T N Read write head Read write head mounting condition N Non flush Turck RFID system UHF Frequency range Frequency range UHF UHF frequency range Q300 Design Design Q180L300 Rectangular 180 300 61 7 mm Q300 Rectangular 300 300 61 7 mm 2 2 Scope of delivery The scope of delivery includes n Read write head n Wall bracket metal r...

Page 9: ...n The Turck product database contains software tools for programming configuration or commissioning data sheets and CAD files in numerous export formats You can access the product database at the following address www turck de products For further inquiries in Germany contact the Sales and Service Team on n Sales 49 208 4952 380 n Technology 49 208 4952 390 Outside Germany please contact your loca...

Page 10: ...S 920 926 MHz Australia These devices may only be started up under the following conditions n The particular frequency range is permissible for the use of UHF RFID n The operating frequency range of the devices is compliant with the permissible UHF RFID range of the region n A valid certification and or approval is available for the region of use The integrated RFID interface enables the read writ...

Page 11: ...tay within the area of radiation of the UHF read write heads may be harmful to health Observe minimum distances from the actively radiating surface of the UHF read write head Region Max permissible total radiant output power Safety distance Europe Russia China 2 W ERP according to ETSI 0 24 m USA Canada Brazil Korea Australia New Zealand 4 W EIRP 0 30 m Singapore 0 5 W ERP 0 24 m n The radiation o...

Page 12: ...connecting up to four external passive UHF RFID antennas The terminals for the Ethernet and for digital I Os are M12 sockets The device has an M12 plug connector for connecting the power supply Terminals are provided for up to four external an tennas 4 1 Device overview 180 300 61 7 100 100 46 125 219 126 Ø 6 5 Fig 1 Dimensions TN UHF Q180L300 300 300 61 7 100 100 46 125 219 126 Ø 6 5 Fig 2 Dimens...

Page 13: ... electromagnetic field which at the same time supplies the tags with power A read write head contains a transmitter and a receiver an interface to the interface and a coupling element coil and dipole antenna for communicating with the tag Electromagnetic wave propagation is used for the transmission between read write head and tag on devices for the UHF range IC Read write head Data carrier UHF el...

Page 14: ...ot exceed max 1 A The device can perform autonomous controller and diagnostics functions in order to reduce the workload of the controller The devices can be programmed using the IEC 61131 3 compli ant CODESYS 3 programming software 4 4 1 Operating frequency The Turck UHF system uses nationally specified transmission frequencies for the communica tion between the tags and read write heads These na...

Page 15: ...ol must be defined manually in the CODESYS program After that only read access to the device is allowed with the other protocols Manual protocol selection thus also provides an additional permanent locking feature 4 4 4 Data transfer to the PLC In every write or read cycle up to 128 bytes can be transferred on each channel The data must be fragmented in order to transfer more than 128 bytes The am...

Page 16: ...LC cycles to execute a command repeatedly flow chart see 220 This increments the loop counter to execute a command repeatedly At least four PLC cycles are required in conventional command processing In order to execute a command repeatedly with conventional command processing a command has to be reset and then set again The loop counter function is provided for special commands If the command was ...

Page 17: ...Technical accessories Accessories for mounting connecting and parameterizing can be found in product database or the Accessories List for TBEN D301367 under www turck com The accessories are not part of the scope of delivery ...

Page 18: ... holes spaced 100 mm apart horizontally and vertic ally The maximum length of the screws is 8 mm plus the thickness of the VESA bracket The devices can be mounted in any position Fasten the device with four M4 screws to a bracket in accordance with VESA 100 100 100 3 94 100 3 94 219 8 62 126 4 96 Ø 6 5 0 26 4 M4 46 1 1 82 100 3 94 100 3 94 126 4 96 Ø 6 5 0 26 4 M4 46 1 1 82 219 8 62 Fig 4 Rear vie...

Page 19: ...cting the device to an Ethernet system Fig 6 M12 Ethernet connector Connect the device to Ethernet as per the following pin assignment max tightening torque 0 8 Nm v 4 1 3 2 ETH1 PoE 1 TX 2 RX 3 TX 4 RX flange FE Fig 7 Pin assignment of the Ethernet connections NOTE With PoE transfer the power supply via PoE Mode A with 4 wire cables ...

Page 20: ...he device is provided with a 5 pin M12 plug connectors for connecting the power supply Fig 8 M12 plug connector for connecting the power supply Connect the device to the power supply as per the following pin assignment max tight ening torque 0 8 Nm 1 V1 2 TX RX 3 GND 4 TX RX 5 PE 2 1 5 4 3 3 2 1 5 4 24 VDC COM Fig 9 Pin assignment of the power supply terminals ...

Page 21: ...ower over Ethernet the digital channels cannot be used as outputs Connect sensors and actuators to the device as per the following pin assignment max tightening torque 0 8 Nm 4 1 3 2 5 v 1 Vaux 2 DXP1 DXP3 3 GND 4 DXP0 DXP2 5 FE DXP0 DXP3 5 FE 4 BK 1 BN 3 BU 3 BU 2 WH v DXP0 DXP3 Sensor or Actuator Sensor or Actuator Fig 11 Connections for digital sensors and ac tuators pin assignment Fig 12 Conne...

Page 22: ...w turck com 6 4 Connecting external antennas The device is provided with four RP TNC sockets for connecting up to four external antennas The input impedance is 50 Ω Fig 13 RP TNC sockets for connecting external antennas Connect external antennas with an RP TNC antenna cable to the device max tightening torque 0 8 Nm ...

Page 23: ...ds are available in different variants When a connection is made to a connected read write head the DTM automatically detects the relevant device and deac tivates menu items that are not supported The connection cannot be established if a different variant than set in the project tree is connected NOTE Adjustable parameters are indicated in the DTM with a green arrow Fixed paramet ers are indicate...

Page 24: ...k GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 7 1 1 Connecting the device with the PC Open PACTware Right click Host PC in the project tree Click Add device Add BL Service Ethernet Confirm selection with OK Fig 15 Selecting an Ethernet adapter ...

Page 25: ...V02 00 2020 08 25 Right click the Ethernet adapter Start the Topology scan Fig 16 Starting the Topology scan ...

Page 26: ...rizing read write heads with the DTM 26 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com The connected devices are automatically detected and added to the project tree Fig 17 Project tree ...

Page 27: ...d read write head parameter setting Right click the device Start the parameter setting Choose Parameterization or Online parameterization The device must be connected to the PC for the Online parameterization Fig 18 Starting the parameterization ...

Page 28: ...dministrator password protected Display channel wise Toggles the view between standard display and channel wise display Load data from database Loads previously stored parameters from the database e g an existing project Store data in database Transfers the current read write head parameters to the database of the current project Read data from device Reads the set parameters from the device Trans...

Page 29: ...y available for Turck service technicians All relevant settings for the successful parameter setting of an application are available in the Advanced access level Access level Description Initial password Basic Basic access for configuration and commissioning Not required Advanced Extended access e g for applications Not required Administrator Administrator access for critical security or wireless ...

Page 30: ...tched on in sequence The example below shows the activation of the antennas in sequence The multiplex operation can consist of up to 16 sequences and can be used for example for gate applications Fig 21 Gate application schematic representation Configuring multiplex operation example Choose the Antenna tab in the main menu At Antenna Ò Antenna multiplexing Ò Number of entries enter the number of a...

Page 31: ...V02 00 2020 08 31 Assign antennas with functions e g internal antenna RHCP LHCP external antenna Fig 23 Example setting multiplex operation ...

Page 32: ... 208 4952 0 F 49 208 4952 264 more turck com www turck com Click Accept to save the settings For all antennas used set at Antenna configuration Ò Maximal transmit time the time in which the particular antenna is to remain active and stay switched on Fig 24 Setting the maximum transmit time ...

Page 33: ...ain BUS ERR RUN APP LAM PWR RFON DATA DIAG USER Conducted power Pcond Cable attenuation dB Antenna gain GHW Radiated power PERP Antenna Fig 25 Power calculation relevant variables schematic representation The power can be calculated with the following formula PERP GHW dB Pcond Setting antenna power Restrictions of radio regulations Some national regulations restrict the degree of freedom available...

Page 34: ...The radiated power can be stated in watts or in dBm The following table shows approximate values as a guide for converting between dBm and mW dBm mW dBm mW dBm mW dBm mW 1 1 25 9 8 17 50 25 316 2 1 6 10 10 18 63 26 400 3 2 11 13 19 80 27 500 4 2 5 12 16 20 100 28 630 5 3 13 20 21 125 29 800 6 4 14 25 22 160 30 1000 7 5 15 32 23 200 8 6 16 40 24 250 33 2000 The formula for calculating the exact val...

Page 35: ...ternal antenna is limited to 1 W With external antennas 1 W of output power is provided at the TNC socket The power supply type is set automatically via Antenna configuration Ò Power supply to the external power supply value Set the radiated power via Antenna Configuration Ò Radiated power here 33 dBm e r p Fig 26 Setting the radiated power ...

Page 36: ...TM 36 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Refer to the data sheet of the cable used for the cable attenuation Enter the cable attenuation at Antenna cable attenuation Fig 27 DTM entering the cable attenuation ...

Page 37: ...V02 00 2020 08 37 Refer to the data sheet of the external antenna for the antenna gain Set the unit for the antenna gain at Antenna gain unit here dBd Fig 28 Setting the unit for the antenna gain ...

Page 38: ...oning Parameterizing read write heads with the DTM 38 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Set antenna gain at Antenna gain here 9 00 Fig 29 Setting antenna gain ...

Page 39: ... at the TNC socket Pcond is calculated automatically by the DTM and displayed at Conducted power Fig 30 Display of the power at the TNC socket Click Accept to save the settings Set the power for each additional antenna separately ...

Page 40: ...null spots caused by interference The detection rate can be increased by switching the polarization Polarization switching is suitable for example in single tag applica tions in particularly metallic environments The following graphics schematically illustrate the possibilities of antenna polarization ANT ANT Fig 31 Antenna polarization circular RHCP Fig 32 Antenna polarization circular LHCP ANT A...

Page 41: ...rization switching is activated in the DTM via the multiplex settings Set at Antenna Ò Number of entries the value 2 Set at Antenna Ò 1st entry the value Antenna LHCP Set at Antenna Ò 2nd entry the value Antenna RHCP Fig 35 Switching antenna polarization ...

Page 42: ...mal transmit time set the time up to the polarization switch or activate the Switch to next antenna if no transponder was read option a If the Switch to next antenna if no transponder was read option is enabled the read write head automatically switches after an Inventory operation without reading to the next multiplex sequence Entry Fig 36 Switching polarization automatically ...

Page 43: ...ode The Advanced access level allows the Tag data delay time and Carrier delay time parameters to be set individually n Tag data delay time Time in which the read write head searches for a tag If a tag is found the field is switched on In the Basic access level the parameter is set by default to 100 ms n Carrier delay time Time until the read write head switches off the field after the last read o...

Page 44: ...cation tab is used to set the parameters for the configuration of the deBus messages All parameters and the settable values are written in the DTM Example switch on RSSI transmission Switch on RSSI transmission choose Communication Ò Message data content Ò Transponder RSSI and select the enabled option a The RSSI value is displayed with the inventory in the read data Fig 38 Switching on RSSI trans...

Page 45: ... an Inventory command All para meters and the settable values are written in the DTM Example set the tag reset The tag reset function makes it possible to set how often a tag returns a signal to the read write head with an Inventory operation The tag reset function is only useful in single tag applica tions EPC Class 1 Gen 2 Ò Inventory Ò Inventory profile 1 Transponder reset Ò enter value here 15...

Page 46: ...ers do not reduce the data traffic on the air interface and are not suitable for multi tag applications with many tags or high passing speeds All parameters and the settable values are written in the DTM Example set the RSSI filter An RSSI filter makes it possible to prevent unwanted read operations All read operations with an RSSI outside of the set limit values are filtered out and not displayed...

Page 47: ...ple all read operations below an RSSI value of 45 dBm are filtered out Fig 41 Example setting the limit value for RSSI 7 1 12 Setting LED indication Signaling The Signaling tab enables the default settings for the USER LEDs to be edited All parameters and the settable values are written in the DTM ...

Page 48: ...e devices can be set and commands sent to the devices via the integrated web server To open the web server with a PC the device and the PC must be located in the same IP network 7 2 1 Opening a web server The web server can be opened via a web browser or via the Turck Service Tool The procedure for accessing the web server via the Turck Service Tool is described in the section Setting the IP addre...

Page 49: ...in order to edit settings via the web server The default password is password NOTE To ensure greater security Turck recommends changing the password after the first login Enter the password in the Login field on the start page of the web server Click Login Fig 42 Web server login ...

Page 50: ...ameterizing read write heads with the web server 50 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Change the password after the first login Fig 43 Web server changing the password ...

Page 51: ...08 51 The start page is displayed with the device information after the login Fig 44 Web server start page Click UHF RFID CONFIG DEMO to display and set the device parameters Fig 45 Web server UHF RFID CONFIG DEMO ...

Page 52: ...b server 52 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Click GO ONLINE in the login window Fig 46 Web server GO ONLINE Click Parameter in the navigation bar on the left of the screen Fig 47 Web server Parameter dialog ...

Page 53: ... level displayed in the web server corresponds to the Advanced level in the DTM Fig 48 Web server Parameter arrangement The following setup windows can be called n Basic setup n Antenna n Antenna configuration n Communication n EPC Class1 Gen2 n Post read filter n Signaling Set the parameters click Write NOTE While a parameter is set the ERR LED of the device is lit red and changes automatic ally ...

Page 54: ...d write head n Logging of the interface communication between host or PC and read write head n Sending of user specific deBus commands n Writing of tags with a user defined number n Sending tag specific commands Requirements for the RFID test n PACTware must be installed n The DTM for UHF read write heads must be installed n The DTM for the BL20 BL67 BLcompact FEN20 FXEN FGEN and TBEN fieldbus I O...

Page 55: ...V02 00 2020 08 55 7 3 1 Starting the RFID Test Right click the device in the project tree In the context menu choose Additional functions Ò RFID Test Fig 49 Starting the RFID Test ...

Page 56: ...GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 7 3 2 Start window overview The RFID Test window consists of the following elements n Main menu n Basic test n Tag actions n Reader Status n Logger Fig 50 RFID Test overview of the start window ...

Page 57: ...ite head status Calls the status of the read write head and provides the information in the Logger window Get read write head version Calls the following information from the read write head and provides the information in the Logger window n Hardware revision n Firmware status n Serial number Reset the read write head Offers three ways of resetting the read write head n Voltage reset n Factory re...

Page 58: ...ode Poll all Shows all tags in the polling memory of the device in the tag list The function is only available in polling mode Clear polled tags from read write head Clears the polling memory of the read write head Group tag list Combines readings of tags with the same EPC CSV export current values Saves the tag list in CSV format Clear tag list Deletes the list of displayed tags The queried data ...

Page 59: ...n be set for other read operations n Memory bank TID EPC UID PC access password or kill password n Start word n Number of words The read data is displayed in the Data area Write RFID tag memory Starts the write operation The chip type is automatically displayed The following parameters can be set for the write operations n Memory bank TID EPC UID PC access password or kill password n Start word n ...

Page 60: ...Example execute tag actions Position tag in detection range of the read write head Activate the trigger for the read write head in the main menu Fig 54 Main menu activating trigger Basic test window execute polling command in order to display tag in the tag list Basic test window select tag from the tag list Fig 55 Basic test tag selection ...

Page 61: ...2020 08 61 Tag actions window To read select Memory location Start word or Word length and click the appropriate icon To write enter values under Data and confirm with OK Fig 56 Execute tag action example read ...

Page 62: ... write heads with the DTM 62 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com a Successful access is displayed via the status message at the bottom of the window Fig 57 Example read successful ...

Page 63: ...ssages in the Logger window 7 3 7 HF diagnosis window Interference frequencies affecting the respective channels are displayed in the HF diagnosis window Fig 59 HF diagnosis window The following functions can be executed in the HF diagnosis window Icon Function Description Start stop HF diagnosis Starts or closes the HF diagnosis Clear values Deletes the displayed values ...

Page 64: ...ck UHF RFID CONFIG DEMO Ò Application Fig 60 Web server RFID Application The RFID Test the UHF Diagnostics and the Command builder are provided in the application area n RFID Test If the trigger is set to ON the RF field is activated and tags can be read n UHF Diagnostics The graphs show interference frequencies of all channels used n Command builder Use of the Command builder is reserved for Turc...

Page 65: ...n tags to be displayed and read out in single tag and multitag mode The received RSSI values are displayed as a curve in relation to time Fig 61 Example of RFID Test Detection of a tag with received RSSI values over time and the number of read opera tions ...

Page 66: ...s Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com The currently received power level for each channel of the read write head is displayed in the UHF Diagnostics window Fig 62 Example of UHF Diagnostics Received power level per channel ...

Page 67: ...rmation with the DTM The DTM provides access to hardware and software information as well as regulations on the connected device Right click the device in the project tree Choose Additional functions Ò Identify Fig 63 Calling up Identification ...

Page 68: ...Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com a The DTM shows the available information on the device according to the selected access level Fig 64 Device information for TN865 Q175L200 H1147 in the Advanced access level ...

Page 69: ...y set to IP address 192 168 1 254 The IP address can be set via the Turck Service Tool The Turck Service Tool is available free of charge from www turck com Connect the device to a PC via the Ethernet interface Launch the Turck Service Tool Click Search or press F5 Fig 65 Turck Service Tool start screen The Turck Service Tool displays the connected devices Fig 66 Turck Service Tool found devices ...

Page 70: ...quired device Click Change or press F2 Fig 67 Turck Service Tool selecting the device to be addressed NOTE Clicking the IP address of the device opens the web server Change the IP address and if necessary the network mask and gateway Accept the changes by clicking Set in device Fig 68 Turck Service Tool changing the device configuration ...

Page 71: ...eb server Log into the device as administrator Click Network configuration Change the IP address and if necessary also the subnet mask and default gateway Write the new IP address subnet mask and default gateway via Submit to the device Fig 69 Web server changing the IP address ...

Page 72: ...ce to be set up the hardware configured and the I O mapping defined Hardware used This example uses the following hardware components n Turck HMI TX707 P3CV01 Modbus master n TN UHF Q300 EU CDS UHF read write head IP address 192 168 1 20 Software used This example uses the following software n CODESYS 3 5 12 1 download free of charge from www turck com Prerequisites n The programming software has ...

Page 73: ...ler To connect the device to the controller the following components must be added in CODESYS first of all n Ethernet adapter n Modbus TCP master n Modbus TCP slave Adding an Ethernet adapter Right click Device TX707 P3CV01 in the project tree Fig 70 Project tree ...

Page 74: ... Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Select Append device Select an Ethernet adapter Click Append device a The Ethernet adapter appears as Ethernet Ethernet in the project tree Fig 71 Adding an Ethernet adapter ...

Page 75: ...ding a Modbus master Right click Ethernet Ethernet in the project tree Select Append device Double click Modbus TCP Master a The Modbus master appears as Modbus_TCP_Master in the project tree Fig 72 Adding a Modbus master ...

Page 76: ...4952 0 F 49 208 4952 264 more turck com www turck com Adding a Modbus slave In the project tree right click Modbus_TCP_Master Modbus TCP Master Select Append device Double click Modbus TCP Slave a The Modbus slave appears as Modbus_TCP_Slave in the project tree Fig 73 Adding a Modbus slave ...

Page 77: ...020 08 77 7 7 2 Renaming a Modbus slave Click Modbus slave in the project tree Press F2 Adapt the name of the slave in the project tree of the application here TN_UHF_Q300_EU_CDS Fig 74 Renaming a Modbus slave ...

Page 78: ...s Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 7 7 3 Setting up network interfaces Click Device Ò Scan network Select Modbus master here TX707 P3CV01 and confirm with OK Fig 75 Setting up a network interface to the Modbus master ...

Page 79: ...V02 00 2020 08 79 Select the PLC Settings tab In the Always update variables drop down menu select the Enabled 2 always in bus cycle task option Fig 76 Selecting the option Always update variables ...

Page 80: ...ice to a Modbus master 80 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Double click Ethernet Enter the IP address of the Modbus master here 192 168 1 70 Fig 77 Modbus master enter the IP address ...

Page 81: ...V02 00 2020 08 81 Double click the Modbus TCP slave In the General tab enter the IP address of the slave here 192 268 1 20 Fig 78 Modbus slave entering the IP address ...

Page 82: ...ck com 7 7 4 Setting Modbus channels registers Set channel 0 input data Double click the Modbus TCP slave Select in the Modbus Slave Channel tab Ò Add channel Enter the following values n Name of channel n Access type Read holding registers n Offset 0x0000 n Length 64 registers 128 bytes Confirm with OK Fig 79 Setting the READ register ...

Page 83: ...k the Modbus TCP slave Select in the Modbus Slave Channel tab Ò Add channel Enter the following values n Name of channel n Access type Write holding registers n Offset 0x0000 n Length 64 registers 128 bytes Confirm with OK Fig 80 Setting the WRITE registers ...

Page 84: ...com www turck com 7 7 5 Setting the I O mapping To create I O mapping the local I Os must be added to the project and connected with the Modbus master Right click the name of the project in the project tree Select Add device Double click Q300 a The local I Os appear in the project tree Fig 81 Adding local I Os to the project ...

Page 85: ...02 00 2020 08 85 Attaching the Ethernet adapter to the local I Os Right click Q300 Q300 in the project tree Select Add device Double click Ethernet Fig 82 Attaching the Ethernet adapter to the local I Os ...

Page 86: ...o KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Attaching the Modbus TCP slave to the local I Os Right click Ethernet Ethernet in the project tree Select Add device Double click Modbus TCP Slave Device Fig 83 Attaching the Modbus TCP slave to the local I Os ...

Page 87: ...V02 00 2020 08 87 Define the size of the input and output data for the Modbus slave here 64 registers each Fig 84 Defining the size for input and output data ...

Page 88: ...49 208 4952 264 more turck com www turck com Local I Os setting the Ethernet interface Double click Q300 Q300 in the project tree In the Communication Settings tab click the Scan network button Select TN UHF Q300 CDS and confirm with OK Fig 85 Setting up an Ethernet interface to the read write head ...

Page 89: ...V02 00 2020 08 89 Select the PLC Settings tab In the Always update variables drop down menu select the Enabled 2 always in bus cycle task option Fig 86 Setting the option Always update variables option ...

Page 90: ...a Modbus master 90 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Double click Q300 connected Q300 Enter the IP address of the Modbus slave here 192 168 1 100 Fig 87 Modbus master entering the IP address ...

Page 91: ...utable application must be present in the device in order to establish communication between Modbus master and TN UHF Q300 CDS Right click Application in the project tree Choose Add Object Ò Task Configuration in the context menu Fig 88 Adding a task for the application ...

Page 92: ...208 4952 264 more turck com www turck com Adding a program organization unit POU This example shows a simple program for mapping the Continuous mode active bit to the inputs of the Modbus master Right click Application in the project tree Choose Add Object Ò POU in the context menu Fig 89 Adding a POU ...

Page 93: ...V02 00 2020 08 93 Add the POU as a program to the application Click Add Fig 90 Adding the POU to the application ...

Page 94: ...device to a Modbus master 94 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Confirm the adding of the POU in the entry dialog with OK Fig 91 Confirming the adding of the POU in the entry dialog ...

Page 95: ...Os of the Modbus master Obtain the address of the Continuous mode active input bit from the mapping for the selected operating mode here UHF compact Fig 92 Address of the input bit in the local I Os of the RFID interface Continuous mode active ...

Page 96: ...o a Modbus master 96 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Obtain the address for the Continuous mode active output bit from the mapping for the slave device Fig 93 Address for the output bit ...

Page 97: ...V02 00 2020 08 97 Transfer the mapping to the POU Fig 94 Transferring the mapping to the POU ...

Page 98: ...ler Select device Click Online Ò Login 7 7 8 Reading out process data The process data can be interpreted if the device is connected online with the controller Double click the Modbus TCP slave Click the Modbus TCP Slave I O Mapping tab a The process data is displayed In this example the Continuous mode active bit is set if the read write head is in Continuous mode Fig 95 Example process data ...

Page 99: ...are components n Siemens S7 1500 controller with CPU 1513 1 PN n TN UHF Q300 CDS EU UHF read write head IP address 192 168 1 254 Software used This example uses the following software n CODESYS 3 5 12 1 download free of charge from www turck com n SIMATIC STEP7 Professional V15 TIA Portal n Generic GSDML file for Turck UHF read write heads available as download free of charge from www turck com Re...

Page 100: ...ller 100 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 7 9 1 Configuring the device in CODESYS as a PROFINET device The device must have been created in the project tree Fig 96 TN UHF Q300 CDS EU in the project tree ...

Page 101: ...V02 00 2020 08 101 Adding an Ethernet adapter Right click Device Q300 in the project tree Select Append device Select an Ethernet adapter Click Add Device Fig 97 Adding an Ethernet adapter ...

Page 102: ...2 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Attaching a PROFINET device Right click Ethernet Ethernet in the project tree Select Append device Select Profinet Device Click Add Device Fig 98 Attaching the PROFINET device ...

Page 103: ... Profinet Device in the project tree Select Append device Example double click IN 1 BYTE Example double click OUT 1 BYTE Click Add Device NOTE The slots defined as inputs in CODESYS correspond to the outputs in the TIA Portal and vice versa Fig 99 Assigning inputs and outputs ...

Page 104: ...apping Example The Continuous mode active bit is sent to the controller via an output byte Double click the required operating mode in the project tree here HF compact Select the UHF compact I O Mapping tab Find the internal device address of the Continuous mode active bit from the I O image for the selected operating mode here UHF compact Fig 100 Bit Tag present internal address ...

Page 105: ...V02 00 2020 08 105 Example double click OUT_1_BYTE in the project tree Assign the internal address for the Continuous mode active bit to the output byte Fig 101 Mapping the I O address ...

Page 106: ...oller 106 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 7 9 2 Setting up the network interface Click Device Q300 Ò Scan network Select TN UHF Q300 EU CDS and confirm with OK Fig 102 Setting up the network interface ...

Page 107: ...02 00 2020 08 107 Select the PLC Settings tab In the Always update variables drop down menu select the Enabled 2 always in bus cycle task option Fig 103 Setting the option Always update variables option ...

Page 108: ...108 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Double click Ethernet Ethernet Select the network interface Enter the IP address of the PROFINET master here 192 168 0 254 Fig 104 PROFINET master entering the IP address ...

Page 109: ...V02 00 2020 08 109 Connecting the device online Click Online Ò Login Click the Start button a The connection is now displayed in the project tree Fig 105 Display of the connection in CODESYS ...

Page 110: ... controller 110 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 7 9 3 Connecting a device to a Siemens controller in the TIA Portal Add a controller to the project here CPU 1513 1 PN Fig 106 Adding a controller ...

Page 111: ...V02 00 2020 08 111 Include the Turck Codesys device in the project To do this select the generic GSDML file CDS3 PN Device from the Turck folder Fig 107 Adding the Turck Codesys device ...

Page 112: ...CDS assigning IP address and PROFINET device name Assign IP address and PROFINET device name for the UHF read write head if necessary via the Turck Service Tool Enter IP address and PROFINET device name in the TIA Portal Device configuration Ò Properties ÒGeneral Ò Ethernet addresses Fig 108 Setting the IP address and PROFINET device name in the TIA Portal ...

Page 113: ...uts NOTE The slots defined as inputs in CODESYS correspond to the outputs in the TIA Portal and vice versa Example assign IN 1 Byte and OUT 1 Byte from the Hardware catalog to the device Fig 109 Assigning the inputs and outputs in the TIA Portal ...

Page 114: ...re turck com www turck com Creating the monitoring table The process data here the set Continuous mode active bit can be visualized via monitoring tables Creating a new monitoring table Loading the configuration in the controller Load the configuration in the controller Fig 110 Loading the configuration in the controller ...

Page 115: ...e the CONTINUOUS_MODE_ACTIVE bit is displayed in the monitoring table Fig 111 Bit in the monitoring table CONTINUOUS_MODE_ACTIVE The successful connection is now displayed in the project tree in CODESYS Fig 112 Successfully established connection display in CODESYS ...

Page 116: ...uses the following hardware components n TN UHF Q300 CDS EU UHF read write head IP address 192 168 1 20 n TBEN S2 2RFID 4DXP block module IP address 192 168 1 100 n TN Q80 H1147 HF read write head Software used This example uses the following software n CODESYS 3 5 12 10 download free of charge from www turck com Requirements n The package file for TN UHF Q300 CDS is installed n A new standard pro...

Page 117: ...V02 00 2020 08 117 This displays the device in the project tree Fig 114 TN UHF Q300 CDS EU in the project tree ...

Page 118: ...18 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Adding an Ethernet adapter Right click Device Q300 in the project tree Select Append device Select an Ethernet adapter Click Add Device Fig 115 Adding an Ethernet adapter ...

Page 119: ...ght click Ethernet Ethernet in the project tree Select Append device Double click Modbus TCP Master a The device appears as Modbus_TCP_Master in the project tree a Modbus slaves can be connected to the Modbus master Fig 116 Adding a Modbus master ...

Page 120: ...KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Adding a Modbus slave Right click Modbus_TCP_Master in the project tree Select Append device Double click Modbus TCP Slave a The device appears as Modbus_TCP_Slave in the project tree Fig 117 Adding a Modbus slave ...

Page 121: ...ing up the network interface Double click Device Q300 in the project tree Choose the Communication Settings tab Click Scan network Select TN UHF Q300 CDS EU and confirm with OK or a double click Fig 118 Adding the network interface ...

Page 122: ...Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Select the PLC Settings tab In the Always update variables drop down menu select the Enabled 2 always in bus cycle task option Fig 119 Selecting an option Always update variables option ...

Page 123: ...V02 00 2020 08 123 Double click Ethernet Ethernet in the project tree Enter the IP address of the Modbus master here 192 168 1 20 Fig 120 Modbus master enter the IP address ...

Page 124: ...master 124 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Double click Modbus_TCP_Slave in the project tree Enter the IP address of the Modbus slave here 192 168 1 100 Fig 121 Modbus slave entering the IP address ...

Page 125: ...0 input data Double click Modbus TCP Slave Select in the Modbus slave channel tab Ò Add channel Enter the following values n Name of channel n Access type Read input registers n Offset 0x0000 n Length 64 registers 128 bytes Confirm with OK Fig 122 Setting the READ register ...

Page 126: ...re turck com www turck com Set channel 1 output data Double click Modbus TCP Slave Select in the Modbus slave channel tab Ò Add channel Enter the following values n Name of channel n Access type Write multiple registers n Offset 0x0000 n Length 64 registers 128 bytes Confirm with OK Fig 123 Setting the WRITE registers ...

Page 127: ... Click the Modbus TCP Slave I O Mapping tab a The process data is displayed In this example the Tag present bit is set if a tag is present in the detection range of the read write head connected to channel 1 Fig 124 Example process data Refer to the operating instructions of the connected slave for the mapping the channels see figure below Fig 125 Example extract from the Modbus TCP mapping for th...

Page 128: ...uter Port 443 SSL must be en abled for connection with the Turck cloud in the internet router NOTE The integration of the TN UHF Q300 EU CDS requires CODESYS version V3 5 SP14 Application example n TN UHF Q300 EU CDS firmware version V1 0 2 0 n IP address As the device only has one Ethernet port programming in CODESYS and the display of the device in the cloud are not possible at the same time Tur...

Page 129: ...V02 00 2020 08 129 DNS server A DNS must be accessible for internet access The DNS server can be configured automatically via DHCP or manually Fig 127 Web server setting up a DNS server ...

Page 130: ...ud as a cloud gateway a cloud user account must exist with a cloud project The device device type can be TN UHF CDS as a cloud gateway No customer account present Create a new customer account via Register in the Turck Cloud www turck cloud Customer account present Request user data from the cloud administrator Newly created users receive a confirma tion email Follow the link to the new user accou...

Page 131: ... 7 11 2 Creating a Cloud project Create a project via ADMINISTRATE Ò PROJECTS Ò Create a project Assign a project via Project and select a service user Complete the entry via CHECK INPUT Fig 128 Creating a cloud project ...

Page 132: ...208 4952 0 F 49 208 4952 264 more turck com www turck com The costs of the creation of a new project are shown in the next step of the Create a project op eration Click ORDER AND ACTIVATE WITH COSTS and create the project Fig 129 Turck Cloud paying to order and activating the project ...

Page 133: ... 2020 08 133 Fig 130 Turck Cloud project created link to project URL a The entered service user receives an email as a purchase and vendor order confirmation The email also contains a link to the project URL ...

Page 134: ...evice as Cloud gateway in Turck Cloud Portal Gateways can only be added to projects for which the user has appropriate rights The manual for the Turck Cloud contains further information on user rights Open the project URL and login to the project Add the gateway to a project via ADMINISTRATION Ò GATEWAYS Ò Activate Gateway Fig 131 Turck Cloud activate gateway ...

Page 135: ...e gateway name in the cloud user interface a gateway user name under User and a password under Password Complete the entry via CHECK INPUT NOTE The gateway user name should be unique and only used once in the project It is not associated with the user name Fig 132 Turck Cloud Portal activating TN UHF CDS as a cloud gateway step 1 ...

Page 136: ...ew gateway is activated are displayed in the next step of the Activate gateway operation Click ORDER AND ACTIVATE WITH COSTS and create a gateway Fig 133 Turck Cloud Portal ordering and paying to activate the gateway a The person responsible for the project receives an email as a purchase and vendor order confirmation The email also contains a link to the project URL ...

Page 137: ...nder CLOUD Ò Creden tials Activate the portal access via Turck Cloud Portal Ò Enable Enter the Turck Cloud access data The access data are displayed in the cloud under Manage Ò Gateways at the TN UHF CDS entry If necessary configure a proxy server Write the changes into the device TN UHF CDS via WRITE Fig 134 Web server entering access data from Turck Cloud in the web server ...

Page 138: ...oud 138 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Restart the device a The cloud connection status Status shows that the device is connected to the cloud Fig 135 Webserver cloud connection established Status ...

Page 139: ...to the project The symbol configuration contains all the vari ables used in the project Select the variables to be displayed in the web server and in the cloud and define in the Access rights column whether the variables in the cloud are to be only read written or read and written Only read access is possible in the web server in the area CLOUD Ò Portal Ò Nodes see Cleaning nodes 140 Fig 136 Symbo...

Page 140: ...layed in the web server under CODESYS Symbols If no access rights have been assigned in the CODESYS project no data must be entered here Settings Automatic Node delete Activated Deactivating CODESYS symbols in the symbol configuration automatically deletes the corres ponding data nodes in the Turck Cloud Portal and on the web server interface Historical data can no longer be displayed Deactivated ...

Page 141: ...on 139 The data node points can be deleted manually here if Node Options Ò Settings Automatic Node delete is deactivated Fig 138 Webserver Cloud Clean data nodes Nodes Select data nodes to be deleted Delete marked data nodes via the Delete button a The data nodes including the historical data are also deleted in the Turck Cloud Portal ...

Page 142: ...present Read UID functions and a counter program to an OPC UA client For this the symbol configuration must be set up in CODESYS Hardware used n TN UHF CDS read write head Software used This example uses the following software n CODESYS 3 5 12 available as a free download at www turck com n UA Expert Prerequisites n The programming software has been started n A new project has been created n The P...

Page 143: ...V02 00 2020 08 143 Example setting up a CODESYS OPC UA server Add the symbol configuration in CODESYS Activate OPC UA features Fig 139 CODESYS adding OPC UA features ...

Page 144: ...com www turck com Optional Activate OPC UA features in the settings at a later time Fig 140 CODESYS activating OPC UA features at a later time Select the functions in the symbol configuration that are to be transferred to the OPC UA client in this case test_counter TagPresent and UID Fig 141 CODESYS symbol configuration ...

Page 145: ...V02 00 2020 08 145 Write data to the device Open the OPC UA client example UA Expert Establish the connection between the OPC UA server and OPC UA client Fig 142 UA Expert establishing a connection ...

Page 146: ...ng Setting up a CODESYS OPC UA server 146 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com The data is displayed in the OPC UA client Fig 143 UA Expert data in the OPC UA client ...

Page 147: ...g mode Mode 1 Reserved 2 Reserved 3 4 5 DDI 6 Reserved 7 Reserved 8 Command repetitions CRET 9 Reserved 10 Reserved 11 12 Reserved 13 14 15 16 Reserved 17 18 19 20 21 22 23 24 25 26 27 Reserved 28 Reserved 29 Reserved 30 Reserved 31 Reserved 32 Length of write data WDS 33 34 Length of read data RDS 35 ...

Page 148: ... the header Execute the Continuous presence sensing mode command a The read write head is switched to Presence sensing mode and sends all received data to the interface as soon as at least one tag is located in the detection range a The data received from the read write head is stored in the FIFO memory of the interface Send the Idle command 0x0000 in order to then read data from the buffer of the...

Page 149: ...d to be transferred e g when swapping a device Execute the Backup settings of the UHF read write head command a The settings for the read write head are saved in the interface Replace the read write head Execute the Restore UHF read write head settings command a The data stored in the interface is transferred to the read write head ...

Page 150: ...e no Bit PROFINET Modbus EtherNet IP 7 6 5 4 3 2 1 0 0 0 Response code RESCUHF 1 1 2 2 Loop counter for rapid processing RCNT 3 3 Reserved 4 4 TRE1 PNS1 TP1 5 5 CMON 6 6 Length LEN 7 7 8 8 Error code ERRC 9 9 10 10 Tag counter TCNT 11 11 12 16 Reserved 13 17 Reserved 14 18 Reserved 15 19 Reserved 16 20 Reserved 17 21 Reserved 18 22 Reserved 19 23 Reserved 20 24 Read data Byte 0 147 151 Read data B...

Page 151: ...ode ERRC 9 9 10 10 Tag counter TCNT 11 11 12 12 Data bytes available BYFI 13 13 14 14 Read fragment no 15 15 Write fragment no 16 16 Reserved 17 17 Reserved 18 18 Reserved 19 19 Reserved 20 20 Reserved 21 21 Reserved 22 22 Reserved 23 23 Reserved 24 24 Read data Byte 0 25 25 Read data Byte 1 26 26 Read data Byte 2 27 27 Read data Byte 3 28 28 Read data Byte 4 29 29 Read data Byte 5 30 30 Read data...

Page 152: ...s the number of bytes in the FIFO memory of the interface Ascending New data from a tag read or received by the device Descending Execution of a command completed Error message 0xFFFF Memory overfilled data loss of new data likely Read fragment no RFN only available with UHF extended If the data to be read exceeds the size of the read data memory the data is di vided in max 256 fragments The fragm...

Page 153: ... the Tag in detection range bit TP is set If no tag is present in the detection range when the command is sent the command is executed by a rising edge at TP A command is executed immediately if there is a tag in the detection range at the time of sending NOTE If the read write head detects a new tag in the detection range the Tag in detection range bit and the UID are indicated at the same time i...

Page 154: ...s EtherNet IP 7 6 5 4 3 2 1 0 0 0 Command code CMDC 1 1 2 2 Loop counter for rapid processing RCNT 3 3 Memory area DOM 4 4 Start address ADDR 5 5 6 6 7 7 8 8 Length LEN 9 9 10 10 Length of EPC SOUID 11 11 Reserved 12 24 Write data Byte 0 13 25 Write data Byte 1 14 26 Write data Byte 2 15 27 Write data Byte 3 16 28 Write data Byte 4 17 29 Write data Byte 5 18 30 Write data Byte 6 19 31 Write data B...

Page 155: ... 6 7 7 8 8 Length LEN 9 9 10 10 Length of EPC SOUID 11 11 reserved 12 12 Timeout TOUT 13 13 14 14 Read fragment number RFN 15 15 Write fragment number WFN 16 16 Reserved 17 17 Reserved 18 18 Reserved 19 19 Reserved 20 24 Write data Byte 0 21 25 Write data Byte 1 22 26 Write data Byte 2 23 27 Write data Byte 3 24 28 Write data Byte 4 25 29 Write data Byte 5 26 30 Write data Byte 6 27 31 Write data ...

Page 156: ...me the device outputs an error message 0 No timeout command stays active until the first tag was read 1 Command is executed once if there is already a tag in the detection range 1 65535 Time in ms Inventory Command active for the entire specified time Read fragment no RFN If the data to be read exceeds the size of the read data memory the data is divided in max 256 fragments The fragments are numb...

Page 157: ...f the status bits Default values are shown in bold type Designation Meaning DXP4 0 Digital channel 1 not active 1 Digital channel 1 active DXP5 0 Digital channel 2 not active 1 Digital channel 2 active DXP6 0 Digital channel 3 not active 1 Digital channel 3 active DXP7 0 Digital channel 4 not active 1 Digital channel 4 active ...

Page 158: ...2 x x Fast read 0x2002 8194 x x Write 0x0004 4 x x Fast write 0x2004 8196 x x Write and verify 0x0008 8 x x Continuous mode 0x0010 16 x Get data from buffer Continuous mode 0x0011 17 Max 128 bytes x Get data from buffer with fast command processing Continuous mode 0x2011 8209 Max 128 bytes x Continuous presence sensing mode 0x0020 32 x End Continuous presence sensing mode 0x0012 18 x Read write he...

Page 159: ...mmand processing 0x2050 8272 x x Kill UHF tag 0x0200 512 x x Kill UHF tag with fast command processing 0x2200 8704 x x Restore UHF read write head settings 0x1000 4096 x x Backup settings of the UHF read write head 0x1001 4097 x x Query error status of UHF read write head 0x0042 66 x x Reset 0x8000 32768 x x ...

Page 160: ...C Not required Start address Not required Length Not required Command timeout Not required Write fragment no Not required Read fragment no Not required Write data Not required Response Loop counter See description of the input data 152 Response code 0x0000 hex 0 dec Length Length of the EPC of the tag in the detection range Error code See description of the input data 152 Tag within the detection ...

Page 161: ...completely output Command timeout See description of the output data 156 Write fragment no 0 Read fragment no See description of the output data 156 Write data Not required Response Loop counter See description of the input data 152 Response code 0x0001 hex 1 dec Length Length of the read data Error code See description of the input data 152 Tag within the detection range See description of the in...

Page 162: ...efer to the following table for an example of the RSSI value MSB LSB decimal MSB LSB binary Two s complement RSSI dBm 252 253 11111100 11111101 771 77 1 Example UHF read data header and EPC grouping deactivated Type Name Meaning uint8_t Size 14 uint8_t Block type 1 uint8_t Data 14 uint8_t EPC 12 uint16_t Number of the antenna LSB Ò MSB 2 Example UHF read data header and EPC grouping activated Type...

Page 163: ... 12 bytes EPC 14 LSB 2 bytes RSSI 15 MSB 16 LSB 2 bytes Number of the antenna n 0 RHCP n 1 LHCP n 2 Horizontal n 3 Vertical n 4 External 1 n 5 External 2 n 6 External 3 n 7 External 4 17 MSB 18 LSB 2 bytes Number of read operations 19 MSB Example UHF read data header EPC grouping with RSSI slot time phase activated Type Name Meaning uint8_t Size 24 uint8_t Block type 1 uint8_t Data 24 uint8_t EPC ...

Page 164: ...data start byte 0 The function of the length of the EPC depends on the command used 0 No entry of an EPC for executing the command Only one tag can be located in the detection range of the read write head 0 EPC length of the tag to be read if an EPC is present in the write data Start address Start address of the memory area on the tag to be read entry in bytes Length Length of the data to be read ...

Page 165: ...of the output data 156 Read write head address See description of the output data 156 Length of EPC Enter the EPC size in bytes if a particular tag is to be written The EPC must be defined in the write data start byte 0 The function of the length of the EPC depends on the command used 0 No entry of an EPC for executing the command Only one tag can be located in the detection range of the read writ...

Page 166: ...2 Response code 0x0004 hex 4 dec Length Length of the read data Error code See description of the input data 152 Tag within the detection range See description of the input data 152 Data bytes available Increases during command execution Tag counter See description of the input data 152 Write fragment no See description of the input data 152 Read fragment no 0 Read data Byte 0 127 Not required ...

Page 167: ...56 Command code 0x0008 hex 8 dec Memory area See description of the output data 156 Read write head address See description of the output data 156 Length of EPC Enter the EPC size in bytes if a particular tag is to be written The EPC must be defined in the write data start byte 0 The function of the length of the EPC depends on the command used 0 No entry of an EPC for executing the command Only o...

Page 168: ...e code 0x0008 hex 8 dec Length Length of the read data Error code See description of the input data 152 Tag within the detection range See description of the input data 152 Data bytes available Increases during command execution Tag counter See description of the input data 152 Write fragment no See description of the input data 152 Read fragment no 0 Read data Byte 0 MIN 127 set length 1 Not requ...

Page 169: ...in Continuous mode are triggered if the read write head detects a tag If there is a tag in the detection range of the read write head the command sent in Continuous mode is executed with the next tag NOTE In Continuous mode the Tag in detection range signal is not updated Start address and length cannot be changed during the execution of Continuous mode After Continuous mode is restarted all data ...

Page 170: ...152 Response code 0x0010 hex 16 dec Length 0 Error code See description of the input data 152 Tag within the detection range See description of the input data 152 Data bytes available Increases during command execution Tag counter Increases with each read or written EPC Write fragment no 0 Read fragment no See description of the input data 152 Read data See description of the input data 152 ...

Page 171: ...f the output data 156 Command code 0x0011 hex 17 dec Read write head address See description of the output data 156 Length of EPC Not required Start address Not required Length Max length of the data to be read by the device size of the data that the device has actually stored entered in bytes Command timeout See description of the output data 156 Write fragment no 0 Read fragment no See descripti...

Page 172: ...ed Type Name Meaning uint8_t Size 14 uint8_t Block type 1 uint8_t Data 14 uint8_t EPC 12 uint16_t Number of the antenna LSB Ò MSB 2 Example UHF read data header and EPC grouping activated Type Name Meaning uint8_t Size 16 uint8_t Block type 1 uint8_t Data 16 uint8_t EPC 12 uint16_t Number of the antenna LSB Ò MSB 2 uint16_t Number of the read operations LSB Ò MSB 2 Example UHF read data header EPC...

Page 173: ...by the controller via the Get data from buffer command In Continuous presence sensing mode the Tag in detection range signal is not permanently updated Request Loop counter See description of the output data 156 Command code 0x0020 hex 32 dec Read write head address See description of the output data 156 Length of EPC Not required Start address 0 Grouping inactive 1 Grouping active 1 Not defined L...

Page 174: ...mand code 0x0012 hex 18 dec Read write head address Not required Length of EPC Not required Start address Not required Length Not required Command timeout See description of the output data 156 Write fragment no 0 Read fragment no See description of the output data 156 Write data Not required Response Loop counter See description of the input data 152 Response code 0x0012 hex 18 dec Length Not req...

Page 175: ...mand timeout Not required Write fragment no Not required Read fragment no See description of the output data 156 Write data Not required Response Loop counter See description of the input data 152 Response code 0x0041 hex 65 dec Length See description of the input data 152 Error code See description of the input data 152 Tag within the detection range See description of the input data 152 Data byt...

Page 176: ...mand code 0x0060 hex 96 dec Read write head address See description of the output data 156 Length of EPC 0 Start address Not required Length Length of the description of the direct command in the write data entry in bytes Command timeout See description of the output data 156 Write fragment no 0 Read fragment no See description of the output data 156 Write data Description of the direct command Re...

Page 177: ... Response Loop counter 0 Response code 0x0060 Length 12 Error code 0 Tag within the detection range 0 Data bytes available 0 Tag counter 0 Write fragment no 0 Read fragment no 0 Read data 0x02 0x00 0x01 0x02 0x03 0x04 0x8B 0x20 0x00 0x01 0x00 0x01 The debus protocol enables the read data to be interpreted as follows MSG ERR SNR0 SNR1 SNR2 SNR3 GTYP VERS HW 0x02 0x00 0x01 0x02 0x03 0x04 0x8B 0x20 0...

Page 178: ...ed The EPC must be defined in the write data start byte 0 The function of the length of the EPC depends on the com mand used 0 No entry of an EPC for executing the command Only one tag can be located in the detection range of the read write head 0 EPC length of the tag to be protected if an EPC is present in the write data Start address Not required Length 4 bytes Command timeout See description o...

Page 179: ... description of the output data 156 Length of EPC Not required Start address Not required Length Not required Command timeout See description of the output data 156 Write fragment no 0 Read fragment no See description of the output data 156 Write data Byte 0 3 Password ARRAY 0 3 OF BYTE Write data Byte 4 127 Not required Response Loop counter See description of the input data 152 Response code 0x0...

Page 180: ...d write head address See description of the output data 156 Length of EPC Not required Start address Not required Length Not required Command timeout See description of the output data 156 Write fragment no 0 Read fragment no See description of the output data 156 Write data Not required Response Loop counter See description of the input data 152 Response code 0x0101 hex 257 dec Length Not require...

Page 181: ...address See description of the output data 156 Length of EPC Enter the EPC size in bytes if a particular tag is to be protec ted The EPC must be defined in the write data start byte 0 The function of the length of the EPC depends on the com mand used 0 The command is executed for the tag which is located in the detection range of the read write head 0 EPC length of the tag to be protected if an EP...

Page 182: ... data 152 Response code 0x0103 hex 259 dec Length Not required Error code See description of the input data 152 Tag within the detection range See description of the input data 152 Data bytes available See description of the input data 152 Tag counter See description of the input data 152 Write fragment no 0 Read fragment no See description of the input data 152 Read data Not required ...

Page 183: ...rd Length Length of the system data read bytes 0 All system data is read Command timeout Not required Write fragment no Not required Read fragment no See description of the output data 156 Write data Not required Response Loop counter See description of the input data 152 Response code 0x0050 hex 80 dec Length See description of the input data 152 Error code See description of the input data 152 T...

Page 184: ...03 240 64 512 NXP U Code G2XL 0xE2 0x006 0x004 240 64 NXP U Code G2iM 0xE2 0x006 0x80A 256 96 512 NXP U Code G2iM 0xE2 0x006 0x80B 128 448 96 640 320 NXP U Code G2iL 0xE2 0x006 0x806 0x906 0xB06 128 64 NXP U Code G2iL 0xE2 0x006 0x807 0x907 0xB07 128 64 NXP U Code 7 0xE2 0x806 0x890 128 96 NXP U Code 7xm 2k 0xE2 0x806 0xF12 448 96 2048 Impinj Monza 4E 0xE2 0x001 0x10C 496 96 128 Impinj Monza 4D 0x...

Page 185: ...f an EPC for executing the command Only one tag can be located in the detection range of the read write head 0 EPC length of the tag to be deleted if an EPC is present in the write data Start address Not required Length 1 byte Command timeout See description of the output data 156 Write fragment no 0 Read fragment no See description of the output data 156 Write data Byte 0 3 Password ARRAY 0 3 OF ...

Page 186: ...te head address See description of the output data 156 Length of EPC Not required Start address Not required Length Not required Command timeout See description of the output data 156 Write fragment no 0 Read fragment no See description of the output data 156 Write data Not required Response Loop counter See description of the input data 152 Response code 0x1000 hex 4096 dec Length Not required Er...

Page 187: ... of the output data 156 Length of EPC Not required Start address Not required Length Not required Command timeout See description of the output data 156 Write fragment no 0 Read fragment no See description of the output data 156 Write data Not required Response Loop counter See description of the input data 152 Response code 0x1001 hex 4097 dec Length Not required Error code See description of the...

Page 188: ...e head to be read Request Loop counter See description of the output data 156 Command code 0x0042 hex 66 dec Read write head address Not required Length of EPC Not required Start address Address in the Get Status response record Length Length of the data to be read from the Get Status response record 0 Read entire Get Status response record Command timeout See description of the output data 156 Wr...

Page 189: ... 1 byte trigger number of the RF mode n I O status 1 byte status of the inputs and outputs 0 low 1 high n Ambient temperature 1 byte ambient temperature in C data format 8 bit two s complement n PA temperature 1 byte PA temperature in C data format 8 bit two s complement n RF antenna temperature 1 byte antenna temperature in C data format 8 bit two s complement n Transmit power 2 bytes output powe...

Page 190: ... too high or too low 1 Reverse power too high 0 PLL not locked Evaluating read data device status Bit Meaning 4 Error in message generation in Polling mode outside of memory area 3 Temperature warning 2 Temperature too high 1 Communication error 0 Configuration invalid Command execution not possible Evaluating read data RF mode Value Meaning 0x00 None tag off 0x01 Mode 1 Trigger is digital signal ...

Page 191: ...V02 00 2020 08 191 Evaluating read data I O status Value Meaning 7 Output 4 6 Output 3 5 Output 2 4 Output 1 3 Input 4 2 Input 3 1 Input 2 0 Input 1 ...

Page 192: ...t 1 Voltage reset Length Not required Command timeout See description of the output data 156 Write fragment no 0 Read fragment no See description of the output data 156 Write data Not required Response Loop counter See description of the input data 152 Response code 0x8000 hex 32768 dec Length Not required Error code See description of the input data 152 Tag within the detection range See descript...

Page 193: ...put data output data and parameter data is possible after the login Example operating mode setting In the following example the operating mode is set to UHF Compact Click Local I O Ò Parameter in the navigation bar on the left of the screen Select RFID control status ch0 Fig 144 Web server parameters Select the operating mode via the Operation mode drop down menu Fig 145 Web server setting the ope...

Page 194: ...entory command is carried out via the web server Click Local I O Ò Output in the navigation bar on the left of the screen Select the Inventory command via the Command code drop down menu 0x0001 Inventory Activate Optional grouping Set Start address parameter to 1 a The receipt of the command is confirmed automatically in the input data at Response code Fig 146 Web server executing the Inventory co...

Page 195: ...V02 00 2020 08 195 The Inventory command is executed as soon as there is a tag in the detection range of the read write head Fig 147 Web server input data with successful Inventory command ...

Page 196: ...ing Setting devices via the web server 196 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com The read data can be called at RFID read data ch0 Fig 148 Web server read data ...

Page 197: ... input data equals 0 If less data is read than the set size of the data interface the fragment counter stays at 0 9 3 Using commands with a loop counter function NOTE The loop counter is only supported for fast execution commands Setting the command Enter the command code Set the loop counter to 1 a The command was successfully executed if the same command code appears in the pro cess input data a...

Page 198: ... presence sensing mode Triggered reading of EPCs n Repeated reading of EPCs n Automatic repetition of the same command e g Inventory read write n UHF read write head switches on as soon as a tag is detected n Repeated reading of EPCs n Automatic repetition of the same command e g Inventory read write Data is displayed in the read data after the command has ended Data must be read from the memory o...

Page 199: ...witched on DATA LED Meaning Off No tag in the field no data transfer Yellow flashing Tag in the field data transfer via the air interface DIAG LED Meaning Off No error Red Error The USER LED can be adjusted according to the application BUS LED Meaning Off No voltage present Green Connection to a master active Flashing green 1 Hz Device is operational Red IP address conflict or Restore mode active ...

Page 200: ...o program present Flashing red double 1 Hz F_Reset active Flashing red green 1 Hz OS starts APP LED programmable Flashing white Wink command active LAN LED Meaning Off No Ethernet connection Lit green Ethernet connection established 100 Mbit s Green flashing Data transfer 100 Mbit s Lit yellow Ethernet connection established 10 Mbit s Yellow flashing Data transfer 10 Mbit s ...

Page 201: ...IAG Module diagnostics present Byte no Bit 7 6 5 4 3 2 1 0 0 FCE COM V1oPoE 1 DIAG 9 6 2 Diagnostic messages RFID channels Byte no Bit 7 6 5 4 3 2 1 0 0 VAUX PRMER DTM FIFO 1 Reserved 2 Reserved 3 Reserved 4 TRE1 PNS1 5 Reserved 35 Reserved Meaning of the diagnostic bits Designation Meaning VAUX Overvoltage at power supply terminal VAUX PRMER Parameter error DTM Configuration via the DTM active FI...

Page 202: ...current at power supply terminal VAUX1 at socket C0 channels 0 and 1 VErrV1C1Ch2Ch3 Overcurrent at power supply terminal VAUX1 at socket C1 channels 2 and 3 ERRx Error message on channel x 9 6 4 Diagnostic messages device status Byte no Bit 7 6 5 4 3 2 1 0 0 DIAG 1 FCE COM V1oPoE Meaning of the diagnostic bits Designation Meaning DIAG Module diagnostics present FCE Force mode in the DTM active COM...

Page 203: ...issible range 0x820A 33290 Address outside of the permissible range 0x820B 33291 Length and address outside of the permissible range 0x820C 33292 No tag found 0x820D 33293 Timeout 0x8210 33296 Length outside of the tag specification 0x8211 33297 Address outside of the tag specification 0x8212 33298 Length and address outside of the tag specification 0x8213 33299 Memory area of the tag outside of t...

Page 204: ...en setting the tag password 0xB0B6 45238 Error when setting the write or read protection 0xB0B8 45240 Error when reading the protection status of the memory area on the tag 0xB0C3 45251 Error when setting the password in the read write head 0xD0 53 Read write head reports error 0xD001 53249 Error when resetting the read write head 0xD002 53250 Error when reading the read write head version 0xD003 ...

Page 205: ... A valid password is expected before the command is accepted 0xF824 63524 Read write head Read operation not possible e g invalid tag 0xF825 63525 Read write head Write operation not possible e g tag can only be read 0xF826 63526 Read write head Write or read error 0xF827 63527 Read write head Access to unknown address e g memory area outside of range 0xF828 63528 Read write head The data to be se...

Page 206: ...ing If the device does not work as expected proceed as follows Exclude environmental disturbances Check the connections of the device for errors Check device for parameterization errors If the malfunction persists the device is faulty In this case decommission the device and replace it with a new device of the same type ...

Page 207: ...LED lit red on the device Calling error messages in the DTM and rectifying them NOTE Contact Turck if the error persists after the read write head is reset Right click the device in the project tree Select Diagnosis in the context menu Fig 149 Project tree starting diagnosis ...

Page 208: ...turck com www turck com a The diagnosis window opens in the DTM Fig 150 DTM diagnosis Rectifying error messages Click the Reset read write head button in the RFID Test main menu Select Reset the read write head in the drop down menu a The read write head is reset Fig 151 DTM Reset the read write head ...

Page 209: ...fying them NOTE Contact Turck if the error persists after the read write head is reset Log in to the web server see 49 Click Diagnostics in the navigation bar on the left of the screen a The error messages are displayed in the device status Fig 152 Web server Diagnostics ...

Page 210: ...ck com www turck com Rectifying error messages Click Local I O Ò Output in the navigation bar on the left of the screen Select RFID control status ch0 Select the Reset command via the Command code drop down menu 0x8000 Reset a The read write head is reset Fig 153 Web server resetting the read write head ...

Page 211: ...oaded free of charge from www turck com NOTICE Interruption of the power supply during the firmware update Risk of device damage due to faulty firmware update Do not interrupt the power supply during the firmware update During the firmware update do not reset the power supply Example Updating the firmware with the PACTware FDT frame application Launch PACTware Right click HOST PC Ò Add device Fig ...

Page 212: ...ecuting the firmware update via FDT DTM 212 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Select BL Service Ethernet and confirm with OK Fig 155 Selecting the Ethernet interface ...

Page 213: ...V02 00 2020 08 213 Double click the connected device a PACTware opens the bus address management Fig 156 Opening Bus Address Management ...

Page 214: ... Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Search for connected Ethernet devices Click the Search icon Select the required device Fig 157 Selecting the device Click Firmware Download to start the firmware update Fig 158 Starting the firmware update ...

Page 215: ...V02 00 2020 08 215 Select BL Service Ethernet and confirm with OK a PACTware shows the progress of the firmware update with a green bar at the bottom of the screen Fig 159 Firmware update in progress ...

Page 216: ...ning the device to Turck 12 1 Returning devices Returns to Turck can only be accepted if the device has been equipped with a Decontamination declaration enclosed The decontamination declaration can be downloaded from https www turck de en retoure service 6079 php and must be completely filled in and affixed securely and weather proof to the outside of the packaging 13 Disposal The devices must be ...

Page 217: ...61 7 mm Housing material Aluminum AL silver Material of active face Fiber glass reinforced polyamide PA6 GF30 black Vibration resistance 55 Hz 1 mm Shock resistance 30 g 11 ms Type of protection IP67 No of channels 4 Electrical connection RP TNC Input impedance 50 Ω System description Processor ARM Cortex A8 32 bit 800 MHz ROM memory 256 MB Flash RAM memory 512 MB DDR3 Programming CODESYS V3 Relea...

Page 218: ...8 Output assembly instance 104 Number of output data PAA 248 Class1 connections 10 Class3 connections 3 Configuration assembly instance 106 PROFINET Addressing DCP MinCycleTime 4ms Diagnostics According to PROFINET Alarm Handling Automatic addressing Supported Media redundancy protocol MRP Supported Number of input data PAE Max 512 Number of output data PAA Max 512 Digital inputs No of channels 2 ...

Page 219: ...s the processing of commands 15 1 Flow chart Command processing busy done in errorCode 0x0000 done in errorCode 0x0001 0xffff Start in responseCode 0 in responseCode 0x4000 new command desired in responseCode 0 idle out commandCode 0 out loopCount 0 initiate command out commandCode 0x0002 READ yes no Fig 160 Flow chart for command processing ...

Page 220: ...nd processing with loop counter busy done in errorCode 0x0000 done in errorCode 0x0001 0xffff Start in loopCout 0 or in responseCode 0 in loopCount out loopCount or in responseCode 0 in responseCode 0x4000 new command desired idle out commandCode 0 out loopCount 0 initiate command out loopCount out loopCount 1 select command out commandCode 0x2002 LOOP_READ yes no Fig 161 Flow chart for fast command...

Page 221: ... out writeFragmentNo 1 out writeData part 1 send next fragment out writeFragmentNo out writeFragmentNo 1 out writeData part 2 n 1 send last fragment out writeFragmentNo 0 out readFragmentNo 0 out writeData part n in errorCode 0x0000 in lengst length of read data in readData part 1 error in errorCode 0x0001 0xffff acknowledge 1st fragment out readFragmentNo in readFragmentNo in readData part 2 n ackn...

Page 222: ...mand Command Code 0x0012 Continous mode active False Data bytes available 0 ERROR TRUE Error Code OR Read Fragment 1 Yes No Done Idle Command Code 0 Response Code 0 Response Code Command Code Set parameter Length data bytes available Set command Command Code 0x0011 Set command Command Code 0x0010 Set output parameter Start address 1 Grouping EPCs for UHF e g timeout Yes Manual stop Automatic stop ...

Page 223: ...ode Command Code Set parameter Length define value Set command Command Code 0x0011 Set command Command Code 0x0010 Set command Command Code 0x0012 Set command Command Code 0x0010 Set output parameter Start address 1 Grouping EPCs for UHF Yes After increasing the Read Fragment No the new data will be shown in the read data input Fig 164 Flow chart for Continuous mode without interruption before read...

Page 224: ...urck com www turck com 16 EU Declaration of Conformity Hans Turck GmbH Co KG hereby declares that wireless system read write heads of type TN UHF Q L EU comply with directive 2014 53 EU The complete text of the EU declara tion of conformity can be obtained from the following Internet address www turck com ...

Page 225: ...Over 30 subsidiaries and over 60 representations worldwide www turck com 100003065 2020 08 100003065 ...

Reviews: