![Balluff BOS 08E-PI-KH22 Series Manual Download Page 20](http://html1.mh-extra.com/html/balluff/bos-08e-pi-kh22-series/bos-08e-pi-kh22-series_manual_3883305020.webp)
www.balluff.com
Dynamic Teach-In of both setpoints
Principle
Dynamic teach-in allows you to set the switching point
without interrupting the process.
Typical application:
Sensitivity setup to a moving object to be detected within a
certain distance range. (Window Mode).
During the teach procedure, which begins with the Start
command and ends with the Stop command, the sensor
carries out measurements and determines the minimum
and maximum of the obtained values. The Teach Apply
command determines the switching points SP1 and SP2.
Instructions
Precondition:
Sensor is installed, aligned to the moving target, and
operated in IO-Link mode.
Procedure:
1. Start Dynamic Teach:
Send System command 0x47 to sensor.
Access Index
Value
Remark
W
0x002 (2)
0x47
SP1 Dynamic Teach Start
2. Wait for a minimum of one process cycle is completed.
( Dynamic Teach is aborted in case no object has been
detected within 1 min or Teach has not been confirmed
within 10 min. Sensor keeps operating with last valid
Setpoint settings).
3. Stop Dynamic Teach:
Send System command 0x4A to sensor.
Access Index
Value
Remark
W
0x002 (2)
0x4A
SP2 Dynamic Teach Stop
4. Verify successful sensitivity setup:
Read and verify parameter Teach-In Status with Index
0x003B.
Access Index Value
Meaning
Result
R
0x003B
0xF4
Dynamic sensitivity setup of SP1
and SP2 successful.
Teach-In State = WAIT FOR
COMMAND
Proceed with 5
0x07
Teach-In State = ERROR
Back to 1
5. Store and accept Setpoints SP1 and SP2:
Send System command 0x40 to sensor.
Access Index
Value
Remark
W
0x002 (2)
0x40
Teach Apply
6. Verify correct acceptance of SP1 and SP2:
Read and verify parameter Teach-In Status with Index
0x003B.
Access Index Value
Meaning
Result
R
0x003B
0x03
SP1 and SP2 accepted success-
fully.
Teach-In State = SP12 SUCCES
Teach-In
successful
0x07
Teach-In State = ERROR
Back to 1
System commands
Teach-In Status
Teach Flags
Teach State
SP2
SP1
TP2
TP1
TP2
TP1
0 = IDLE
1 = SP1 SUCCESS
2 = SP2 SUCCESS
3 = SP12 SUCCESS
4 = WAIT FOR COMMAND
5 = BUSY
6 = reserved
7 = ERROR
Example for:
"
0
" = TP1 of SP2 not set
or not successfully set
"
1
" = TP1 of SP2 success-
fully set
Balluff GmbH
Schurwaldstrasse 9
73765 Neuhausen a.d.F.
Germany
Phone + 49 7158 173-0
Fax +49 7158 5010
[email protected]
www.balluff.com
Nr
./No. 927 679 DE/EN
.
Ausgabe/Edition
D16; Änderungen vorbehalten/Subject to modification
20
Photoelectric Sensors
Red light diffuse reflective BOS 08E-PI-KH22-... with background supres. and IO-Link