background image

Dynamic Teach-In of 1 setpoint. For SP1 only

Principle

Dynamic teach-in allows you to set the switching point 

without interrupting the process. 

Typical application: Sensitivity setup to a process running 

perpendicular to the light beam of the sensor (Conveyor)

 

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 point SPy.

Instructions

Dynamic Teach is explained for SP1 as an example. 

The same sequence can be applied for SP2 with the 

corresponding instruction set. 

Precondition: 

Sensor is installed, aligned to the running process 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 0x48 to sensor.

Access Index

Value

Remark

W

0x002 (2)

0x48

SP1 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

0x34

Dynamic sensitivity setup of SP1 

successful

Teach-In State = WAIT FOR 

COMMAND

Proceed with 5

0x07

Teach-In State = ERROR

Back to 1

5.  Store and accept Setpoint SP1:  

Send System command 0x40 to sensor. 

Access Index

Value

Remark

W

0x002 (2)

0x40

Teach Apply

6.  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 1

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

System commands

19

Photoelectric Sensors

Red light diffuse reflective BOS 08E-PI-KH22-...  with background supres. and IO-Link

Summary of Contents for BOS 08E-PI-KH22 Series

Page 1: ...ischen Vertr glich keit akkreditiert ist wurde der Nachweis erbracht dass die Balluff Produkte die EMV Anforderungen der Norm EN 60947 5 2 erf llen Montage Vorsicht Blicken Sie nicht in den Lichtstrah...

Page 2: ...bel mit Steckverbinder Stecker M8 Stecker 3 polig M8 Stecker 3 polig Werkstoff Geh use Stahl nichtrostend 1 4305 Werkstoff aktive Fl che PMMA Geh useabmessungen BOS 08E 00 2 S49 BOS 08E S49 8 mm x 41...

Page 3: ...sche Parameter Index dez Subindex dez Datenformat Zugriff Wertebereich Bemerkungen 0x003A 58 Teach In Chanel 0x00 0 UINT8 R W 0 1 255 0 default BDC 1 BDC1 255 all BDC s 0x003B 59 Teach In Status 0x00...

Page 4: ...L nge Zugriff Inhalt Bemerkung 0x0010 16 Vendor Name StringT 7 Byte R BALLUFF 0x0011 17 Vendor Text StringT 15 Byte R www balluff com 0x0012 18 Product Name StringT 64 Byte R BOS 08E PI KH22 XX 0x0013...

Page 5: ...P2 0x43 SP1 Two Value Teach TP1 Determine Teachpoint 1 for SP1 0x44 SP1 Two Value Teach TP2 Determine Teachpoint 2 for SP1 0x45 SP2 Two Value Teach TP1 Determine Teachpoint 1 for SP2 0x46 SP2 Two Valu...

Page 6: ...logik N O betrieben Alle Schaltpunkte werden auf ihre Standardwerte gesetzt Index dez Subin dex Werksein stellung 0x3C 60 Setpoint BDC1 0x01 Setpoint SP1 20 mm 0x02 Setpoint SP2 25 mm 0x3D 61 Switchpo...

Page 7: ...ernommen Auslesen und berpr fen des Parameters Teach In Status mit Index 0x003B Zugriff Index Wert Bedeutung Ergebnis R 0x003B 0x01 SP1 erfolgreich bernommen Teach In State SP1 SUCCESS 0x01 Teach In e...

Page 8: ...Teach In Status mit Index 0x003B Zugriff Index Wert Bedeutung Ergebnis R 0x003B 0x01 SP1 erfolgreich bernommen Teach In State SP1 SUCCESS 0x01 Teach In erfolgreich beendet 0x07 Teach In State ERROR Z...

Page 9: ...each In nicht best tigt wird Der Sensor beh lt in diesem Fall den alten Schaltpunkt 3 Dynamisches Teach In stoppen System Kommando 0x48 an Sensor schicken Zugriff Index Wert Bedeutung W 0x002 2 0x48 S...

Page 10: ...Index Wert Bedeutung W 0x002 2 0x4A SP2 Dynamic Teach Stop 4 berpr fen ob der Einlernvorgang erfolgreich war Auslesen und berpr fen des Parameters Teach In Status mit Index 0x003B Zugriff Index Wert B...

Page 11: ...2 Display Elements Yellow LED light reception stability indicator LED on Light at the receiver LED flashes Unreliable range Caution Do not stare into the light beam Fig 1 Dimensions Fig 2 Connection...

Page 12: ...pt Group Electrical Supply voltage UB IO Link Mode 10 30 V DC 18 30 V DC Rated operating voltage Ue 24 V Ripple of Ue 5 No load current Io at Ue 15 mA Effective operating current Ie 100 mA Bemessungsi...

Page 13: ...Mode 0x03 3 Switchpoint hysteresis UINT16 R W 0 10 0 min Hysteresis 10 max Hysteresis In Window Mode and Two Point Mode SP1 has to be the near and SP2 the far switching point of a BDC Output data Sen...

Page 14: ...Length Access Value Remark 0x0010 16 Vendor Name StringT 7 Byte R BALLUFF 0x0011 17 Vendor Text StringT 15 Byte R www balluff com 0x0012 18 Product Name StringT 64 Byte R BOS 08E PI KH22 XX 0x0013 19...

Page 15: ...int 2 for SP1 0x45 SP2 Two Value Teach TP1 Determine Teachpoint 1 for SP2 0x46 SP2 Two Value Teach TP2 Determine Teachpoint 2 for SP2 0x47 SP1 Dynamic Teach Start Start dynamic teach in for SP1 0x48 S...

Page 16: ...0x00 Standard BDC BDC1 0x003B 59 Teach In Status 0x00 Teach State IDLE Other Parameters Index dez Parameter Factory setting Remark 0x000C 12 Device Access Locks 0x0000 No Lock 0x0018 24 Application Sp...

Page 17: ...to sensor Access Index Value Remark W 0x002 2 0x40 Teach Apply 5 Verify correct acceptance of SP1 Read and verify parameter Teach In Status with Index 0x003B Access Index Value Meaning Result R 0x003B...

Page 18: ...tus 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...

Page 19: ...en confirmed within 10 min Sensor keeps operating with last valid Setpoint settings 3 Stop Dynamic Teach Send System command 0x48 to sensor Access Index Value Remark W 0x002 2 0x48 SP1 Dynamic Teach S...

Page 20: ...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 SP...

Reviews: