2011/12/31 Michael Haberler :
>
> hey look, I just decoded some jepler mystery code and found it useful, other
> than that I'm just an MBA ;-)
Thanks!
Ohh, not the right time to try to hide behind the MBA degree :)
I am an MBA too and I have to say that Your work on redefined g-code
commands, the
>>
>> see man lut5
>
> I did look at both links You provided in Your first email.
>
> Do I understand correctly that the weight is function value for a
hey look, I just decoded some jepler mystery code and found it useful, other
than that I'm just an MBA ;-)
> Yes, it might be not only cool,
2011/12/30 Michael Haberler :
>
> Am 30.12.2011 um 15:23 schrieb Viesturs Lācis:
>
>> 2011/12/30 Michael Haberler :
>>> use lut5:
>>>
>>> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Lut5
>>> http://www.linuxcnc.org/docs/devel/html/man/man9/lut5.9.html
>>>
>>> $ lut5 -n4 'i0 or i1 or i2 or i3'
>>> #
Am 30.12.2011 um 15:23 schrieb Viesturs Lācis:
> 2011/12/30 Michael Haberler :
>> use lut5:
>>
>> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Lut5
>> http://www.linuxcnc.org/docs/devel/html/man/man9/lut5.9.html
>>
>> $ lut5 -n4 'i0 or i1 or i2 or i3'
>> # expression = i0 or i1 or i2 or i3
>> #i
2011/12/30 Michael Haberler :
> use lut5:
>
> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Lut5
> http://www.linuxcnc.org/docs/devel/html/man/man9/lut5.9.html
>
> $ lut5 -n4 'i0 or i1 or i2 or i3'
> # expression = i0 or i1 or i2 or i3
> #in: i4 i3 i2 i1 i0 out weight
> # 0: 0 0 0 0 0 0
> # 1:
use lut5:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Lut5
http://www.linuxcnc.org/docs/devel/html/man/man9/lut5.9.html
$ lut5 -n4 'i0 or i1 or i2 or i3'
# expression = i0 or i1 or i2 or i3
#in: i4 i3 i2 i1 i0 out weight
# 0: 0 0 0 0 0 0
# 1: 0 0 0 0 1 1 0x2
# 2: 0 0 0 1 0 1
2011/12/30 andy pugh :
> On 30 December 2011 12:47, Viesturs Lācis wrote:
>
>> http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/hal/components/or2.comp
>>
>> Now last line is:
>> FUNCTION(_) { out = in0 || in1; }
>>
>> For or4 it should be:
>> FUNCTION(_) { out = in0 || in1 || in2 || in3; }
On 30 December 2011 12:47, Viesturs Lācis wrote:
> http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/hal/components/or2.comp
>
> Now last line is:
> FUNCTION(_) { out = in0 || in1; }
>
> For or4 it should be:
> FUNCTION(_) { out = in0 || in1 || in2 || in3; }
> To install it in existing EMC,
2011/12/30 Spiderdab <77...@tiscali.it>:
> Hi all, i need to compare 4 inputs into hal (a limit value on each of 4
> motors) and if one of them is true the output will be true. (it is a
> tetrapod, so only one motor-limit at a time can be true, fisically.)
>
> The fastest way in my mind is to use 3
Il giorno gio, 29/12/2011 alle 23.41 +, andy pugh ha scritto:
> On 29 December 2011 23:33, Spiderdab <77...@tiscali.it> wrote:
>
> > mmm, seems perfectly what i need.
> > but i don't understand well how to write.
> > is it right?
> > loadrt logic count=1 personality=4,512
> >
> > to have an or
On 29 December 2011 23:33, Spiderdab <77...@tiscali.it> wrote:
> mmm, seems perfectly what i need.
> but i don't understand well how to write.
> is it right?
> loadrt logic count=1 personality=4,512
>
> to have an or with 4 in and 1 out?
516, I think.
--
atp
The idea that there is no such thing
Il giorno gio, 29/12/2011 alle 23.25 +, andy pugh ha scritto:
> On 29 December 2011 23:04, Spiderdab <77...@tiscali.it> wrote:
> > Hi all, i need to compare 4 inputs into hal
>
> This might help, configured as an OR.
> http://www.linuxcnc.org/docview/html/man/man9/logic.9.html
>
mmm, seems pe
On 29 December 2011 23:04, Spiderdab <77...@tiscali.it> wrote:
> Hi all, i need to compare 4 inputs into hal
This might help, configured as an OR.
http://www.linuxcnc.org/docview/html/man/man9/logic.9.html
--
atp
The idea that there is no such thing as objective truth is, quite simply, wrong.
-
Hi all, i need to compare 4 inputs into hal (a limit value on each of 4
motors) and if one of them is true the output will be true. (it is a
tetrapod, so only one motor-limit at a time can be true, fisically.)
The fastest way in my mind is to use 3 or2 components, so i compare two
or2 outputs as t
14 matches
Mail list logo