Re: [Emc-users] how to configure motors in pncconf?

2017-04-24 Thread Valerio Bellizzomi
On Sun, 2017-04-23 at 19:02 +0200, Peter Blodow wrote:
> Long time ago, pncconf had an error, so that it made 5 steps to a cycle 
> instead of 4. This made the same symptoms at the steppers as you 
> picture. What version of pncconf are you using?



Motor vibrations completely removed!
 Well, probably another error I found: the P value generated by pncconf
is set to 1, this is too high, I have set it to P = 100 and this
removed all motor vibration.




> Peter Blodow
> 
> Am 23.04.2017 um 14:50 schrieb Valerio Bellizzomi:
> > On Sun, 2017-04-23 at 08:21 -0400, Todd Zuercher wrote:
> >> With a stepper that usually means the motor is stalled usually because of 
> >> too high velocity, acceleration, or a wiring problem (bad connection on 
> >> one phase).
> > the motor moves accordingly when I jog in Axis interface, and the
> > microstep scale is ok
> >
> > I think if a bad connection was there, the motor could not move
> >
> >
> >
> >
> >> - Original Message -
> >> From: "Valerio Bellizzomi" <vale...@selnet.org>
> >> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> >> Sent: Sunday, April 23, 2017 2:46:03 AM
> >> Subject: Re: [Emc-users] how to configure motors in pncconf?
> >>
> >> On Sat, 2017-04-22 at 10:24 +0200, Valerio Bellizzomi wrote:
> >>> On Fri, 2017-04-21 at 11:56 +0100, andy pugh wrote:
> >>>> On 21 April 2017 at 11:45, Valerio Bellizzomi <vale...@selnet.org> wrote:
> >>>>> The X stepgen is show as 5 in the tab, and as
> >>>>> hm2_5i25.0.stepgen.05.counts in the test window, and it is changing
> >>>>> while I press the movement button
> >>>> I think this is the problem.
> >>>>
> >>>> https://github.com/LinuxCNC/hostmot2-firmware/blob/master/src/PIN_7I76x2_34.vhd
> >>>>
> >>>> Shows stepgen.05 to be on the expansion connector, not the DB25.
> >>>>
> >>>> Configure the X axis to be on Connector 3.
> >> Hello,
> >> What does it means when motor vibrates and makes sounds ?
> >>
> >> The test window of pncconf is limited to 5000 and has disabled arrow
> >> control, that means we can't set nothing higher than 5000. So, once
> >> generated the config files with pncconf, I have edited the files by
> >> hand, and now I am testing with Axis.
> >>
> >> now I have set the parameters as follows:
> >>
> >> step on-time 5000
> >> step space 5000
> >> dir setup 1
> >> dir hold 1
> >>
> >> When the motor is at rest (before any jog command within Axis), it does
> >> not vibrate. But once a command is given, when it goes at rest again it
> >> vibrates and makes sounds, until I disable from the Axis interface.
> >>
> >>
> >>
> >>
> >> --
> >> Check out the vibrant tech community on one of the world's most
> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>
> >> --
> >> Check out the vibrant tech community on one of the world's most
> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> >
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> 
> 
> ---
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> https://www.avast.com/antivirus
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-23 Thread Valerio Bellizzomi
On Sun, 2017-04-23 at 19:02 +0200, Peter Blodow wrote:
> Long time ago, pncconf had an error, so that it made 5 steps to a cycle 
> instead of 4. This made the same symptoms at the steppers as you 
> picture. What version of pncconf are you using?
> 
> Peter Blodow

it is the version that comes with LinuxCNC 2.7.8




