kandauru Posted February 11, 2016 Posted February 11, 2016 Hi, I see there is an option to load compensation tables from CSV file. But I cannot find a format (what data that should be included and how organized) of the file. Could you give me an example? Thanks.
bradp Posted February 12, 2016 Posted February 12, 2016 I also have no idea how the file should look. But in your training slides there is the section about compensation tables (which I guess is what you are speaking about) and you have examples there how to organize this data in a file format that can be downloaded by the IDE project. And in the end the data needs to be part of your project.
steve.milici Posted February 12, 2016 Posted February 12, 2016 One of our programming staff will answer this shortly.
Aseel1981 Posted February 12, 2016 Posted February 12, 2016 You will include the values of the compTable numbers. For one dimension (Linear) when NumOfZones =10, the format will be like this 100 1000 10 6 27 64 28 83 94 15 for two dimensions (Planar) when NumOfZones =10, the format will be like this 100 ,29 1000,78 10,96 6,93 27,27 64,63 28,92 83,33 94,29 15,28 please let us know if you have any other questions.
bradp Posted February 15, 2016 Posted February 15, 2016 The input is very picky. If you have some extra at the end of the file you get errors. 100 ,29 1000,78 10,96 6,93 27,27 64,63 28,92 83,33 94,29 15,28 Selecting file from host computer Input string was not in a correct format. Unable to map data file "C:\Delta Tau IDE\comptest2.csv" to DataGridView. First check CompTable dimension and correct data file and then try again
bradp Posted February 16, 2016 Posted February 16, 2016 Yep, that was my point. The program gave a very generic error message which actually gave very little help finding what was wrong. A point for improvement.
steve.milici Posted February 16, 2016 Posted February 16, 2016 I'll pass this along to the programmers.
kandauru Posted February 19, 2016 Author Posted February 19, 2016 Thank you for helping me! I have checked CSV file with data for one dimension correction - it is working. Best regards from China.
kandauru Posted February 29, 2016 Author Posted February 29, 2016 Hi again, I have couple of questions regarding compensation table: 1) the values entered into the table - what is this? The difference (correction) between target position and measured one when the target was reached or absolute corrected position? 2) I built 2 compensation tables using GUI in PowerPMAC IDE. Although Sys.CompEnable=2, I didn't see it working. For point 100 mm I put the correction of 50 mm, just to see it working, but running distance, anyway, was 100 mm. Please, advise. 3) If I have two motors in gantry mode, should I prepare something specific, or it is enough to setup up compensation table for "master" motor only? Thank you in advance!
bradp Posted February 29, 2016 Posted February 29, 2016 1. The table points are the offset from the commanded position. 2. Look at motor[].comppos to see if data is being compensated. If not look at comp table scale factor and other setup parameters. 3. each motor has its own comp values as these are mechanical based. If you want the same for each then just have both motors as targets from one table
kandauru Posted February 29, 2016 Author Posted February 29, 2016 Even the motor defined like: Motor[2].CmdMotor = 1 //leader id/ Motor[2].ServoCtrl = 8 //follower should it be as target in compensation table?
bradp Posted February 29, 2016 Posted February 29, 2016 If you want a compensation table to work on it then it must be a target
Recommended Posts