- Posts: 12
- Thank you received: 1
Please Log in or Create an account to join the conversation.
I hit something very similar to this when implementing a toolchanger routine using G Code some while back.For example C-90.0 goes 3/4 of a turn to the equivalent position of 270 degrees (but turns in the opposite direction). This is really counter-intuitive -- I'm thinking that C-90.0 should give only 1/4 of a turn.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Code:setp stepgen.3.velocity-cmd [AXIS_3]SCALE setp stepgen.3.maxvel 7200 setp stepgen.3.steplen 1 #setp stepgen.3.stepspace 1 #setp stepgen.3.dirhold 35500 #setp stepgen.3.dirsetup 35500 setp stepgen.3.maxaccel [AXIS_3]STEPGEN_MAXACCEL #net apos-cmd axis.3.motor-vel-cmd => stepgen.3.velocity-cmd net apos-fb stepgen.3.position-fb => axis.3.motor-pos-fb #net astep <= stepgen.3.step #net adir <= stepgen.3.dir net aenable axis.3.amp-enable-out => stepgen.3.enable
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Hmm, actually, I am not at all sure that motor-vel-cmd is the right signal to use.Thanks Andy,
I am very happy to have something new to try!
Please Log in or Create an account to join the conversation.