Can not get step settings that works OK

More
07 Jun 2020 18:12 #170509 by tecno
I have now been trying to get my numbers right for scale in INI
Trying with the help of pncconf but all I get is a rocket launcher ;)

I have DM542A drivers images-na.ssl-images-amazon.com/images/I...dhyL._AC_SL1500_.jpg

25mm pitch leadscrews on X and Y
10mm pitch leadscrew on Z

Here my settings

File Attachment:

File Name: plasma.hal
File Size:5 KB

File Attachment:

File Name: plasma.ini
File Size:3 KB


Can somebody have a look at this so I can get adequate speed for my plasma.

Cheers
Bengt
Attachments:

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

More
07 Jun 2020 19:18 #170516 by tecno
There must be some errors in pncconf with scale calc.

Manual calc
4000steps 25mmpitch = Scale 160
4000steps 10mm pitch = 400

So now that works.

AXIS reports velocity of 6000 that seems a bit slow, how do I get higher speeds? What needs to be edited?

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

More
07 Jun 2020 19:34 - 07 Jun 2020 19:35 #170519 by tommylight
In the ini file:
Display section, max velocity
Traj section, max velocity
For each axis and joint, max velocity.
-
Set it for each axis to what they need to be, for the traj and display section, add another 20 to 30% so when moving both axis at the same time it does not clip the velocity of each axis.
Last edit: 07 Jun 2020 19:35 by tommylight. Reason: typo
The following user(s) said Thank You: tecno, bbsr_5a

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

More
07 Jun 2020 19:45 #170522 by tecno
[DISPLAY]
DISPLAY = axis
#DISPLAY = gmoccapy

POSITION_OFFSET = MACHINE
POSITION_FEEDBACK = COMMANDED
MAX_FEED_OVERRIDE = 1.2
CYCLE_TIME = 0.1
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 0
OPEN_FILE = ""

Nothing there on velocity!

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

More
07 Jun 2020 19:48 #170523 by tommylight
That is OK, no worries, it does work without it.
As an example here is one of my ini files display section:

[DISPLAY]
DISPLAY = axis
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
MAX_SPINDLE_OVERRIDE = 1.000000
MIN_SPINDLE_OVERRIDE = 0.500000
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 50.000000
MAX_LINEAR_VELOCITY = 800
MIN_LINEAR_VELOCITY = 0.500000
DEFAULT_ANGULAR_VELOCITY = 12.000000
MAX_ANGULAR_VELOCITY = 180.000000
MIN_ANGULAR_VELOCITY = 1.666667
EDITOR = gedit
GEOMETRY = xyz
The following user(s) said Thank You: tecno, bbsr_5a

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

More
08 Jun 2020 06:39 #170584 by bbsr_5a
MAX_VELOCITY = 220.0
MAX_ACCELERATION = 1200.0

is a very good value to get the DM542T to speed

the Z on a plasma shout be
MAX_VELOCITY = 80.0
MAX_ACCELERATION = 800.0

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

More
08 Jun 2020 09:04 #170596 by tecno
Now I get following errors on all JOINTS

File Attachment:

File Name: plasma_2020-06-08.ini
File Size:3 KB

File Attachment:

File Name: plasma_2020-06-08.hal
File Size:5 KB


Is the RPi4 up to this task?
Attachments:

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

More
08 Jun 2020 09:30 #170601 by bbsr_5a
REDUCE the ACC
MAX_ACCELERATION = 750.0

get down till you get no following then step up again
the DM542T is a Magic box
why dident you choose the DM556 REAL digital it can speed up 25times then the 542Original H

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

More
08 Jun 2020 09:46 #170603 by tommylight
In joint sections:
stepgen stuff must be 25 to 50% more than max velocity and acceleration.

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

More
08 Jun 2020 10:26 #170614 by tecno
Even with following I still get following error on JOINT0


[AXIS_X]
MIN_LIMIT = -495
MAX_LIMIT = 0
MAX_VELOCITY = 100
MAX_ACCELERATION = 300
[AXIS_Y]
MIN_LIMIT = 0
MAX_LIMIT = -495
MAX_VELOCITY = 200
MAX_ACCELERATION = 1200

[AXIS_Z]
MIN_LIMIT = 0
MAX_LIMIT = -100
MAX_VELOCITY = 80
MAX_ACCELERATION = 800

[JOINT_0]
AXIS = X
MIN_LIMIT = -5000
MAX_LIMIT = 5000
MAX_VELOCITY = 100
MAX_ACCELERATION = 300
SCALE = -400
STEPGEN_MAX_VEL = 150
STEPGEN_MAX_ACC = 450
FERROR = 0.0051
MIN_FERROR = 0.0025
DIRSETUP = 20000
DIRHOLD = 20000
STEPLEN = 5000
STEPSPACE = 5000
DEADBAND = 0
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0.00013
BIAS = 0
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES

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

Time to create page: 0.214 seconds
Powered by Kunena Forum