Sitemap

Amicuk Programming Answers

Position error

-0001-11-30   Views:0

Advertisement

I am having encoder position issues. I am using 3 Kollmorgen servos attached to 3 AKD Ethercat drives. I have a cRio running as the Ecat master. All of my Vis are running in scan mode on the cRio.  I am building a capstan pulling system that will hav

I am having encoder position issues.
I am using 3 Kollmorgen servos attached to 3 AKD Ethercat drives. I have a cRio running as the Ecat master. All of my Vis are running in scan mode on the cRio.
 I am building a capstan pulling system that will have a constantly changing velocity based upon position within a 3 meter repeating cycle. I change the velocity based upon sensor input every mm of the cycle and then start the 3 meter cycle over. The velocity various from 1 RVS to 10RVS.  I use the encoder position to determine my position within a cycle. The system runs great for around 5 minutes and then my encoder goes crazy. Even when I stop the servo the encoder continues to increase. In the help for the “Reset Position” command I noticed that encoder values higher than 2^52 can be unstable. Does this apply to user units or RAW encoder pulses?
  I have tried the following methods to try and fix the problem.
Test and verified that the issue occurs in the Axis test panel.
I just set a long move at a given speed. After a time the position error goes crazy as in 4.0 e +12 and the position continues to increase after the servo stops.
I removed my units and used just encoder pulses and again after a few minutes the same thing occurred.
Changed my VI so that after each 3 meter cycle the encoder was reset to zero. Again after roughly the same amount of time the issue occurred.
One strange thing is that I can still control the servo accurately. If I tell it to go 100mm it goes 100mm, but once there I cannot read the position because it returns a very large and inaccurate number.
A further observation is that I can recover by resetting the cRio. This makes me think that the encoder number is exceeding some register U32 or U64. If that were the case I would have thought that resetting it after each cycle would have fixed it. Unless when you reset the position you are just setting an offset that is subtracted for the actual encoder from that point forward.
 I am sure that I have confused you all but any and all help is greatly appreciated.
Perpetual LabView noob…..
Jeff Lee

The replay answer
Advertisement
Hi Jeff,
I have a few questions for you to help me get a better understanding of the issue:
- What version of LabVIEW software is your application written in (2010? 2011 SP1?, 2012? etc)?
- Have you tried swapping your motor with a different one?  Or your Drive?  Did you still observe the same behavior?  If possible, I think this would be a useful test to help narrow down the issue.
- What does your motion system look like at a high level (What components are involved and how are they connected to eachother)?  Does the encoder feedback connect back to the drive or back to your cRIO controller?  
Andrew T.
National Instruments

Go to See the other 3 answers

Invalid Cursor Position Error

Category:DefaultRelease time:2015-10-11Views:130

Help! I am using JRun3.1 and developing a web interface to a database. In this particular screen, I am using CachedRowSet (I downloaded this and added it to jrun classpath). I am getting "Invalid cursor position" error. I feel there is a problem[More]

Invalid Cursor Position Error on Windows XP using CachedRowSet

Category:DefaultRelease time:2015-10-11Views:130

Hello, I don't know if this question lies here, but I thought it would be the well suited place so please pardon me if it isn't. I am trying to access multiple pages from my database on my XP machine but I am getting an "invalid cursor position"[More]

Position error

Category:DefaultRelease time:-0001-11-30Views:130

I am having encoder position issues. I am using 3 Kollmorgen servos attached to 3 AKD Ethercat drives. I have a cRio running as the Ecat master. All of my Vis are running in scan mode on the cRio.  I am building a capstan pulling system that will hav[More]

"Column Width should be positive" error

Category:DefaultRelease time:-0001-11-30Views:130

I have a flash chart that has a fairly simple query (whic works fine when run via SQLPLUS etc), that when I run via Apex I get "Column Width should be positive" errors. What does this mean, and how do I debug it?I realise that I have to have a c[More]

Set file position error

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I am using LabVIEW 2009 SP1 on Win XP OS system. I am reading and writing data to a text file whose size does not exceed 50 MB. whenever i try to set file position to a value of say 128 bytes from the start of file, the function does not show an[More]

Swf positioning error in cs3

