5i20 + 7i52s + 7i37TA -> change the IO Pins

More
01 Oct 2012 22:04 - 01 Oct 2012 22:04 #24838 by trilobyte
trilobyte replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
i received the ordered 7i52s today. it's runnning! i connected an encoder and a few led's (step gens) for the first test.
now i have to connect the boards with the machine. this is another big step ,-)

BR

Peter
Last Edit: 01 Oct 2012 22:04 by trilobyte.
More
24 Dec 2012 07:31 #27991 by trilobyte
trilobyte replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
how can i set these two outputs low? can i configure something with the pncconf wizard?

the machine ist running in y and z axis!

br

Peter
More
24 Dec 2012 11:02 #27996 by PCW
PCW replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
Not sure about pncconf but you can set these low by
adding the following to the hal file:

setp hm2_5i20.0.gpio.000.is_output true
setp hm2_5i20.0.gpio.023.is_output true
setp hm2_5i20.0.gpio.000.out 0
setp hm2_5i20.0.gpio.023.out 0
The following user(s) said Thank You: trilobyte
More
24 Dec 2012 15:31 #27997 by trilobyte
trilobyte replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
i don't know which files i can edit and which one are controlled by the pncconf wizard? if i modify the wrong files, pncconf will overwrite these changes every time i start the wizard!?


peter
More
24 Dec 2012 23:31 #28005 by PCW
PCW replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
Probably (which may be OK if you transition to hand editing the HAL files)

you may be able to just set the GPIO 000 and 023 pins to outputs in pncconf
(since the default output value would be low)
More
12 Sep 2017 19:18 #98895 by neodym
neodym replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
Hello everybody,

I use exactly the same hardware (Mesa 5i20+7i52) as Peter. Unfortunately I can not find the right file for my project.
For my cnc-lathing machine I need 3-Encoder, 3-Step/Dir, 2-PWM/Dir and 2-Sserial (1x7i73, 1xreserve)
When trying to create your own file I failed. After this tutorial it did not work.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Editin...SA_Bitfiles_Spartan2
Missing files and error messages are syntax check. Unfortunately, I am not a programmer and can not correct these errors. That is why I am dependent on your help.
More
13 Sep 2017 01:15 #98907 by PCW
PCW replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
A 7I52 will give you 6 encoder and 6 sserial channels,
You would need another daughter card for the stepgen and PWM/DIr outputs
More
13 Sep 2017 07:21 #98914 by neodym
neodym replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
I have however this combination already with this firmware used.
.
.(loadrt hm2_pci config="firmware=hm2/5i20/SVST2_4_7I47.BIT num_encoders=3 num_pwmgens=1 num_stepgens=3")
.
Actually I only need the additional Sserial for 7i73. According to this manual on page 10, this should be possible.
Unfortunately, not with this firmware.
More
13 Sep 2017 13:20 #98920 by PCW
PCW replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
Which daughtercards do you have?

A 7I52 has 6 encoders and 6 sserial interfaces
A 7I52S has 6 encoders and 6 STEP/DIR or PWM/DIR output pairs
Neither has the combination of step/dir and sserial that you need
More
13 Sep 2017 15:15 - 13 Sep 2017 15:25 #98924 by neodym
neodym replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
I have only 7i52, not the one with the "s" at the end. :o( I believe to understand where the problem is.
I have only 6 TX ports and each step/dir (or pwm/dir) requires 2 of them. With 2x step/dir and 1x pwm/dir I have no more port for Sserial free.

PS: Can change by the IC the 7i52 to the 7i52s? I have the necessary equipment for this.
Last Edit: 13 Sep 2017 15:25 by neodym.
Moderators: cmorley
Time to create page: 0.104 seconds
Powered by Kunena Forum