Hello Guest it is March 29, 2024, 08:06:04 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Olovsson

Pages: 1
1
Hi,
I get a lot of the “WARNING: Main Loop ..” from the 7766. It seams to depend on what polling frequency you have set, a lower frequency generates less warnings. I have been playing around with the polling frequency and the buffer size, but can get rid of it completely.
     
What does the warning mean? Will it affect the machine in some ways? Do I need to try to get rid of the warning? In that case any ideas what to do, to get rid of it?

The log is from when I run a probing sequence with a lot of slow moves and a lot of probe points.

Best Regards,
Olovsson

Polling Frequency 75 Hz
Mach4300-Integra-4.24_Plugin-2.03.41
Mach4: 4612

[07:17:34.845] Motors are now set still:
       
  • Pos=214157, Actual=214157.00, StepGen 214157, Plugin 214156
  • [1] Pos=194750, Actual=194750.00, StepGen 194750, Plugin 194750
            [2] Pos=-192082, Actual=-192082.00, StepGen -192082, Plugin -192082
            [3] Pos=-1, Actual=-1.00, StepGen -1, Plugin -1

[07:17:34.846] __________WARNING: Main Loop Process duration: 6.9378ms, Polling Interval 13ms
[07:17:35.188] New Start Position: 214157 | 194750 | -192082
[07:17:35.225] __________WARNING: Main Loop Process duration: 5.246ms, Polling Interval 13ms
[07:17:35.289] __________WARNING: Main Loop Process duration: 5.7556ms, Polling Interval 13ms

2
Hi,

I'm working on a wizard that should measure and handle the rotation of the coordinate system. However, when I start the wizard it would be good to read out if G68 is active or not and with which angle it is rotated. I'm not able to find anything like that in the API (LUA) manual. Anyone that knows if that's possible or not?

Olovsson   

3
Hi,

I'm getting this error from the plugin every time I change direction:

[20:27:08.424] Waiting for controller to consume buffered motion: Mtr: 0 SeqID: Ctrl 943999 Mach 944007
[20:27:08.434] *><><* Motor 0 is almost in position 339695.00 339694.98
[20:27:08.434] *><><* Motor 1 is almost in position 332600.00 332600.00
[20:27:08.435] *><><* Motor 2 is almost in position -330478.00 -330478.02
[20:27:08.464] ########### ERROR: Motor 0 Set Still without in position 339695 339694
[20:27:08.464] MotionSetStill for motor 0
[20:27:08.465] ########### ERROR: Motor 1 Set Still without in position 332600 332600
[20:27:08.465] MotionSetStill for motor 1
[20:27:08.465] ########### ERROR: Motor 2 Set Still without in position -330478 -330478
[20:27:08.466] MotionSetStill for motor 2
[20:27:08.466] Motors are now set still:
       
  • Pos=339695, Actual=339695.00, StepGen 339695, Plugin 339694
  • [1] Pos=332600, Actual=332600.00, StepGen 332600, Plugin 332600
            [2] Pos=-330478, Actual=-330478.00, StepGen -330478, Plugin -330478

    Anything to worry about?

    Mach4 4.2.0.4300
    Mach4300-Integra-4.18_Plugin-2.03.33
    7766 FPGA: A2B2

    /Olovsson



4
HiCON Motion Controller / 7766 and Gecko GR214V Feedback?
« on: December 28, 2018, 06:01:20 AM »
Hi,

I recently bought a 7766 and a couple of Gecko GR214V. On the 214 there is two outputs Error and Full Step feedback, 5V TTL signals. Is there any way I can get them into the 7766 and use them in Mach4? Well the Full Step feedback is really not an encoder, but it would be nice to have that as a feedback for step count.

Regards,
Kjell   

5
Mach4 General Discussion / LUA problem when exit a Wizard
« on: July 16, 2018, 03:01:17 AM »
Hi,
I have written a couple of wizards for my needs in Mach4, been using wxFormBuilder for generating the GUI. So far so good. My problem is that when I have two wizards running at the same time, I don’t succeed to exit the second one. As long as only one is running there is no problem at all. Been looking through the code for the wizards that comes with Mach4 and I can't for my life not understand what the difference in the exit code in these are compared with mine. You can without any problem have several instances of them and exit all without problem…     


This is my “exit” function:
Code: [Select]
function ExitWizard()

UI.MainWindow:Destroy()

if(LogWindowOpen or UI.Log1 ) then
UI.Log1:Destroy()
end

end

When exit the first wizard everything is working fine, but when I try to exit the second one I get this error message in Mach4 and nothing happens..

Code: [Select]
Lua: Error while running chunk
C:\Mach4Hobby\Wizards\BossProbe.mcs:131: attempt to index field 'MainWindow' (a userdata value)
stack traceback:
C:\Mach4Hobby\Wizards\BossProbe.mcs:131: in function 'ExitWizard'
C:\Mach4Hobby\Wizards\BossProbe.mcs:464: in function <C:\Mach4Hobby\Wizards\BossProbe.mcs:461>

Would be grateful for any advice on this one, obviously it’s working with the supplied wizards.

Regards,
Kjell

6
Mach4 General Discussion / Problem with Mach4 Boss Probing
« on: July 03, 2018, 03:18:05 PM »
Hi,

I’m trying the boss probing in Mach4 (Probing->Boss/Bore) but I don’t get it to work correctly. It seams that I miss the center of the boss I’m measuring with about the radius of my probe.

The bore probing is working fine and I get correct values. The probe is calibrated under the Calibration tab, with a calibration ring (known diameter).

Anybody else that have experienced problem with the “boss probing”, I can’t find anything about that in the forum.   

Best Regards,
Kjell

7
Mach4 General Discussion / Rotary axis feed rate?
« on: June 01, 2018, 05:04:44 PM »
Hi,

I'm in the process to setup the 4th axis in my machine with Mach4. In Mach3 there was an option under the tool path configuration where you could set "use radius for rotation" and then enter the radius on the settings tab. How do I do this in Mach4? I'm unable to find an answer to that in the forum or on the net.

If it not possible to do it in Mach4, has anybody solved it in some other way? I'm cutting with the X, Z and A moving at the same time, so therefore it would be nice to be able to translate the degrees/min to mm/min on the A-axis.
Kjell       

8
Hi,

I'm setting up a probe in Mach4, which is working very good so far. But, I want a write, for my needs, a bit different probing routine compared with the ones offered by default in Mach4. I have so far figured out that the calibration routine stores the calibration data in the Machine.ini file. So far so good. My question is if there is some way I can get hold of that data in a LUA script (without parsing the whole file and looking for the parameter)? Is it stored in some variables at start up? The one I wanted to get hold of is the calibrated probe radius. I have been looking around in the documentation, in the forum, in internet, but so far failed to find some information about this.

Hope to get some help here by all the expertise in the forum.

Best Regards,
Kjell     

Pages: 1