I've seen several of that sort of actuator and all had travel limit switches with diodes in circuit as described by Les to simultaneously stop movement before reaching hard end stops and enforce motor reversal before things can move again. Being a DC motor simply interchanging + and – connections reverses the drive
Important to be careful what you hook them up to as they are pretty powerful. The one in the first link claims 165 lb thrust which can do serious damage if something gets caught up between the thrust end and a firmly fixed object. My experience with similar devices suggests the rating is conservative.
Drive end of the screw seems to be the weakest link. Diameter is quite small, usually with a key way, drilled hole or flat further reducing the size. All the ones I've been asked to fix were sheared off there.
Clive.
Edited By Clive Foster on 08/01/2018 17:00:05