

Originally Posted by: Chris6382chris 
Thanks I will take you up on this offer. I do not have a lokprogrammar but have an ECOS 2. I was able to get program the ESO switchpilots easily enough for the switches but could never get the servo portion to work.
Chris
Ok. Well, if you've already successfully programmed your Switchpilot's outputs number 1-4, and assigned each of them different addresses, programming the servo outputs 5-6 should be fairly easy. You obviously know how to write your CV's, so all you need to know now is:
1) The CV's that govern the servo outputs are 35, 36, 37, 38, 39, 40, 41, and 42
Let me start from the beginning.
CV 35 and 36: They govern which block of 4 your servos start at. This means: If you want your first servo decoder address to be 50, your first servo would start at 197, and your second servo would start at 198. In reality it doesn't matter which address you choose for your servos. Find a system that makes sense to you (I've chosen a suitably high number, so it will not collide with the amount of addresses I need for all my switches).
Now for the all important question. Which values do you write into CV35/36 via your ECoS? The honest answer is, I haven't a clue - not without my Lokprogrammer, anyway. I've tried to make sense of the numbers, but can't. However, to solve your problem, you can tell me which addresses you want your servos to start at, I'll then program that into a spare SwitchPilot, then I'll read the values for CV35/36 and send them to you. I hope that'll work for you.
The rest of the CV's directly affect how your servo will react, ie. how far it will travel between position A nod position B, and how fast it will travel that distance. These are values that you will have to play around with yourself to figure out exactly where to start/stop your servo's. Just for your info, I'll run through each CV below.
CV37: Governs how fast your servo 1 is rotating. It's in .25 of a second. FYI, I set mine to 40, as it then takes 10 seconds for the doors to open. Use what suits you.
CV38: Governs where your servo 1's position 'A' will be. The way I installed my servos, position 'A' relates to the 'open position' of my doors. For my setup I have values between 50-55 (not all the doors are the same, as the mechanical setup differs slightly from door to door). If you're using ESU servos and install them like I have (see picture), these values should give you a good starting point.
CV39: Governs where your servo 1's position 'B' will be. Funnily enough, this position equates to my doors 'closed position'. My values are in the range 22-25.
CV40: Exactly like CV 37, but for servo number 2
CV41: Exactly like CV 38, but for servo number 2
CV42: Exactly like CV 39, but for servo number 2.
I hope this makes sense, Chris. One last thing to remember. When you connect the cable from your servo to the SwitchPilot, remember to connect it correctly. On the ESU servos, the white cable goes to the pulsed connection. If you're using other servos, you're generally looking for a white or yellow cable. The pulsed position on the SwitchPilot is the one on the outside.
Let me know how it works, if you can figure out the numbers for CV35/36. Don't waste time on it though. Just figure out which addresses you want for your SwitchPilot's servo output, and I'll decode the CV values for you via my LokProgrammer.
Cheers, René...