I don't think you have given enough information. Programming the barfeeder depends on which barfeed you have. They are not all programmed the same way. For example, on our Hardinge lathes using their barfeeders you simply position the barstop, open the collet, give it time to push the bar, close the collet and machine. (I actually stop ahead of where I want to be and push it in a bit after the bar feeds out, but...)
On the LNS & SMW barfeeders it is a little different. It can even be different between certain models of a manufacturer.
I know you are busy, but take the time to supply enough information for others to help you. Most of us enjoy passing our knowledge along. BUT...it is hard if the poster makes us guess. Many won't even bother to reply.
Sorry. I know I am getting old and grouchy. Don't take offense. It is just that I see this scenario all too often.