www.balluff.com
3. Verify correct setting of TP1:
Read and verify parameter Teach-In Status with Index
0x003B.
Access Index Value
Meaning
Result
R
0x003B
0x14
TP1 of SP1 set successfully
Teach-In State = WAIT FOR
COMMAND
Proceed with 4
0x07
Teach-In State = ERROR
Back to 2
4. Remove object from the beam.
Optional: Move object within sensing range to teach
second position.
5. SP1 set teach point 2 (TP2):
Send System command 0x44 to sensor.
Access Index
Value
Remark
W
0x002 (2)
0x44
SP1 Two Value Teach TP2
6. Verify correct setting of TP2:
Read and verify parameter Teach-In Status with Index
0x003B.
Access Index Value
Meaning
Result
R
0x003B
0x34
TP2 of SP1 set successfully
Teach-In State = WAIT FOR
COMMAND
Proceed with 7
0x07
Teach-In State = ERROR
Back to 2
7. Store and accept Setpoint SP1:
Send System command 0x40 to sensor.
Access Index
Value
Remark
W
0x002 (2)
0x40
Teach Apply
8. Verify correct acceptance of SP1:
Read and verify parameter Teach-In Status with Index
0x003B.
Access Index Value
Meaning
Result
R
0x003B
0x01
SP1 accepted successfully.
Teach-In State = SP1 SUCCESS
(0x01)
Teach-In
successful
0x07
Teach-In State = ERROR
Back to 2
Static Teach-In with 2 teach points
Principle
Setpoint SPy is set to mean value of the two teach points
TP1 and TP2.
Function:
TP1 = Teach static object
TP2 = Teach background
Result:
SPy between object and background
Instructions
Two Value Teach is explained for SP1 as an example. The
same sequence can be applied for SP2 with the corres-
ponding instruction set.
Precondition:
Sensor is installed, aligned, and operated in IO-Link mode.
Procedure:
1. Align sensor with object.
2. Set teach point TP1:
Send System command 0x43 to sensor.
Access Index
Value
Remark
W
0x002 (2)
0x43
SP1 Two Value Teach TP1
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
Photoelectric Sensors
Red light diffuse reflective BOS 08E-PI-KH22-... with background supres. and IO-Link
18