
32
7
IO-Link Smart Sensor Profile Ed. 2 (BML SL1-ALZ1-UE/MZZ-_U1L-…) (continued)
7.5.3 Setpoint teach-in
The BML supports teaching of setpoints using the teach-in
function according to the Smart Sensor Profile. Two
parameters are used for this teach-in procedure: (
TI Select
and
TI Result
, see Tab. 7-9 and Tab. 7-10) as well as the
system commands (
Teach Apply
(0x40) to
Teach Cancel
(0x4F)).
Teach-in can be done by directly setting the setpoints (SP1
and SP2) (
Single Value Teach
). Alternatively SP1 and SP2
can also be taught by setting teachpoints (TP1 and TP2)
(Two Value Teach). Setpoint SPx is determined from the
average of TP1 and TP2. The setpoints are stored in
non-volatile memory. The two teachpoints per setpoint are
not stored, but rather used only for calculation.
Switching signals can only be taught as long as
the position value is valid. If the teach procedure
takes place when there is a defective position
signal (
No Measurement Signal
or
Out of
Range
), this is acknowledged with an error.
Teach Select
The Teach Select parameter selects the current switching
signal to be configured.
Index
Sub-
index
Size
Access
Values
TI Select
0x003A
(58)
0
1 byte
Read/Write 0 or 1 = SSC1
(default)
2 = SSC2
3 = SSC3
4 = SSC4
Tab. 7-9: Parameter data Teach Select
Teach Result
The current status of the teachpoints and of the teach-in
procedure can be read out using the
Teach Result
(Index
0x003B) parameter. The
Teach Result
value is 1 byte long
and can be divided into 4 bits for the status of the
teachpoints and 4 bits for the status of the teach
procedure.
Position Descrip-
tion
Value
Bit 0…3
Teach
status
0 = IDLE
1 = SP1 SUCCESS (yellow LED
flashes for 3 seconds 1:1)
2 = SP2 SUCCESS (yellow LED
flashes for 3 seconds 1:1)
3 = SP12 SUCCESS (yellow
LED flashes for 3 seconds
1:1)
4 = WAIT FOR COMMAND
5 = BUSY
6 = reserved
7 = ERROR (red LED flashes
3 seconds fast)
Bit 4
SP1 TP1 0 = TP1 unset
1 = TP1 set
Bit 5
TP2 0 = TP2 unset
1 = TP2 set
Bit 6
SP2 TP1 0 = TP1 unset
1 = TP1 set
Bit 7
TP2 0 = TP2 unset
1 = TP2 set
Tab. 7-10: Parameter data Teach Result
1st example:
Teach Single Point (SP1)
First the command SP1 Single Value Teach is used to
teach Setpoint SP1 at the current position. The setpoint is
not stored in non-volatile memory until the Teach Apply
command is carried out. In abbreviated form when
teaching SP1 you can also simply carry out the Teach
Apply command.
1.
Use
Select Teach Channel
(Index 0x003A) to select
which switching channel to teach.
2.
Checking the status.
⇒
Status = IDLE
3.
Move the sensor head to the position of SP1.
4.
Carry out system command
SP1 Single Value Teach
(Code 0x41).
⇒
SP1 is taught.
5.
Checking the status.
⇒
Status = WAIT FOR COMMAND
⇒
Teach Points = SP1 TP1/TP2
6.
Carry out system command
Teach Apply
(Code 0x40).
⇒
The setpoints were stored in non-volatile memory.
BML SL1-ALZ _ -U_ ZZ- _ U1L - _ _ _ _
Absolute magnetic encoder system
english
Содержание BML SL1-ALZ-U-ZZ-U1L Series
Страница 2: ...www balluff com...
Страница 3: ...deutsch Betriebsanleitung BML SL1 ALZ_ U_ZZ _U1L _ _ _ _...
Страница 4: ...www balluff com...
Страница 52: ......
Страница 53: ...english User s Guide BML SL1 ALZ_ U_ZZ _U1L _ _ _ _...
Страница 54: ...www balluff com...
Страница 102: ......
Страница 103: ...fran ais Notice d utilisation BML SL1 ALZ_ U_ZZ _U1L _ _ _ _...
Страница 104: ...www balluff com...
Страница 152: ......
Страница 153: ...italiano Manuale d uso BML SL1 ALZ_ U_ZZ _U1L _ _ _ _...
Страница 154: ...www balluff com...
Страница 202: ......
Страница 203: ...espa ol Manual de instrucciones BML SL1 ALZ_ U_ZZ _U1L _ _ _ _...
Страница 204: ...www balluff com...