EasyManua.ls Logo

SEW-Eurodrive IPOS plus - Touch Probe Interrupt Processing

SEW-Eurodrive IPOS plus
384 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
258
Manual – IPOSplus®
18
Touch probe interrupt processing
Compiler – Examples
18.8 Touch probe interrupt processing
Crates are transported to a filling station on a timing belt. A proximity sensor (DI02) de-
tects when the next crate arrives. This triggers an interrupt and the belt moves a speci-
fied remaining distance. The crate is then positioned directly under the filling station.
Once the crate has been filled a new cycle is started.
Input DI10 must be active during the entire cycle. If DI10 = 0, the timing belt stops sub-
ject to position control. When the drive is restarted (DI10 = 1) it completes the cycle.
The position values, ramp and speed are entered in the variables H11 ... H14.
// Main program loop
while(1)
{
if( DI17 )
{
Data_Var1 = 222222;
Data_Var2 = 444444;
}
else
Data_Var1 = 111111;
{
Data_Var2 = 222222;
}
}
}
Variable Name Description
H11 TP_Max_Pos Maximum target position if the touch probe input is not attenuated
H12 TP_Pos Remaining travel after the touch probe input has been attenuated.
H13 Speed Positioning speed in rpm.
H14 Ramp Positioning ramp in ms.
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n

Table of Contents