Hi
I want to explain what i have.
I have working system with 3 axis and it working good. in computer i have
2 set of Mesa5i20+1x7i33(for motor)+2x7i37(i/0 board).
Relation ton 7i33 board: Servo motors for axis X Y Z connected to 7i33,
and 1 axis open because each 7i33 can control 4 axis.
Relation to 7i37: I used pin designated for home and limit switches/pin
for axis  X Y Z.  By using #HAL config file for Mesa Electronocs 5i20 PCI
board
i found that Xmin=m5i20.0-00
             Xmax=m5i20.0-01
             Xhome=m5i20.0-02
             Ymin=m5i20.0-04
             Ymax=m5i20.0-05
             Yhome=m5i20.0-06
             Zmin=m5i20.0-08
             Zmax=m5i20.0-09
             Zhome=m5i20.0-10


>From document Integrators Manual - a more advanced document for machine
builders. (pdf)
On the page 88 you can find table that
CHAPTER 12. HARDWARE DRIVERS 88
m5i20 card connector P3
1                  in-00
3                  in-01
5                  in-02
7                  in-03
9                  in-04
11                in-05
13                in-06
15                in-07
17                in-08
19                in-09
21                in-10
23                 in-11
25                 in-12
27                 in-13
29                 in-14
31                 in-15
33                out-00
35                out-01
37                out-02
39                out-03
41                out-04
43                out-05
45                out-06
47                out-07
49           Power +5 V (or +3.3V

Pin from left column determine what i connect to actual switch on machine.
///////////////////////////////////////////
That what i have and it all working good.

///////////////////////////////////////////////////
this pin from my PC4CNC pendant with pin
1.      VCC
2.      ---------
3.      A (jog wheel)
4.      B (jog wheel)
5.      x1 (increment)
6.      x10 (increment)
7.      x100 (increment)
8.      Z axis
9.      Y axis
10.     X axis
11.     4(Aaxis)
12.     5(Baxis)
13.     -------
14.     COM (ground) for switches and + for OV on JOG wheel.
15.     Estop
16.     Estop
17.     ---
18.     ---
19.     ----
20.     ----
21.     ----
22.     ----
23.     ---
24.     B -- (jog wheel)
25.     A – (jog wheel)

//////////////////////////////////////
I think I explain in simple way what i have.
what i want?
i what to know to where i need to connect pin from pendant ( want to use
second 5i20---5i20.1.) and what code i need to input unto Hal?
these only function that i want to have from pendant
1.        jog wheel A+ A- B+ B-
2.        increment switching 0.1; 0.01; 0.001
3.        axis switching   X; Y; Z; A;  etc
4.        enabling pedant  ON, OFF
5.         Estop

thanks
aram



> Aram -
>
> what is your specific issue - naming the pins? The 7i333 and 7i37 are just
> drivers I figure so I guess this wont change pin naming
>
> so its either
>
> hm2_5i20.0.gpio.* or hm2_5i20.1.gpio.* for the second card?
>
> look at my config for naming examples:
>
> http://mah.priv.at/cgi-bin/viewvc.cgi/cvs/emc-drehbank-hm2/common-hm2-5i20.hal?revision=1.12&view=markup
> http://mah.priv.at/cgi-bin/viewvc.cgi/cvs/emc-fraese-hm2/fraese-f12-hm2-with-common.hal?revision=1.13&view=markup
> http://mah.priv.at/cgi-bin/viewvc.cgi/cvs/emc-fraese-hm2/fraese-f12-hm2-with-common.hal?revision=1.13&view=markup
>
> the latter has the pendent pins
>
> I have the pendent on a parport but I dont see a reason why this shouldnt
> work on the 5i20 pins
>
> -m
>
>> Hi Michael
>> Thanks for help.
>> I did look all documentation and closest was
>> http://www.anderswallin.net/wp-content/2006_11jog/jog.hal
>> Because I used MESA m5i20.
>> Problem with that example is that I do not want to use DS3486. and
>> SN74HC148.
>> I want to use only pin from Mesa 7i33 and 7i37 cards for
>>> 1.        jog wheel A+ A- B+ B-
>>> 2.        increment switching 0.1; 0.01; 0.001
>>> 3.        axis switching   X; Y; Z; A;  etc
>>> 4.        enabling pedant  ON, OFF
>>     5.                Estop
>>
>> In my system/(computer) I have 2 card 5i20 and corresponding amount of
>> 7i33 and 7i37 , so I have enough amount of pin.
>> I don’t know how to refine that example to my specific case.
>> I think that > 1.        jog wheel A+ A- B+ B- should  wired to 7i33
>> card
>> and rest of code wired to 7i37 card but I may be wrong here.
>> I am interesting to use 2nd M5i20 for pendant but I need help with
>> tailoring code and final wiring.
>>
>> Thanks
>> Aram
>>
>>
>>> Hi Aram,
>>>
>>> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Hooking_Up_A_MPG_Pendant
>>> and
>>> some
>>> http://www.chembal.com/cnc/mpg2-emc2-integration
>>>
>>> made it really simple for me, took an hour including soldering?
>>>
>>> -Michael
>>>
>>> Am 27.11.2010 um 05:25 schrieb a...@conceptmachinery.com:
>>>
>>>> Hi
>>>> I remember when I load fists Ubuntu 5.1 , and video card did not work
>>>> on
>>>> my Compaq SR1830NX desk top. Ray Henry reset video driver to VESA etc.
>>>> It was in 2007.
>>>> With 2008 --8.04 , EMC2 2.2.5 there is no such problem.
>>>> Each new release solving problems.
>>>> Will this release make easy to wire and use pedant?
>>>> Preset some files from OEM (EMC2) perspectives.
>>>> Some work that done on pendent characterized as “quick and ….” “it is
>>>> working”.
>>>> Pendant has standard elements such as:
>>>> 1. jog wheel A+ A- B+ B-
>>>> 2. increment switching 0.1; 0.01; 0.001
>>>> 3. axis switching   X; Y; Z; A;  etc
>>>> 4. enabling pedant  ON, OFF
>>>>
>>>> and allocate special pins to wire pendant can be good idea.
>>>> I can say my 3 axis mill that I build very robust system and working
>>>> perfect. I used all preset pins – home- limit switches for all axis
>>>> that
>>>> all was there already. I did not add any code. Can same be done with
>>>> pendant by allocating pins to wire in pendant?
>>>>
>>>> Thanks
>>>> Aram
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> I'm pleased to announce the next bugfix release of emc, version
>>>>> 2.4.6.
>>>>> This mainly fixes the "D510MO bug", but also has a number of other
>>>>> bugfixes.
>>>>>
>>>>> The new packages are available in the package repositories.  If you
>>>>> installed 2.4.0 or later, this will be presented
>>>>> as an upgrade.  If you have 2.3.5 or earlier, it will not
>>>>> automatically
>>>>> be installed as an upgrade.  For more information and
>>>>> installation/upgrade instructions, please see
>>>>>   http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UpdatingTo2.4
>>>>>
>>>>> Git users can get this release by checking out the v2.4.6 tag, or
>>>>> follow
>>>>> bugfixes on the v2.4_branch.  Source tarballs are available from the
>>>>> package repository,
>>>>> http://linuxcnc.org/hardy/dists/hardy/emc2.4/source
>>>>>
>>>>> List of all changes in this release:
>>>>> * documentation: various improvements
>>>>>
>>>>> * estop_latch: make watchdog behavior match documentation.
>>>>>
>>>>> * hostmot2: make gpio pins behave when the value of the pin as an
>>>>> integer was
>>>>>   not 0 or 1
>>>>>
>>>>> * iocontrol: fix current tool information after reloading table
>>>>>
>>>>> * near: fix for negative inputs
>>>>>
>>>>> * pico/7i43/pluto: if the kernel does not report a base_hi address,
>>>>> make
>>>>>   an educated guess (fixes the D510MO bug)
>>>>> * pico/7i43/pluto: show "linux parport does not support mode" as a
>>>>> warning,
>>>>>   not an error
>>>>>
>>>>> * pncconf: fix spinbox limits on metric configurations
>>>>> * pncconf: fix jogging buttons on lathe configs
>>>>> * pncconf: add touchy gui choice
>>>>> * pncconf: fix spindle-at-speed code
>>>>> * pncconf: fix launchers on ubuntu 10.04
>>>>> * pncconf: fix firmware directory names for 7i43, 5i22
>>>>>
>>>>> * sample configs: add another smithy sample configuration
>>>>>
>>>>> * stepconf: fix launchers on ubuntu 10.04
>>>>>
>>>>> * touchy: fix display of 3-digit active gcodes
>>>>>
>>>>> Jeff
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
>>>>> Tap into the largest installed PC base & get more eyes on your game
>>>>> by
>>>>> optimizing for Intel(R) Graphics Technology. Get started today with
>>>>> the
>>>>> Intel(R) Software Partner Program. Five $500 cash prizes are up for
>>>>> grabs.
>>>>> http://p.sf.net/sfu/intelisp-dev2dev
>>>>> _______________________________________________
>>>>> Emc-users mailing list
>>>>> Emc-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
>>>> Tap into the largest installed PC base & get more eyes on your game by
>>>> optimizing for Intel(R) Graphics Technology. Get started today with
>>>> the
>>>> Intel(R) Software Partner Program. Five $500 cash prizes are up for
>>>> grabs.
>>>> http://p.sf.net/sfu/intelisp-dev2dev
>>>> _______________________________________________
>>>> Emc-users mailing list
>>>> Emc-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
>>> Tap into the largest installed PC base & get more eyes on your game by
>>> optimizing for Intel(R) Graphics Technology. Get started today with the
>>> Intel(R) Software Partner Program. Five $500 cash prizes are up for
>>> grabs.
>>> http://p.sf.net/sfu/intelisp-dev2dev
>>> _______________________________________________
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
>> Tap into the largest installed PC base & get more eyes on your game by
>> optimizing for Intel(R) Graphics Technology. Get started today with the
>> Intel(R) Software Partner Program. Five $500 cash prizes are up for
>> grabs.
>> http://p.sf.net/sfu/intelisp-dev2dev
>> _______________________________________________
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to