> 
> Am 23.04.2017 um 14:50 schrieb Valerio Bellizzomi:
> > On Sun, 2017-04-23 at 08:21 -0400, Todd Zuercher wrote:
> >> With a stepper that usually means the motor is stalled usually because of 
> >> too high velocity, acceleration, or a wiring problem (bad connection on 
> >> one phase).
> > the motor moves accordingly when I jog in Axis interface, and the
> > microstep scale is ok
> >
> > I think if a bad connection was there, the motor could not move
> >
> >
> >
> >
> >> - Original Message -
> >> From: "Valerio Bellizzomi" <vale...@selnet.org>
> >> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> >> Sent: Sunday, April 23, 2017 2:46:03 AM
> >> Subject: Re: [Emc-users] how to configure motors in pncconf?
> >>
> >> On Sat, 2017-04-22 at 10:24 +0200, Valerio Bellizzomi wrote:
> >>> On Fri, 2017-04-21 at 11:56 +0100, andy pugh wrote:
> >>>> On 21 April 2017 at 11:45, Valerio Bellizzomi <vale...@selnet.org> wrote:
> >>>>> The X stepgen is show as 5 in the tab, and as
> >>>>> hm2_5i25.0.stepgen.05.counts in the test window, and it is changing
> >>>>> while I press the movement button
> >>>> I think this is the problem.
> >>>>
> >>>> https://github.com/LinuxCNC/hostmot2-firmware/blob/master/src/PIN_7I76x2_34.vhd
> >>>>
> >>>> Shows stepgen.05 to be on the expansion connector, not the DB25.
> >>>>
> >>>> Configure the X axis to be on Connector 3.
> >> Hello,
> >> What does it means when motor vibrates and makes sounds ?
> >>
> >> The test window of pncconf is limited to 5000 and has disabled arrow
> >> control, that means we can't set nothing higher than 5000. So, once
> >> generated the config files with pncconf, I have edited the files by
> >> hand, and now I am testing with Axis.
> >>
> >> now I have set the parameters as follows:
> >>
> >> step on-time 5000
> >> step space 5000
> >> dir setup 1
> >> dir hold 1
> >>
> >> When the motor is at rest (before any jog command within Axis), it does
> >> not vibrate. But once a command is given, when it goes at rest again it
> >> vibrates and makes sounds, until I disable from the Axis interface.
> >>
> >>
> >>
> >>
> >> --
> >> Check out the vibrant tech community on one of the world's most
> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>
> >> --
> >> Check out the vibrant tech community on one of the world's most
> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> >
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> 
> 
> ---
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> https://www.avast.com/antivirus
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-23 Thread Peter Blodow
Long time ago, pncconf had an error, so that it made 5 steps to a cycle 
instead of 4. This made the same symptoms at the steppers as you 
picture. What version of pncconf are you using?

Peter Blodow

Am 23.04.2017 um 14:50 schrieb Valerio Bellizzomi:
> On Sun, 2017-04-23 at 08:21 -0400, Todd Zuercher wrote:
>> With a stepper that usually means the motor is stalled usually because of 
>> too high velocity, acceleration, or a wiring problem (bad connection on one 
>> phase).
> the motor moves accordingly when I jog in Axis interface, and the
> microstep scale is ok
>
> I think if a bad connection was there, the motor could not move
>
>
>
>
>> - Original Message -
>> From: "Valerio Bellizzomi" <vale...@selnet.org>
>> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
>> Sent: Sunday, April 23, 2017 2:46:03 AM
>> Subject: Re: [Emc-users] how to configure motors in pncconf?
>>
>> On Sat, 2017-04-22 at 10:24 +0200, Valerio Bellizzomi wrote:
>>> On Fri, 2017-04-21 at 11:56 +0100, andy pugh wrote:
>>>> On 21 April 2017 at 11:45, Valerio Bellizzomi <vale...@selnet.org> wrote:
>>>>> The X stepgen is show as 5 in the tab, and as
>>>>> hm2_5i25.0.stepgen.05.counts in the test window, and it is changing
>>>>> while I press the movement button
>>>> I think this is the problem.
>>>>
>>>> https://github.com/LinuxCNC/hostmot2-firmware/blob/master/src/PIN_7I76x2_34.vhd
>>>>
>>>> Shows stepgen.05 to be on the expansion connector, not the DB25.
>>>>
>>>> Configure the X axis to be on Connector 3.
>> Hello,
>> What does it means when motor vibrates and makes sounds ?
>>
>> The test window of pncconf is limited to 5000 and has disabled arrow
>> control, that means we can't set nothing higher than 5000. So, once
>> generated the config files with pncconf, I have edited the files by
>> hand, and now I am testing with Axis.
>>
>> now I have set the parameters as follows:
>>
>> step on-time 5000
>> step space 5000
>> dir setup 1
>> dir hold 1
>>
>> When the motor is at rest (before any jog command within Axis), it does
>> not vibrate. But once a command is given, when it goes at rest again it
>> vibrates and makes sounds, until I disable from the Axis interface.
>>
>>
>>
>>
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-23 Thread Valerio Bellizzomi
On Sun, 2017-04-23 at 08:21 -0400, Todd Zuercher wrote:
> With a stepper that usually means the motor is stalled usually because of too 
> high velocity, acceleration, or a wiring problem (bad connection on one 
> phase).

the motor moves accordingly when I jog in Axis interface, and the
microstep scale is ok

I think if a bad connection was there, the motor could not move




