I am happy to report my golf ball machine is now working!
Although I am not totally sure of why things are the way they are it works.
I was able to change the value of V4014 from 01exx to 30 as it should be with the DS5 software.
Things were a little scary today, a lot learned while changing values with software, thinking I needed to save program to plc when all I had to do was click the right button in that mode! first time save left me with all values reset to 0000,... uh oh, I found my mistake and corrected things!
Problem with ball machine was values for pulses from card reader were set to 2, 3, &5, they should have been set to 1,2,3.
There is still a problem, too much code as i see it! I have a counter X0 that counts tokens Ct1 CTA1 and a counter that counts pulses from the card reader depending on whether small, medium or large button is pressed, this is accumulated in CT5 CTA5!
There is another counter CT6 CTA6 that I think is not needed ........... See your posts on this forum have made me see logic while watching in debug mode, status on, values in CT6 never change but in ladder or rung has comparisons to values that have no reason that I can see!!!!
If I post the whole thing with what little I think I know I think many of you will will be able to tell me if I am right, what is the best way to get this info posted. ?
John in Pa