How to setup the Limits on the D3 and D5 CP80 Sliding gate motors

How to setup the Limits on the D3 and D5 CP80 Sliding gate motors