![Balluff BOS 21M-UUI-RP30-S4 User Manual Download Page 31](http://html1.mh-extra.com/html/balluff/bos-21m-uui-rp30-s4/bos-21m-uui-rp30-s4_user-manual_469473031.webp)
7
english
www.balluff.com
Single Value Teach: Teach-In with 1 Teach point
Principle
The switchpoint SPy is determined by teaching
Teach Point TPy.
Function: SPy = TPy = Teach for static object
Fig. 7:
System commands
Single Value Teach
Teach instructions
1.
Position the object in the beam path.
2.
Select the teach-in channel as follows:
Access
Index
Sub-
index
Value
Meaning
W
0x003A (58) 0x00 (0) 0x00 (0) Standard BDC1
3.
Teach TP1. Send system command 0x41 to sensor.
Access
Index
Sub-
index
Value
Meaning
W
0x0002 (2) 0x00 (0) 0x41 (65)
SP1 Single
Value Teach
4.
Verify whether TP1 has been taught successfully:
Read out and check the parameter
Teach-In Status
using Index 0x003B.
Access Index Sub-
index
Value
Meaning
Result
R
0x003B
(59)
0x00
(0)
0x14
(20)
SP1
successfully
taught
Teach State
= WAIT FOR
COMMAND
Go to
Step 5
0x07
(7)
Teach State
= Error
Go to
Step 3
5.
Save and apply switch point SP1:
Send system command 0x40 to sensor.
Access
Index
Sub-
index
Value
Meaning
W
0x0002 (2) 0x00 (0) 0x40 (64) Teach Apply
6.
Verify whether SP1 has been applied successfully:
Read out and check the parameter
Teach-In Status
using Index 0x003B.
Access Index Sub-
index
Value Meaning
Result
R
0x003B
(59)
0x00
(0)
0x01
(1)
SP1
success fully
applied
Teach State
= SP1
SUCCESS
Teach-in
completed
success-
fully
0x07
(7)
Teach State
= Error
Go to
Step 3
Two Value Teach: Teach-In with 2 Teach points
Principle
Switchpoint SPy is determined by teaching two teach
points (TP1 and TP2).
Function: TP1 = Teach static object
TP2 = Teach background
Result:
SPy lies between the object and the
background
Fig. 8:
System commands
Two Value Teach
Teach instructions
1.
Position the object in the beam path.
2.
Select the teach-in channel as follows:
Access
Index
Sub-
index
Value
Meaning
W
0x003A (58) 0x00 (0) 0x00 (0) Standard BDC1
3.
Teach TP1. Send system command 0x41 to sensor.
Access
Index
Sub-
index
Value
Meaning
W
0x0002 (2) 0x00 (0) 0x43 (67) SP1 Two Value
Teach TP1
4.
Verify whether TP1 has been taught successfully:
Read out and check the parameter
Teach-In Status
using Index 0x003B.
Access Index Sub-
index
Value
Meaning
Result
R
0x003B
(59)
0x00
(0)
0x14
(20)
TP1 for SP1
successfully
taught
Teach State
= WAIT FOR
COMMAND
Go to
Step 5
0x07
(7)
Teach State
= Error
Go to
Step 3
5.
Save and apply switch point SP1:
Send system command 0x40 to sensor.
6.
Teach teach-point 2 (TP2). Send system
command 0x44 to sensor.
Access
Index
Sub-
index
Value
Meaning
W
0x0002 (2) 0x00 (0) 0x44 (68) SP1 Two
Value Teach
TP2