Photoelectric Sensors
Red light diffuse reflective energetic BOS 18E-PI-RD30-S4 with IO-Link
With Teach Channel: Two Value Teach. 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
Teach-In Status
Teach Flags
SP2
SP1
TP2
TP1
TP2
TP1
Example for:
"0" = TP1 of SP2 not set
or not successfully set
"1" = TP1 of SP2 success-
fully set
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
W
0x0002
0x43
www.balluff.com
System commands
Teach State
0 = IDLE
1 = SP1 SUCCESS
2 = SP2 SUCCESS
3 = SP12 SUCCESS
4 = WAIT FOR COMMAND
5 = BUSY
6 = reserved
7 = ERROR
Remark
SP1 Two Value Teach TP1
3. Verify correct setting of TP1:
Read and verify parameter Teach-In Status with Index
0x003B.
Access Index
Value
TP1 of SP1 set successfully
R
0x003B
0x14
Teach-In State = WAIT FOR
0x07
Teach-In State = ERROR
4. Remove object from the beam.
Optional: Leave fixed objects in this position.
5. Set teach point TP2:
Send System command 0x44 to sensor.
Access Index
Value
W
0x0002
0x44
6. Verify correct setting of TP2:
Read and verify parameter Teach-In Status with Index
0x003B.
Access Index
Value
R
0x003B
0x34
TP2 of SP1 set successfully
Teach-In State = WAIT FOR
0x07
Teach-In State = ERROR
7. Store and accept Setpoint SP1:
Send System command 0x40 to sensor.
Access Index
Value
W
0x0002
0x40
8. Verify correct acceptance of SP1:
Read and verify parameter Teach-In Status with Index
0x003B.
Access Index
Value
R
0x003B
0x01
SP1 accepted successfully.
Teach-In State = SP1 SUCCESS
0x07
Teach-In State = ERROR
Meaning
Result
Proceed with 5
COMMAND
Back to 2
Remark
SP1 Two Value Teach TP2
Meaning
Result
Proceed with 7
COMMAND
Back to 2
Remark
Teach Apply
Meaning
Result
Teach-In
successful
(0x01)
Back to 2
english
8