Mach3 -> Camtronics -> Parallel P Replacement

More
6 years 7 months ago #162001 by PCW
in 99.9% of cases, there is no reason to use anything but the default
1 ms servo thread period
The following user(s) said Thank You: rdeeming

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #162017 by rdeeming
After merging the pncconf generated ini/hal with the generated stepconf generated ini/hal file from the working mach3 xml, attached is what I have so far.

Launching linuxCNC and clicking "Home Axis" for both X and Z, not sure where to disable that need, I entered a MDI code
G01 X.25 F1

The results are less than desirable and are not smooth by any means.

When ~.25 is reached as far as linuxCNC is concerned it continues to pulse the servo as if it is searching to be exact and can't reach this.

I have no idea how to better describe the end result.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #162019 by PCW
Yeah that's a early pncconf bug perhaps compounded by setting the servo thread
too fast in the initial configuration. To fix, in the hal file replace all statements like

setp pid.x.maxerror .0005
to
setp pid.x.maxerror 0

and in the ini file, set all PID P terms to 1000
The following user(s) said Thank You: rdeeming

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #162028 by rdeeming
I would have had zero idea how to go about fixing this. Changing these values helped tremendously.

Next on the integration list.

The camtronics control box had a custom wire made to go from the computers USB port to a manual switch Engage/Disengage.

The wire coming from the USB ultimately ended up going to the three G203v stepper drive pin (Disable).

This used to work to disengage the motors.

With the introduction of the 7i76e the motor windings are always engaged no matter if the power coming from the USB port is enabled or disabled to the G203V stepper drive.

Is there something that the G203v (Disable) pin should go to to emulate this engage/disengage on the 7i76e?

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #162032 by PCW
Is enable/disable a 5V signal?

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #162038 by rdeeming
I believe so. This is coming from the G203v user manual.

"TERMINAL 7 Disable
This terminal will force the winding currents to zero when tied to the step and direction controller +5V"

Please Log in or Create an account to join the conversation.

Time to create page: 0.094 seconds
Powered by Kunena Forum