Chicken coop door using stepper motor

Led is no biggie. Here’s my issues. The prox’s are limit up and limit down for door. I haven’t found a patch that allows for the inputs that I need. Industrial programming is a little different. Working off my phone. I will try and send a picture of what I have.