LR-T Series: IO-Link Instruction Manual
LR-T Series: IO-Link Instruction Manual
All-Purpose
Laser Sensor
LR-T Series
IO-Link Instruction Manual
This instruction manual explains the IO-Link specifications for the built-in amplifier All-Purpose
Laser Sensor LR-T Series (hereinafter abbreviated as LR-T). Details about the LR-T functions and
how to use the unit can be found in the "LR-T Series Instruction Manual". A copy of the "LR-T
Series Instruction Manual" can be downloaded off of the KEYENCE website. Alternatively, contact
a local KEYENCE representative.
The settings file can also be downloaded off of the KEYENCE website. If it is not possible to gain
access to the internet to download the file, contact your KEYENCE representative.
Keyence Website: www.keyence.com/glb
1. Specifications 2. Wiring
*1 Selectable between output or analog output. (Analog output is only available for the
LR-TB5000 models)
*2 Assignment changes according to the settings on the IO-Link master.
*3 When IO-Link is not used this is assigned to output 1 or external input.
3. Process Data
Process data is a function that communicates specific data in a constant cycle.
The format in which the process data is output, can be selected from the 3 types below.
Refer to "Index 146" in "Device Parameter" on page 4, or "Index 146" in "5-24 Process data output format" in "5. Settings" on page 5 for information on how to select the format type.
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Distance from the sensor to the work piece*1 (display range: 49 to 9999)
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Intensity Output 2 Output 1 Distance from the sensor to the work piece *1 (display range: 49 to 8191)
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Distance from the sensor to the work piece*1 (display range: 49 to 8191) Intensity Output 2 Output 1
*1 If the sensor displays something other than a value, one of the following will be output.
-1-
4. Service Data
Service data is a function that refreshes information between the IO-Link master and slave only when there is a send request.
Reading/writing of the sensor settings and status, and execution of operation commands (tuning, etc.) can be carried out.
*1 Sensor settings are backed up with the IO-Link master. This allows settings to be restored if the sensor is replaced.
Predefined parameter
Index Name Format Length Access Data storage Default value Range Remark
12 Device Access
Record 2 Byte R/W – – – –
(0x0C) Locks
2 0 = Unlock
Data Storage Lock*1 Bit (1) 1 Bit – – 0 –
(0x02) 1 = Lock
16
Vendor Name String 64 Byte R – Keyence –
(0x10)
17
Vendor Text String 64 Byte R – www.keyence.com –
(0x11)
18
Product Name String 64 Byte R – (Differs for each model)*2 –
(0x12)
19
Product ID String 64 Byte R – (Differs for each model)*2 –
(0x13)
20
Product Text String 64 Byte R – TOF Laser Sensor –
(0x14)
22
Hardware Version String 64 Byte R – – –
(0x16)
23
Firmware Version String 64 Byte R – – –
(0x17)
0xFF91 = Data Storage Upload
Request
37 Detailed Device 0x5000 = Device hardware fault -
Record 16 Byte R – 0 'Refer to "6. Events"
(0x25) Status Device Exchange
0x7710 = Short circuit - Check
installation
40
Process Data Input UInt 2 Byte R – – – –
(0x28)
-2-
Device Parameter
Data Defaul
Index Name Reference item Format Length Access Range Remark
storage t value
0 = Output1 + Output2
100 1 = Input + Output1
I/O Configuration I/O Selection UInt 1 Byte R/W 0
(0x64) ○ 2 = Output1 + Analog*3 ー
3 = Input + Analog*3
101 0 = NPN
NPN/PNP NPN/PNP Selection UInt 1 Byte R/W ○ 0 ー
(0x65) 1 = PNP
0 = 1 ms (Class2) / 2 ms (Class1)
1 = 10 ms (Class2) / 20 ms
(Class1)
102 Response time 2 = 25 ms (Class2) / 50 ms
Response Time UInt 1 Byte R/W ○ 2 (Class1) ー
(0x66) (refer to 5-1)
3 = 100 ms (Class2) / 200 ms
(Class1)
4 = 1000 msec (Class2) / 2000 ms
(Class1)
103 0 = 4 - 20 mA Linked to Index 105/
(0x67)
Analog Type Analog Selection*4 UInt 1 Byte R/W ○ 0
1 = 0 - 10 V 106
0 = 2-Point 1st
1 = 2-Point 2nd
2 = 1-Point
3 = Full Auto Start
4 = Full Auto End
104 5 = DATUM Tuning
Tuning − UInt 2 Byte C ー ー ー
(0x68) 6 = DATUM Preset
7 = 4mA Tuning*3
8 = 20mA Tuning*3
9 = 0V Tuning*3
10 = 10V Tuning*3
105
4 mA / 0 V Limit Analog Lower Limitt*4 UInt 2 Byte R/W 0 0 to 9999
Linked to Index 103/
○
(0x69) (refer to 5-14) 106
106
20 mA / 10 V Limit Analog Upper Limit*4 UInt 2 Byte R/W 5000 0 to 9999
Linked to Index 103/
○
(0x6A) (refer to 5-15) 105
109 Stability Output
Stability Filter UInt 1 Byte R/W ○ 5 1 to 100 ー
(0x6D) Tolerance*5
110 Output 1 Logic 0 = N.O.
Output1 Logic UInt 1 Byte R/W ○ 0 ー
(0x6E) (refer to 5-2) 1 = N.C.
0 = Standard
111 Output 1 Mode 1 = Window
Output1 Mode UInt 1 Byte R/W 0
(0x6F) (refer to 5-3) ○ 2 = Stability*4 ー
3 = Error*4
Output 1 setting value/
112 Window mode NEAR
Near Setting Value1 UInt 2 Byte R/W ○ 500 0 to 9999 ー
(0x70)
setting value 1*6
114 Window mode FAR
Far Setting Value1 UInt 2 Byte R/W ○ 1000 0 to 9999 ー
(0x72) setting value 1*7
0 = Off
115 Timer Mode of Output 1 Timer*6 UInt 1 Byte R/W 0
1 = Off -delay
Linked to Index 116
○ 2 = On-delay
(0x73) Output1 (refer to 5-4)
3 = One shot
116
Timer Setting1 Output 1 timer setting*6 UInt 2 Byte R/W 10 1 to 9999
Linked to Index 115
○
(0x74) (refer to 5-5) Unit [ms]
118 Output 2 Logic 0 = N.O.
Output2 Logic UInt 1 Byte R/W ○ 0 ー
(0x76) (refer to 5-6) 1 = N.C.
0 = Standard
119 Output 2 Mode 1 = Window
Output2 Mode UInt 1 Byte R/W ○ 2 ー
(0x77) (refer to 5-7) 2 = Stability
3 = Error
Output 2 setting value/
120 Window mode NEAR
Near Setting Value2 UInt 2 Byte R/W ○ 500 0 to 9999 ー
(0x78)
setting value 2*8
122 Window mode FAR
Far Setting Value2 UInt 2 Byte R/W ○ 1000 0 to 9999 ー
(0x7A) setting value 2*9
0 = Off
123 Timer Mode of Output 2 Timer*8 UInt 1 Byte R/W 0
1 = Off -delay
Linked to Index 124
○ 2 = On-delay
(0x7B) Output2 (refer to 5-8)
3 = One shot
124
Timer Setting2 Output 2 timer setting*8 UInt 2 Byte R/W 10 1 to 9999
Linked to Index 123
○
(0x7C) (refer to 5-9) Unit [ms]
125 Switching between Out1/ 0 = Output1
Select Output UInt 2 Byte R/W ○ 0 ー
(0x7D) Out2*8 1 = Output2
126 Standard mode/DATUM 0 = Standard
Standard / DATUM UInt 1 Byte R/W ○ 0 Linked to Index 127
(0x7E) mode selection*10 1 = DATUM
127 Reference surface
DATUM Offset UInt 2 Byte R/W ○ 0 0 to 9999 Linked to Index 126
(0x7F) value*10
0 = Laser Off
129
Input Function Input Function*11 UInt 1 Byte R/W 0 1 = Tuning
○ ー
(0x81) (refer to 5-18) 2 = DATUM Preset
130
Hysteresis Setting Hysteresis Setting*12 UInt 1 Byte R/W 0
0 = Standard
Linked to Index 131
○ 1 = Custom
(0x82) (refer to 5-11)
131
Hysteresis Value Hysteresis value*12 UInt 2 Byte R/W 10 0 to 9999 Linked to Index 130
○
(0x83) (refer to 5-12)
132
Analog Test Analog Output Test*4 UInt 1 Byte R/W 0
0 = OFF
Linked to Index 133
○ 1 = ON
(0x84) (refer to 5-16)
Analog output test
133 Linked to Index 132
(0x85)
Test Value value*4, *13 UInt 1 Byte R/W ○ 0 0 to 200
Unit 0.1
(refer to 5-17)
-3-
Received Light 0 = Low
135
(0x87)
Sensitivity Sensitivity*14 UInt 1 Byte R/W ○ 2 1 = Mid ー
(refer to 5-13) 2 = High
136 Output Hold 0 = OFF
Output Hold UInt 1 Byte R/W ○ 0 ー
(0x88) (refer to 5-19) 1 = ON
0 = Channel 1
137 Interference Prevention 1 = Channel 2
Interference UInt 1 Byte R/W ○ 0 ー
(0x89) (refer to 5-21) 2 = Channel 3
3 = Channel 4
0 = 100 %
138 Screen Brightness
Screen Brightness UInt 1 Byte R/W ○ 1 1 = 30 % ー
(0x8A) (refer to 5-20) 2 = Display Off
139 0 = Unlock
Key Lock Key Lock UInt 1 Byte R/W ○ 0 ー
(0x8B) 1 = Lock
140 Password setting 0 = OFF
Lock Password UInt 1 Byte R/W ○ 0 Linked to Index 141
(0x8C) (refer to 5-22) 1 = ON
141 Password number
Password UInt 2 Byte R/W ○ 0 0 to 9999 Linked to Index 140
(0x8D) (refer to 5-23)
142 Advanced Settings 0 = OFF
Advanced Menu UInt 1 Byte R/W ○ 0 ー
(0x8E) (refer to 5-10) 1 = ON
0 = Standard
143 1 = Peak bottom
Display Screen Display selection UInt 1 Byte R/W ○ 0 ー
(0x8F) 2 = Bar
3 = Simple
144
User Tag1 UInt 4 Byte R/W ○ 0 0 to 4294967295 ー
(0x90)
User tag*15
145
User Tag2 UInt 2 Byte R/W ○ 0 0 to 65535 ー
(0x91)
0 = Distance
1 = Intensity + Out2 + Out1 +
146 Process Data Process data output
UInt 1 Byte R/W ○ 0 Distance ー
(0x92) Structure format (refer to 5-24)
2 = Distance + Intensity + Out2 +
Out1
147 0 = OFF
Laser On/Off Laser Off UInt 1 Byte R/W − 1 ー
(0x93) 1 = ON
148
Distance Distance UInt 2 Byte R − − 0 to 9998 ー
(0x94)
149 Amount of light
Intensity UInt 2 Byte R − − 0 to 9999 ー
(0x95) received*16
0 = mm
200
Unit Unit UInt 1 Byte R/W ○ 0 1 = inch ー
(0xC8) 2 = feet
*3 Invalid when using LR-TB2000/LR-TB2000C/LR-TB2000CL.
*4 Valid only when "Output1 + Analog" or "Input + Analog" is selected in index 100 "I/O Configuration".
*5 Sets the level of stability required to trigger the Stability Output. The higher the value, the more stable the received light must be to trigger the stability output.
*6 Valid only when "Standard" or "Window" is selected in index 111 "Output1 Mode".
*7 Valid only when "Window" is selected in index 111 "Output1 Mode".
*8 Valid only when "Standard" or "Window" is selected in index 119 "Output2 Mode".
*9 Valid only when "Window" is selected in index 119 "Output2 Mode".
*10 Valid only when "Standard" is selected in index 111 "Output1 Mode". When operating in DATUM mode, the distance set as the "reference surface value" (DATUM Offset) is treated as "0".
*11 Valid only when "Input + Output1" or "Input + Analog" is selected in index 100 "I/O Configuration".
*12 Invalid when "Input + Analog" is selected in index 100 "I/O Configuration".
*13 Applicable setting range is determined by "Analog Type" selected in index 103. 0 mA or 0 V will be output when the analog output test value exceeds the applicable range.
When "4 - 20 mA" is selected: 20 to 200. When "0 - 10 V" is selected: 0 to 100.
*14 Invalid when "1 ms (Class2) / 2 ms (Class1)" or "10 ms (Class2) / 20 ms (Class1)" is selected in index 102 "Response Time".
*15 Sensor specific numbers can be allocated.
*16 The amount of light currently being received by the sensor. The larger the amount of light received the more stable detection becomes.
Standard Command
Index Name Reference item Format Length Access Data storage Default value Range Remark
2 Initialization
System Command UInt 1 Byte W – 130 Initialization –
(0x02) (refer to 5-25)
-4-
5. Settings
Some of the items that can be set in "4-1 Parameter List" on page 2 can also be set using the sensor itself.
This section shows how to configure certain settings using the sensor.
Refer to "3. Initial Settings" or "6. Detailed Settings" of the LR-T Series Instruction Manual for more details.
1
2 4567
2345
I/O Selection
( page 3) 3 seconds
A Out1+Out2 Menu
B Input+Out1 You can complete settings by holding down the button.
C Out1+Analog
D Input+Analog
1000 ms
5-1. Response Time Response Time
100 ms 5-11. Hysteresis Hysteresis
25 ms Standard
Standard
Index 102 25 ms
10 ms Index 130 Custom
1 ms
*1 Custom
D
Stability or Error
5-4. Output1 Timer Output1 Timer
Off 5-14. Analog Lower Analog Scaling 5-18. Input Function Input Function
Off-delay 9999 Laser Off
Index 115 Off Limitt 4 mA = 0 ... Laser Off
On-delay Index 129 Tuning
One shot Index 105 0 DATUM Preset
Off
B C
5-16. Analog Output Analog Test
Off
Test Off
On
5-6. Output2 Logic Output2 Logic
Index 132
N.O. N.O.
Index 118 N.C. On
On
5-23. Password
Enter Password 9999
number 0000 ...
1 Index 141 0000
2 4567 RUN
2345
2000 ms
200 ms
50 ms
20 ms
2 ms 1
*2 Only when the I/O selection ( "I/O Selection" [page 3]) is [Out1 + Analog]
2 4567 RUN
2345
-5-
6. Events
When an event occurs the event flag in the process data telegram turns ON.
The master detects the event flag and reads the value that corresponds to the event that has occurred.
This allows the status of the sensor to be forwarded to a PLC or monitor through the IO-Link master.
Service data exchange is not carried out while an event is being read.
-6-