Adapting settings for OPC UA communication – set endpoints ......... 34 7.4.5 Setting the OPC UA password .................... 39 7.4.6 Setting up an OPC UA client via an SDK................ 41 V01.00 | 2023/10 | 2 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
If you have any suggestions for improving the design or if some information is missing in the document, please send your suggestions to techdoc@turck.com. V01.00 | 2023/10 | 4 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
UHF reader Wall bracket (metal rail) Quick Start Guide Turck service Turck supports you in your projects – from the initial analysis right through to the commission- ing of your application. The Turck product database at www.turck.com offers you several soft- ware tools for programming, configuring or commissioning, as well as data sheets and CAD files in many export formats.
Intended use The readers with an integrated RFID interface are used for contactless data exchange with the RFID tags in the Turck UHF RFID system. The following table shows the operating frequency of the devices: Type designation Operating frequency Region TN-UHF-…-AUS-OPC-UA...
The device is provided with the following LEDs: Power supply voltage Group and bus error Status Diagnostics An audible alarm can also be set using software tools. V01.00 | 2023/10 | 7 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Attainable distances may vary due to component tolerances, mounting conditions, ambient conditions and influences caused by surrounding materials (especially metal and liquids). V01.00 | 2023/10 | 8 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
A specific OPC UA client can be programmed with the OPC UA Stack of the OPC Foundation. It is also possible to use the OPC UA SDKs of other manufacturers. Turck recommends the use of the “.NET based OPC UA client/server SDK”. The OPC Foundation provides an overview of the available clients.
"Setting" chapter. The device can perform the following methods and functions: Scan ScanStart ScanStop ReadTag WriteTag KillTag LockTag SetTagPassword WriteTagID V01.00 | 2023/10 | 10 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
With PoE, the supply voltage is transmitted via PoE Mode A with 4-wire cables. The use of PoE and 24 VDC simultaneously is not supported. V01.00 | 2023/10 | 12 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Fig. 11: Connections for digital sensors and ac- Fig. 12: Connections for digital sensors and ac- tuators – pin assignment tuators – wiring diagram V01.00 | 2023/10 | 14 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
IP network. 7.1.1 Opening a web server The web server can be opened from a web browser or from the Turck Automation Suite (TAS). Accessing the web server via TAS is described in the section entitled "Adjusting network set- tings."...
To ensure greater security, Turck recommends changing the password after the first login. Click Login. Enter the password. Click OK. Fig. 14: Web server — login V01.00 | 2023/10 | 17 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 18
ð The start page is displayed with the device information after the login. Click RFID READER to display and set the device parameters. Fig. 16: Web server — home page V01.00 | 2023/10 | 18 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 19
Click Parameter in the navigation bar on the left of the screen. Fig. 17: Web server — RFID Reader — Info V01.00 | 2023/10 | 19 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 20
Set the parameters: Click Write. NOTE While a parameter is being set, the ERR LED lights up red and automatically turns green. V01.00 | 2023/10 | 20 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
RFID-Test: If the trigger is set to ON, the RF field is activated and tags can be read. UHF Diag: The diagrams show the interference frequencies of all channels used. Command builder: Use of the command builder is reserved for Turck Support and is not de- signed for setting device parameters or device operation.
Page 22
The UHF diagnostics display the current power level being received by the reader per channel. Fig. 21: Example of UHF diagnostics: Received power level per channel V01.00 | 2023/10 | 22 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Adjusting network settings 7.3.1 Adjusting network settings via TAS (Turck Automation Suite) The device is factory set to IP address 192.168.1.254. The IP address can be set via TAS (Turck Automation Suite). The TAS is available free of charge at www.turck.com. ...
Page 24
Change the IP address and, if necessary, the network mask and gateway. Apply changes by clicking SET NETWORK DATA. Fig. 25: TAS — adjusting network settings V01.00 | 2023/10 | 24 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Write the new IP address, subnet mask and default gateway via SET NETWORK CONFIGURATION to the device. Fig. 26: Adjusting network settings via the web server V01.00 | 2023/10 | 25 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Opening the web server and editing the settings The web server can be opened from a web browser or from the Turck Automation Suite (TAS). Accessing the web server via TAS is described in the section entitled "Adjusting network set- tings."...
Page 27
To access OPC UA-specific parameters, enter the OPC UA root password. The default password is "Turck." NOTICE Insufficiently secured devices Unauthorized access to sensitive data Change the password after the first login. Turck recommends the use of a secure password. Ò Parameter OPC UA: Enter the password in the OPC UA root password field.
Page 28
Fig. 29: Parameters for the OPC UA-specific configuration The root password can be changed via Access data. Fig. 30: Changing the root password V01.00 | 2023/10 | 28 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Fig. 31: Enter the OPC UA server URL and choose the Security Settings ð The OPC UA server is added to the project tree. V01.00 | 2023/10 | 29 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 30
Click TRUST to add the security certificate to the list of trustworthy certificates. Fig. 33: Trusting security certificates In the OPC UA client, right-click the server and click Connect. V01.00 | 2023/10 | 30 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 31
The connection between the OPC UA server and OPC UA client is established and the Address Space in the client is created. Fig. 34: Connection established, address space created V01.00 | 2023/10 | 31 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Fig. 35: Trusting security certificates The Trusted certificates area lists the trusted certificates and can be rejected by clicking REJECT. Fig. 36: Rejecting a certificate V01.00 | 2023/10 | 32 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 33
Ò Ò Create a specific security certificate: Click Parameter Server certificate UPDATE CERTIFICATE. Fig. 37: Creating a specific security certificate V01.00 | 2023/10 | 33 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
If Anonymous is activated, a connection is allowed without a user login. Fig. 38: Setting security levels for SecurityPolicies V01.00 | 2023/10 | 34 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 35
Administrator: all authorizations Single user: authorized to use variables for limited clients (ScanActive, ScanSettings vari- ables) (only singleUsers) Fig. 39: User roles V01.00 | 2023/10 | 35 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 36
Settings including those listed below can be changed in the Parameter OPC UA Server configuration area: Port Host name Name of the OPC UA server Fig. 40: Server configuration V01.00 | 2023/10 | 36 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 37
Avahi (Linux network service) adds the “.local” suffix to the host name. In Windows systems, the Bonjour service can be used for the name resolution. Fig. 41: Changing the name resolution for server endpoints V01.00 | 2023/10 | 37 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 38
Language of the OPC UA Server. German and English are the available languages. Fig. 42: Changing language settings of the OPC UA server V01.00 | 2023/10 | 38 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
To access OPC UA-specific parameters, enter the OPC UA root password. The default password is "Turck." NOTICE Insufficiently secured devices Unauthorized access to sensitive data Change the password after the first login. Turck recommends the use of a secure password. Ò Parameter OPC UA: Enter the password in the OPC UA root password field.
Page 40
90, DIP switch [MODE] at position 1) without entering a password. All other pos- sibilities to fully reset to the default settings, including the OPC UA passwords, are blocked. V01.00 | 2023/10 | 40 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
UaModeler. Incorporate the data generated in the UaModeler in the project of the client SDK. V01.00 | 2023/10 | 41 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Property Description of an object Variable Process data or status information Method Functional scan with status feedback (e.g. RFID commands) V01.00 | 2023/10 | 42 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 43
In the information model, the devices are defined as objects and structured as follows: Fig. 45: Information model of the RFID channel Ident 0 — example: UA Expert V01.00 | 2023/10 | 43 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Read or write data of the last command execution LastAccess (Diagnostics) Strength RSSI value of the last tag read LastAccess (Diagnostics) V01.00 | 2023/10 | 44 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 45
Settings for reading the UIDs or EPCs Results (RfidScanResults) UID or EPC of the read tags Status Status of scan operation (AutoIdOperationStatusEnumeration) V01.00 | 2023/10 | 45 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 46
Memory areas lock: EPC and PC, USER Memory areas permanent lock: EPC and PC, USER, Ac- cess password, Kill password Status Status of command execution (AutoIdOperationStatusEnumeration) V01.00 | 2023/10 | 46 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 47
3: User CodeType (String) Defines the EPC or UID format. Status Status of command execution (AutoIdOperationStatusEnumeration) Data (ByteString) Write data V01.00 | 2023/10 | 47 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
1: Configure channel as a digital output IO_Diag 0: No error present 1: Error present IO_Value 0: No signal present 1: Signal present V01.00 | 2023/10 | 48 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Yes: The output only switches back on after the overcurrent is re- overcurrent moved and the switch signal is reset No: The output switches on automatically again after overcur- rent. V01.00 | 2023/10 | 49 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Activates or deactivates the VAUX2 24-VDC power supply at pin 1 of channel 2 and channel 3. Default setting: On V01.00 | 2023/10 | 50 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
With UHF, the user area is read or written automatically. A description of the methods is provided in the chapter “RFID channels – mapping in the in- formation model” V01.00 | 2023/10 | 51 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 52
Read data from the tag: Click Read Tag. Writing data to the tag: Enter the required data and click Write Tag. V01.00 | 2023/10 | 52 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Edit. Click ScanStart. The last tag found tag and the device status of the interface are displayed. V01.00 | 2023/10 | 53 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
The last tag read can be read in the LastScanData variable. The Status variable shows if a method is active and if the read/write device is operational. V01.00 | 2023/10 | 54 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Confirm operation with Write and read the tag by clicking Call. Fig. 51: Scan method – settings (example: UAExpert) V01.00 | 2023/10 | 55 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 56
Copy the read UID by right-clicking in the Value window in the ByteString line (here: E0040150588039B1). Fig. 52: Copying the read UID V01.00 | 2023/10 | 56 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 57
In the Edit Value window in the Switch Field line select 1 (ByteString) in the drop-down menu. Fig. 53: ReadTag method – selecting ByteString V01.00 | 2023/10 | 57 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 58
Insert the copied UID in the ByteString line. Confirm the operation with Write. Fig. 54: Identifier – entering a copied UID V01.00 | 2023/10 | 58 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 59
In the Edit Value window enter the term UID. Confirm the operation with Write and click Call. The tag is read. Fig. 55: ReadTag method settings V01.00 | 2023/10 | 59 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 60
ResultsData click the […] button. The information stored on the tag is displayed in the Value window. Fig. 56: Information stored on the tag V01.00 | 2023/10 | 60 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
RUN LED Meaning OPC UA server not active Green OPC UA server active Red flashing F_Reset active (double, 1 Hz) V01.00 | 2023/10 | 61 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
WRITE_ERROR Tag could not be written. Write process not possible (e.g. tag readable only) Error when writing to a tag V01.00 | 2023/10 | 62 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 63
Air interface error: Timeout Air interface error: UHF tag error DEVICE_FAULT Hardware error in the connec- UHF reader not connected ted device V01.00 | 2023/10 | 63 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
I/O-ASSISTANT Force Mode active DTM active in force mode Undervoltage V1 Undervoltage V1 Module diagnostics available Module diagnostics available Internal error Internal error V01.00 | 2023/10 | 64 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 65
Buffer full Diagnostic messages — DXP channels Fig. 59: Web server — DXP channel diagnostics Diagnostics Description Overcurrent output Overcurrent at output V01.00 | 2023/10 | 65 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
ð This ensures that the user has physical access to the device. Perform a reset via the TAS or the web server within 60 seconds. V01.00 | 2023/10 | 66 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Click Diagnostics in the navigation bar on the left of the screen. The error messages are displayed in the device status. Fig. 60: Web server — diagnostics V01.00 | 2023/10 | 67 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 68
Choose the reset command via the Command code drop-down menu: 0x8000 Reset The reader is reset. Fig. 61: Web server — resetting the reader V01.00 | 2023/10 | 68 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
ð The progress of the firmware update is displayed. After a firmware update has been successfully completed, start the device by clicking OK. V01.00 | 2023/10 | 69 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
This is available for download at https://www.turck.de/en/return-service-6079.php and must be completely filled in, and affixed securely and weather-proof to the outside of the packaging. V01.00 | 2023/10 | 70 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Maintenance Disposal The devices must be disposed of properly and do not belong in the domestic waste. V01.00 | 2023/10 | 71 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
< 5 V High-level signal voltage >11 V Low-level signal current < 1.5 mA High-level signal current > 2 mA V01.00 | 2023/10 | 72 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 73
Type of input diagnostics Channel diagnostics Digital outputs Number of channels Connection technology M12, 5-pin Output type Type of output diagnostics Channel diagnostics V01.00 | 2023/10 | 73 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Via San Domenico 5, IT-20008 Bareggio (MI) www.turckbanner.it Japan TURCK Japan Corporation ISM Akihabara 1F, 1-24-2, Taito, Taito-ku, 110-0016 Tokyo www.turck.jp V01.00 | 2023/10 | 74 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 75
United Kingdom TURCK BANNER LIMITED Blenheim House, Hurricane Way, GB-SS11 8YT Wickford, Essex www.turckbanner.co.uk Turck Inc. 3000 Campus Drive, USA-MN 55441 Minneapolis www.turck.us V01.00 | 2023/10 | 75 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 76
Over 30 subsidiaries and 60 representations worldwide! 100003070 | 2023/10 100003070 www.turck.com...
Need help?
Do you have a question about the TN-UHF OPC-UA Series and is the answer not in the manual?
Questions and answers