> - Original Message -
> From: "Valerio Bellizzomi" <vale...@selnet.org>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Sent: Sunday, April 23, 2017 2:46:03 AM
> Subject: Re: [Emc-users] how to configure motors in pncconf?
> 
> On Sat, 2017-04-22 at 10:24 +0200, Valerio Bellizzomi wrote:
> > On Fri, 2017-04-21 at 11:56 +0100, andy pugh wrote:
> > > On 21 April 2017 at 11:45, Valerio Bellizzomi <vale...@selnet.org> wrote:
> > > > The X stepgen is show as 5 in the tab, and as
> > > > hm2_5i25.0.stepgen.05.counts in the test window, and it is changing
> > > > while I press the movement button
> > > 
> > > I think this is the problem.
> > > 
> > > https://github.com/LinuxCNC/hostmot2-firmware/blob/master/src/PIN_7I76x2_34.vhd
> > > 
> > > Shows stepgen.05 to be on the expansion connector, not the DB25.
> > > 
> > > Configure the X axis to be on Connector 3.
> 
> Hello,
> What does it means when motor vibrates and makes sounds ?
> 
> The test window of pncconf is limited to 5000 and has disabled arrow
> control, that means we can't set nothing higher than 5000. So, once
> generated the config files with pncconf, I have edited the files by
> hand, and now I am testing with Axis.
> 
> now I have set the parameters as follows:
> 
> step on-time 5000
> step space 5000
> dir setup 1
> dir hold 1
> 
> When the motor is at rest (before any jog command within Axis), it does
> not vibrate. But once a command is given, when it goes at rest again it
> vibrates and makes sounds, until I disable from the Axis interface.
> 
> 
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-23 Thread Todd Zuercher
With a stepper that usually means the motor is stalled usually because of too 
high velocity, acceleration, or a wiring problem (bad connection on one phase).

- Original Message -
From: "Valerio Bellizzomi" <vale...@selnet.org>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Sunday, April 23, 2017 2:46:03 AM
Subject: Re: [Emc-users] how to configure motors in pncconf?

On Sat, 2017-04-22 at 10:24 +0200, Valerio Bellizzomi wrote:
> On Fri, 2017-04-21 at 11:56 +0100, andy pugh wrote:
> > On 21 April 2017 at 11:45, Valerio Bellizzomi <vale...@selnet.org> wrote:
> > > The X stepgen is show as 5 in the tab, and as
> > > hm2_5i25.0.stepgen.05.counts in the test window, and it is changing
> > > while I press the movement button
> > 
> > I think this is the problem.
> > 
> > https://github.com/LinuxCNC/hostmot2-firmware/blob/master/src/PIN_7I76x2_34.vhd
> > 
> > Shows stepgen.05 to be on the expansion connector, not the DB25.
> > 
> > Configure the X axis to be on Connector 3.

Hello,
What does it means when motor vibrates and makes sounds ?

The test window of pncconf is limited to 5000 and has disabled arrow
control, that means we can't set nothing higher than 5000. So, once
generated the config files with pncconf, I have edited the files by
hand, and now I am testing with Axis.

now I have set the parameters as follows:

step on-time 5000
step space 5000
dir setup 1
dir hold 1

When the motor is at rest (before any jog command within Axis), it does
not vibrate. But once a command is given, when it goes at rest again it
vibrates and makes sounds, until I disable from the Axis interface.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-23 Thread Valerio Bellizzomi
On Sat, 2017-04-22 at 10:24 +0200, Valerio Bellizzomi wrote:
> On Fri, 2017-04-21 at 11:56 +0100, andy pugh wrote:
> > On 21 April 2017 at 11:45, Valerio Bellizzomi  wrote:
> > > The X stepgen is show as 5 in the tab, and as
> > > hm2_5i25.0.stepgen.05.counts in the test window, and it is changing
> > > while I press the movement button
> > 
> > I think this is the problem.
> > 
> > https://github.com/LinuxCNC/hostmot2-firmware/blob/master/src/PIN_7I76x2_34.vhd
> > 
> > Shows stepgen.05 to be on the expansion connector, not the DB25.
> > 
> > Configure the X axis to be on Connector 3.

Hello,
What does it means when motor vibrates and makes sounds ?

The test window of pncconf is limited to 5000 and has disabled arrow
control, that means we can't set nothing higher than 5000. So, once
generated the config files with pncconf, I have edited the files by
hand, and now I am testing with Axis.

now I have set the parameters as follows:

step on-time 5000
step space 5000
dir setup 1
dir hold 1

