Previous in Forum: Erratic & Mysterious Outage in One Service Entrance   Next in Forum: DC Voltage Step - Down
Close
Close
Close
3 comments
Rate Comments: Nested
Power-User

Join Date: Aug 2007
Location: Lahore
Posts: 369

Need Help to Understand a Parameter of Parker HPC Servo Drive

09/01/2012 11:35 PM

I am working to understand the operation of Parker brand HPC5N type servo drive which would be used in a project. I am facing a problem in understanding the "profile dimension" input which is given in hex format in a parameter 35. If you open the page 30 of manual where written,

"You can also program the profile dimensions directly in parameter Pr.35 and from Pr.39 to Pr.43 without the use of external devices. The dimension must be calculated bearing in mind that one revolution of the motor shaft is equal to 4096, converted into HEXADECIMAL code (base 16) and expressed in eight digits. Because of display presentation limitations, the value is divided into two (each composed of four digits): a "high" part and a "low" part.

Example: assume you intend to program, in profile 0 corresponding to parameter Pr.35, a distance to cover equivalent to 10 turns of the motor shaft. The corresponding decimal number would be:

4096 * 10 = 40960

which, when converted to hexadecimal code, is equal to: A000. If the number is to be represented with eight digits, it would be: 0000A000 where the "high" part to enter in Pr.35 is 0000 and the "low" part is A000."

I written "FFFF" in high part of parameter and "0000" in low part of parameter, started the motor and found it turned just only 16turns while, as stated in manual, if we convert "FFFF0000" in turns,

FFFF0000 = 4294901760/4096 = 1048560turns.

I written following words which results were as following;

High part FFFE, Low part 0000. Motor turned = 32turns.

High part FFEF, Low part 0000. Motor turned = 272turns.

High part 0000, Low part 4Cbd. Motor turned = 5turns.

High part 0000, Low part 7d23. Motor turned = 8turns.

According to above tests, if we put value just in "low" part of parameter, we get exact motor turns as calculated but if we put values in "high" part of parameter, strange results faces. Please help me out to understand it. I sent mail to Parker and they forwarded it to Parker UAE and still no answer from them.

__________________
Don't assume any thing, always check/ask and clear yourself
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru

Join Date: Sep 2012
Location: Iowa, USA
Posts: 577
Good Answers: 50
#1

Re: Need help to understand a parameter of parker HPC servo drive.

09/02/2012 1:12 AM

It may be that the most significant bit is really a sign, try 7FFF0000 and see if you get the 129878 result.

__________________
ignator -
Register to Reply
Power-User

Join Date: Aug 2007
Location: Lahore
Posts: 369
#2
In reply to #1

Re: Need help to understand a parameter of parker HPC servo drive.

09/03/2012 4:06 AM

Hi ignator

I written the value in Pr.35 7FFF0000 and found that motor continously run and did not stop. So i stopped it by self.

I did some more tests and found following results.

1) Pr.35 "high" part 0000, "low" part 1000. Result motor turned 01 revolution CCW.

2) Pr.35 "high" part 0000, "low" part 2000. Result motor turned 02 revolution CCW.

3) Pr.35 "high" part 0000, "low" part 3000. Result motor turned 03 revolution CCW.

and the same for next numbers.

1) Pr.35 "high" part FFFF, "low" part 0000. Result motor turned 16 revolution CC.

2) Pr.35 "high" part FFFE, "low" part 0000. Result motor turned 32 revolution CC.

3) Pr.35 "high" part FFFD, "low" part 0000. Result motor turned 48 revolution CC.

and the same for next numbers.

1) Pr.35 "high" part FFFF, "low" part 1000. Result motor turned 15 revolution CC.

2) Pr.35 "high" part FFFE, "low" part 1000. Result motor turned 31 revolution CC.

3) Pr.35 "high" part FFFD, "low" part 1000. Result motor turned 47 revolution CC.

and the same for next numbers.

Now it has been concluded that Pr.35 low part values subtracts into high part value. But still did not understand the rule.

__________________
Don't assume any thing, always check/ask and clear yourself
Register to Reply
Guru

Join Date: Sep 2012
Location: Iowa, USA
Posts: 577
Good Answers: 50
#3
In reply to #2

Re: Need help to understand a parameter of parker HPC servo drive.

09/03/2012 7:14 PM

I can't load the link to the parker manual. Again, if you convert 7FFF0000# to decimal, and divide by 4096 you get 524272 or 7FFF0#. Per what you indicate, this will be the number of turns of motor shaft revolution. How fast is the motor spinning? You said it ran continuous. I know nothing about this controller. But this is clearly a hex number in a double word register. I can only assume that the most significant bit is a sign bit, that would be the 80000000# bit position. This makes the number negative to a microprocessor unless they coded it to be an unsigned integer.

So for 7FFF0# revolutions, what RPM is the motor spinning at. It may take a very long time if spinning slow. e.g. 524272 revolutions/2000 RPM = 262 minutes, or 4.3 hours. Your additional test vectors, all used FFFxxxxx# leaving the most significant bit set. Do you understand binary microprocessor number systems?

I'm going to guess that the 4096 is a shaft encoder with 4096 pulses per revolution. Note the FFFFFFFF# is -1 (and would turn 1/4096 revolutions), you may not even see this, and I assume that the motor will run in the opposite direction. Does it, make it bigger then -1, like FFFFF000, that should make it turn 1 rotation (-4096) in the opposite direction. Compare this to 80001000 this will tell you if they are using 2s compliment numbers. Note that the calculator you use may not understand negative numbers. It will convert a negative decimal to hex, but not the other direction. The one with windows does not (at least not win2000).

__________________
ignator -
Register to Reply
Register to Reply 3 comments

Previous in Forum: Erratic & Mysterious Outage in One Service Entrance   Next in Forum: DC Voltage Step - Down

Advertisement