L D[AR2P#0.0]
Lifetime Supporting Member
As a suggestion, convert the FC for the roller door to an FB and use an IEC timer inside it instead of the s5 timer.
L #iDoorPosition //simulated bottom limit
L 0
==I
= #LowLim //Bottom Limit
[B] SET
SAVE [/B]
No instance DB required.