When the motor is at rest (before any jog command within Axis), it does
not vibrate. But once a command is given, when it goes at rest again it
vibrates and makes sounds, until I disable from the Axis interface.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-22 Thread Valerio Bellizzomi
On Fri, 2017-04-21 at 11:56 +0100, andy pugh wrote:
> On 21 April 2017 at 11:45, Valerio Bellizzomi  wrote:
> > The X stepgen is show as 5 in the tab, and as
> > hm2_5i25.0.stepgen.05.counts in the test window, and it is changing
> > while I press the movement button
> 
> I think this is the problem.
> 
> https://github.com/LinuxCNC/hostmot2-firmware/blob/master/src/PIN_7I76x2_34.vhd
> 
> Shows stepgen.05 to be on the expansion connector, not the DB25.
> 
> Configure the X axis to be on Connector 3.
> 


Thanks, and I have another question: how do we call the test window from
the command line ?




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-21 Thread Valerio Bellizzomi
On Fri, 2017-04-21 at 12:53 +0100, andy pugh wrote:
> On 21 April 2017 at 12:43, Valerio Bellizzomi  wrote:
> 
> > the current parameters are, step on-time 3000, step space 3000, dir hold
> > 5000, dir setup 5000
> >
> > ok, that's a little step forward :-)
> 
> It is rarely necessary to make the step and space lengths as short as
> possible, you tend to run into physical limits first.
> Try 5000 for step-length and step-space.


It is better but still some glitch, I can't set anything higher than
5000, the test window has disabled control arrow at 5000, in this
condition the motor vibrates or moves alone very slowly, I would like to
rise the dir-setup and dir-hold to 1 but the test window doesn't
allow this.



> You can also try inverting the step pulse polarity.
> 


done with approximately same results



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-21 Thread andy pugh
On 21 April 2017 at 12:43, Valerio Bellizzomi  wrote:

> the current parameters are, step on-time 3000, step space 3000, dir hold
> 5000, dir setup 5000
>
> ok, that's a little step forward :-)

It is rarely necessary to make the step and space lengths as short as
possible, you tend to run into physical limits first.
Try 5000 for step-length and step-space.

You can also try inverting the step pulse polarity.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-21 Thread Valerio Bellizzomi
On Fri, 2017-04-21 at 13:43 +0200, Valerio Bellizzomi wrote:
> On Fri, 2017-04-21 at 11:56 +0100, andy pugh wrote:
> > On 21 April 2017 at 11:45, Valerio Bellizzomi  wrote:
> > > The X stepgen is show as 5 in the tab, and as
> > > hm2_5i25.0.stepgen.05.counts in the test window, and it is changing
> > > while I press the movement button
> > 
> > I think this is the problem.
> > 
> > https://github.com/LinuxCNC/hostmot2-firmware/blob/master/src/PIN_7I76x2_34.vhd
> > 
> > Shows stepgen.05 to be on the expansion connector, not the DB25.
> > 
> > Configure the X axis to be on Connector 3.
> > 
> 
> Gotcha, I got the motor to move, but the movement is not precise and it
> keeps moving slowly also if I don't press any button
> 
> the current parameters are, step on-time 3000, step space 3000, dir hold
> 5000, dir setup 5000
> 
> ok, that's a little step forward :-)


I lowered the speed to 750 and acceleration to 500 with much better
results, but still it moves alone very slowly. The step on-time value
seems to be ok but I need to fine tune this setup



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-21 Thread Valerio Bellizzomi
On Fri, 2017-04-21 at 11:56 +0100, andy pugh wrote:
> On 21 April 2017 at 11:45, Valerio Bellizzomi  wrote:
> > The X stepgen is show as 5 in the tab, and as
> > hm2_5i25.0.stepgen.05.counts in the test window, and it is changing
> > while I press the movement button
> 
> I think this is the problem.
> 
> https://github.com/LinuxCNC/hostmot2-firmware/blob/master/src/PIN_7I76x2_34.vhd
> 
> Shows stepgen.05 to be on the expansion connector, not the DB25.
> 
> Configure the X axis to be on Connector 3.
> 

Gotcha, I got the motor to move, but the movement is not precise and it
keeps moving slowly also if I don't press any button

the current parameters are, step on-time 3000, step space 3000, dir hold
5000, dir setup 5000

ok, that's a little step forward :-)



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-21 Thread andy pugh
On 21 April 2017 at 11:45, Valerio Bellizzomi  wrote:
> The X stepgen is show as 5 in the tab, and as
> hm2_5i25.0.stepgen.05.counts in the test window, and it is changing
> while I press the movement button