Category:DefaultRelease time:-0001-11-30Views:130

I've added a .swf file to my html page but when attributing a CSS ID to the object to position it on the page, it shows as in the correct position on the dreamweaver layout, but when viewing in firefox, opera or safari the flash object displays out o[More]

Batch Input ME47 - Get Item position error

Category:DefaultRelease time:-0001-11-30Views:130

I'm doing BDC to ME47 passing header and several positions in a RFC. The functional wants  the RFC inform which position caused the error. In the message table of the call transaction doesn't show any info of the position. I think it can't be done bu[More]

Read Encoder Position Error -70012

Category:DefaultRelease time:-0001-11-30Views:130

I am using the "Read Encoder Position" and I keep getting error #-70012.  There are no errors up to this point and it does not SEEM to affect the way my program runs.  Does anyone know what this error is?  I did try to look up the error # to no[More]

Cursor Position Error

Category:DefaultRelease time:-0001-11-30Views:130

Hi There, Can anyone tell me why the attached VI returns a error? Many Thanks, Dan Dan CLD Attachments: cursor error.vi ‏9 KBHi Dan, You are getting this error because you have not yet 'created/ initialized' the Cursor. Either, Manually add cursor.([More]

Motor position error

Category:DefaultRelease time:-0001-11-30Views:130

As a beginner in motor contol, one of my motor systems consisted of Thorlab Z612B(0.4 nm/step, 8 micrometer blacklash) and Precision MicroControl DCX-PC100. The motor was used in XY scanning; the x direction(fast axis) will move in small interval con[More]

Playback position error

Category:DefaultRelease time:-0001-11-30Views:130

Okay so this error is driving me nuts! I used to see this occasionaly on my old iPod Nano (3g), and I thought I'd seen the last of it until it started happening consistently on my iPhone with one of my podcasts (http://phobos.apple.com/WebObjects/MZS[More]

Hot
I have a query with more than 4000 characters. I can't seem to get ociparse to accept it. The bind variables are not an issue as I am not concatenating any strings to the query syntax. It is just that my query will all the columns and unions etc exce [More]
I'm running Windows 8.1 on a new laptop. For whatever reason, my older iPod (model MB754C) isn't syncing with iTunes. I tried to Restore to factory settings and now it won't load my music (that's all I have) onto my iPod. What's wrong and how do I fi [More]
structure of  abap programHi See this sample report and note down the structure REPORT zm_reservation_alert        NO STANDARD PAGE HEADING        MESSAGE-ID zm_msg.        D A T A B A S E  T A B L E S   D E C L A R A T I O N                T Y P E S [More]
Hi, I have read the existing threads and still have questions. I need to add a Web Part (I think) to an existing SP site - with the Web Part on the RIGHT side of the site - so: Libraries, Lists, Discussions, etc. on the left (existing) -- List of fil [More]
We are looking into adding the plant name to the 'List of Purchase Orders' screen. Just checking to see if anyone has already done that. If so would you please guide me on how to do that. Thanks KrishnaHi, You need to make changes in the BSP page whi [More]
I have an info structure for SIS, which will display the statiscal key figures of sales documents (orders, billing, credit memo etc) drilldown by Customer, Sales Organization, and Material. Currently the user requested to add some materials informati [More]
I'm a Newby, and I"m looking to use Parallels with my new Mac Pro 13" duo processor I7.  So, I need to get Parallels and was looking at a Windows 7 OEM disk.  Never have thought much about 32 or 64 bit, what's the difference and is one better th [More]
This Laptop has been nothing but problems since I bought it. I really should have returned in first 30days to Costco...but I thought that HP would support it and HP seemed to be aquality manufacturere. The reality is it stinks. Consistenly freezes an [More]
I'm getting continually disconnected, my wifi does not work anymore and my connection shows different servers, like BT, not mine. I have manually to reconnect a dozen times. Is there a way that it can be fixed and be stable?Hello scharliem, We've a h [More]
When I experimented, I see only baseContent and images in scrollable frame are converted as pdf and rest of the overlayAssets are image. Please help me understand and why. Please correct me if I am wrong.I think he is asking how the .FOLIO-File is ge [More]