On 05/17/2018 11:21 AM, Maxime Lemonnier wrote:
Hi Jon,
Thanks for the clarifications, and sorry I forgot to
mention your critical
involvment when I asked the question. Also, who is this
formal mr.
Lemonnier guy?, I'm Maxime :)
>From what I read, I should have " set the encoder-index
to
On 05/17/2018 11:13 AM, andy pugh wrote:
On 17 May 2018 at 17:05, Jon Elson wrote:
So, a component needs to set the encoder-index to true, and then watch for
it to go false. When it sees the encoder-index go false, if does the
subtraction and stores the difference in
This is a question about how most Linux Systems use the ENABLE and ESTOP
signals.
For a LinuxCNC system running on a PC, the screen is pretty well identical
to the MachineKit screen on a Beaglebone. On the top left is the X button
for ESTOP and beside that the POWER (ENABLE) button which
On 05/17/2018 03:31 PM, Maxime Lemonnier wrote:
Just want to make sure I did not miss something in the doc. Suppose I wan't
to register a python callback from the linuxcnc python module, e.g. once
per servo thread, it is not possible, right?
def my_function():
print("servo thread tick!")
Just want to make sure I did not miss something in the doc. Suppose I wan't
to register a python callback from the linuxcnc python module, e.g. once
per servo thread, it is not possible, right?
def my_function():
print("servo thread tick!")
linuxcnc.something.set_callback(my_function);
On Thursday 17 May 2018 12:13:02 andy pugh wrote:
> On 17 May 2018 at 17:05, Jon Elson wrote:
> > So, a component needs to set the encoder-index to true, and then
> > watch for it to go false. When it sees the encoder-index go false,
> > if does the subtraction and
On Thursday 17 May 2018 12:05:17 Jon Elson wrote:
> On 05/17/2018 08:24 AM, andy pugh wrote:
> > It isn't clear from your description precisely when you
> > want this to happen, but I imagine that choosing the
> > conditions is also something easiest inside the custom
> > component.
>
> Let me
Hi Jon,
Thanks for the clarifications, and sorry I forgot to mention your critical
involvment when I asked the question. Also, who is this formal mr.
Lemonnier guy?, I'm Maxime :)
>From what I read, I should have " set the encoder-index to true, and then
watch for it to go false"?
That is not
On 17 May 2018 at 17:05, Jon Elson wrote:
> So, a component needs to set the encoder-index to true, and then watch for
> it to go false. When it sees the encoder-index go false, if does the
> subtraction and stores the difference in a net. It then turns the
>
On 05/17/2018 08:24 AM, andy pugh wrote:
It isn't clear from your description precisely when you
want this to happen, but I imagine that choosing the
conditions is also something easiest inside the custom
component.
Let me explain what mr. Lemonnier is trying to do.
He has a signal from an
On Thursday 17 May 2018 10:40:59 Maxime Lemonnier wrote:
> Hi Gene,
>
> My use case has nothing to do with machining. I'm using a cnc mill as
> a precise robot. For the benefit of an eventual future user with the
> same use case, imagine you have a camera with a signal that triggers
> at the
Hi Gene,
My use case has nothing to do with machining. I'm using a cnc mill as a
precise robot. For the benefit of an eventual future user with the same use
case, imagine you have a camera with a signal that triggers at the begining
of each capture, and that you're capturing during CNC motion.
On Thursday 17 May 2018 08:34:27 Maxime Lemonnier wrote:
> Hi all,
>
> I'm trying to implement a somewhat exotic behavior with EMC2. I have a
> servo setup with two Pico Systems univpwm boards. I have spare encoder
> channels I want to use to precisely checkpoint the position of a
> channel when
works!
thank you andy
On Thu, May 17, 2018 at 10:12 AM, andy pugh wrote:
> On 17 May 2018 at 15:03, Maxime Lemonnier
> wrote:
>
> > I have issues interfacing with index-enable with hal's net command.
>
> Your .comp needs to export a bit pin of
On 17 May 2018 at 15:03, Maxime Lemonnier wrote:
> I have issues interfacing with index-enable with hal's net command.
Your .comp needs to export a bit pin of type IO (bidirectional)
otherwise you will not be able to net it to the index-enable.
pin io bit enable
--
... I also tried :
Signal 'name3' can not add OUT pin 'mirror.0.enable', it already has I/O
pin 'ppmc.0.encoder.07.index-enable'
Signal 'name3' can not add OUT pin 'mirror.0.enable', it already has I/O
pin 'ppmc.0.encoder.07.index-enable'
while executing
"hal net name3
Thanks andy,
I have issues interfacing with index-enable with hal's net command. right
no I have :
net name1 mirror.0.index ppmc.0.encoder.07.index
net ppmc.0.encoder.03.position => mirror.0.actual
net name2 ppmc.0.encoder.07.position => mirror.0.mirror
and my miror.comp code is
On 17 May 2018 at 13:34, Maxime Lemonnier wrote:
> I would like to configure HAL to simply zero-out channel 7 when it receives
> the trigger pulse, then I would write a comp that output the position at
> which the trigger was pulsed using the delta between encoder 3
Hi all,
I'm trying to implement a somewhat exotic behavior with EMC2. I have a
servo setup with two Pico Systems univpwm boards. I have spare encoder
channels I want to use to precisely checkpoint the position of a channel
when an external signal is triggered. So I have, concretely, encoder.03's
19 matches
Mail list logo