Do you already have pieces/parts or are you starting from scratch? Are you using a reversable DC, 2 winding AC, or motorized/spring return drive? I find that most folks err in the way they utilize their limit switches in the control scheme. I have never done motorized curtains but you have to consider the same things as with motor operated switches, dampers, louvers, Et,c. Status, if used, should reach open or closed limit first, followed by control limits, with a safety margin before reaching physical limits. One limit shouldn't prevent operation in the other direction and interlocks should be used for dual winding motors.
Joe