I think this is the problem.

https://github.com/LinuxCNC/hostmot2-firmware/blob/master/src/PIN_7I76x2_34.vhd

Shows stepgen.05 to be on the expansion connector, not the DB25.

Configure the X axis to be on Connector 3.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-21 Thread Valerio Bellizzomi
On Fri, 2017-04-21 at 11:03 +0100, andy pugh wrote:
> On 21 April 2017 at 10:36, Valerio Bellizzomi  wrote:
> 
> >
> > it is locked, that means current is flowing through the windings.
> 
> Indeed, and also means that the drive is probably ready to move, but
> not seeing step-pulses.
> 
> With the test window open, open a terminal and type
> 
> halcmd loadusr halmeter pin hm2_5i25.0.stepgen.00.counts

The X stepgen is show as 5 in the tab, and as
hm2_5i25.0.stepgen.05.counts in the test window, and it is changing
while I press the movement button

> That should open a halmeter window, and you can check that LinuxCNC
> thinks that step pulses are being sent (you can select to look at
> different stepgens if necessary)

I don't understand why the first connector is show as 5 !?

> If the "counts" pin isn't moving then it is probably a scaling
> problem, perhaps you need to move a whole inch (mm?) to create a
> single step pulse.

I have done math for the scaling, not any magic, just motors have 200
steps/rev, in the drive microstepping setup at 800 microsteps, pitch is
5mm/rev, scale is 160 microsteps/mm.


> If it is moving only slightly, then check that the motor isn't moving
> imperceptibly.

It doesn't move at all

> If it moves a lot, and the motor isn't moving, then perhaps you have a
> wiring error, or the pulse length is too short, or you are not wired
> to the correct header.
> 

probably, another header is shown in the tab, because its number is 5,
but I have wired the motor to TB2 starting from pin 2 (step0-) to PUL-
on the drive. Why the first connector pin is not displayed as number
0 ? ...





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-21 Thread andy pugh
On 21 April 2017 at 10:36, Valerio Bellizzomi  wrote:

>
> it is locked, that means current is flowing through the windings.

Indeed, and also means that the drive is probably ready to move, but
not seeing step-pulses.

With the test window open, open a terminal and type

halcmd loadusr halmeter pin hm2_5i25.0.stepgen.00.counts

That should open a halmeter window, and you can check that LinuxCNC
thinks that step pulses are being sent (you can select to look at
different stepgens if necessary)

If the "counts" pin isn't moving then it is probably a scaling
problem, perhaps you need to move a whole inch (mm?) to create a
single step pulse.
If it is moving only slightly, then check that the motor isn't moving
imperceptibly.
If it moves a lot, and the motor isn't moving, then perhaps you have a
wiring error, or the pulse length is too short, or you are not wired
to the correct header.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-21 Thread Valerio Bellizzomi
On Fri, 2017-04-21 at 09:57 +0100, andy pugh wrote:
> On 21 April 2017 at 09:23, Valerio Bellizzomi  wrote:
> > Hello,
> > I am trying to configure motors in pncconf with 7i76 board,
> > I have selected the tab 'connector 2' and then selected a X-Axis StepGen
> > which shows a StepGen-A and DirGen-B, but testing the motor with the
> > panel it doesn'tg move. is this the right thing to do?
> 
> Do the drives also need an "enable" input?

There is an optional ENA, but it sounds like a disable actually. On the
drive there is a green led that is on (and the red led is off).


> Is the motor locked and not moving, or can you move it by hand?
> 

it is locked, that means current is flowing through the windings.



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] how to configure motors in pncconf?

2017-04-21 Thread andy pugh
On 21 April 2017 at 09:23, Valerio Bellizzomi  wrote:
> Hello,
> I am trying to configure motors in pncconf with 7i76 board,
> I have selected the tab 'connector 2' and then selected a X-Axis StepGen
> which shows a StepGen-A and DirGen-B, but testing the motor with the
> panel it doesn'tg move. is this the right thing to do?

Do the drives also need an "enable" input?
Is the motor locked and not moving, or can you move it by hand?

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] how to configure motors in pncconf?

2017-04-21 Thread Valerio Bellizzomi
Hello,
I am trying to configure motors in pncconf with 7i76 board,
I have selected the tab 'connector 2' and then selected a X-Axis StepGen
which shows a StepGen-A and DirGen-B, but testing the motor with the
panel it doesn'tg move. is this the right thing to do?

Thanks



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users