Check this out. During testing we put values in the velocity box of the drive software and the tag was RPM... So all the time I assume I need to send an RPM number to the drive. Well after all the other problems I had working out the communications or lack of and hammering out my code then testing it in hyperterminal... I hook up to the drive with my PLC and sucessfully send and receive ASCII back and forth iniated from the PV... So finally all is working great.
Now I press the big red run sequence 1 button and look at the drives... Nothing... pulling more hair out... I disconnect from the drive with the PLC and hook up the drive programming software... dig around a while... open up the drive control panel... green lights all seems normal... but no movement. I look back at the control panel and the count has changed... The COUNT CHANGED!!! WTF!!! how could the count change the servo is not moving... So I watch closely and the count is going up but real slow. I look closely at the servo and sure enough it is going but like 5 counts a second or so slow you really have to look at it to see it move... More head scratching and digging in the drive software...
I Open up another copy of the software on my compter...Start a simulation session... When I put a register number in the velocity box it changes from RPM to 0.1 counts/second!!! After a quick chat with tech support I find out "Oh your using registers, yea it changes when you use registers"
Ok back to the drawing board on sending that number to the drives as 3000 RPM is 3,640,000,000. Now convert that to a string!!! As you can only convert intgers to strings in RSLogix I had to break out the number by billions, millions, thousands, and hundreds... Then make sure I had all the zeros in there where they belong... To make a long story even longer I finished up about 9pm last night. I only have one bug to sort out this morning... I'll post the finished code if anyone is interested...
A BIG THANKS to all those that helped me...
When you don't get what you expect you get experiance!
John