Mesa 7i95

More
19 Oct 2021 11:05 #223547 by myval
Replied by myval on topic Mesa 7i95
Got it!
originally I did this
forum.linuxcnc.org/27-driver-boards/3559...ethernet-mesa-boards

but as mentioned in the first line in red do not mix well and I did since I forgot what I did few months ago.

all works as advertised (so far)
Thanks for your help, I will be back for more I am sure :-)

Please Log in or Create an account to join the conversation.

More
19 Oct 2021 17:52 - 21 Oct 2021 18:09 #223583 by mittim
Replied by mittim on topic Mesa 7i95
Could anyone share his HAL section for a pwmgen on Pin1 on the PP to run a spindle?

I have a setup with one of those chinese "PWM to 0-10V" modules.

edit:got it.
Last edit: 21 Oct 2021 18:09 by mittim.

Please Log in or Create an account to join the conversation.

More
24 Oct 2021 07:45 #224069 by Trab
Replied by Trab on topic Mesa 7i95
 

Yes, the outputs are isolated switches (0 to 36V, 0 to 2A)

So you can use 5V or 12V or 24V or anything between 0 and 36V

Note that the outputs are not protected against shorted loads
so use a fused or current limited supply. Also the switches
are polarized (if you connect them backwards they will appear
to be always on)

I should add, you can use an Ohmmeter to test the outputs.
 

Could it be that the ssr´s are on/closed when starting the board?
I think i saw a thread some where how to change it, but i can´t find it anymore.

Please Log in or Create an account to join the conversation.

More
24 Oct 2021 14:57 #224094 by PCW
Replied by PCW on topic Mesa 7i95
The outputs are off at startup, though if you wire them
backwards (reverse polarity) they will appear to be stuck-on.

Please Log in or Create an account to join the conversation.

More
26 Oct 2021 18:19 #224409 by myval
Replied by myval on topic Mesa 7i95
Hey Peter,
I need to pick your brain again.
Trying to use I/O 55, 56, 57 as outputs but they do not exist it says.
What am I missing?

26 bit OUT FALSE hm2_7i95.0.gpio.054.in
26 bit OUT TRUE hm2_7i95.0.gpio.054.in_not
26 bit IN FALSE hm2_7i95.0.gpio.054.out <== spindle-enable
26 bit OUT FALSE hm2_7i95.0.gpio.055.in
26 bit OUT TRUE hm2_7i95.0.gpio.055.in_not
26 bit OUT FALSE hm2_7i95.0.gpio.056.in
26 bit OUT TRUE hm2_7i95.0.gpio.056.in_not
26 bit OUT TRUE hm2_7i95.0.gpio.057.in
26 bit OUT FALSE hm2_7i95.0.gpio.057.in_not
26 bit IN FALSE hm2_7i95.0.gpio.057.out




 

Please Log in or Create an account to join the conversation.

More
26 Oct 2021 18:46 #224411 by PCW
Replied by PCW on topic Mesa 7i95
You would need to set the "is_output" parameter for those pins

Note that if you are using bare FPGA pins on the expansion connector
you should be careful what they are connected to, and at the minimum
add a 100 Ohm series resistor if they could accidentally contact frame
ground.

Please Log in or Create an account to join the conversation.

More
26 Oct 2021 19:03 - 26 Oct 2021 19:04 #224413 by myval
Replied by myval on topic Mesa 7i95
When I set "is_output" it says that they do not exist.
it works fine eg. gpio.54 but not with 56 and 55.

I have an opto coupler board on P1 with inline dropping resistors 1k5

Actually I have enabled PWM on IO 52, 53 would that have anything to do with this issue?
 
Last edit: 26 Oct 2021 19:04 by myval.

Please Log in or Create an account to join the conversation.

More
26 Oct 2021 19:15 #224414 by PCW
Replied by PCW on topic Mesa 7i95
Probably, if 55,56 are owned by the PWMgen

using the --readhmid option with mesaflash should show you what pins is
associated with what function

Please Log in or Create an account to join the conversation.

More
26 Oct 2021 19:20 #224415 by myval
Replied by myval on topic Mesa 7i95
it should not be used by PWM as far as I understand 

                                                                                        --    Expansion port
        IOPortTag & x"00" & NullTag & x"00",                               -- I/O 41   PIN 1
        IOPortTag & x"00" & NullTag & x"00",                                -- I/O 42   PIN 14
        IOPortTag & x"00" & NullTag & x"00",                               -- I/O 43   PIN 2
        IOPortTag & x"00" & NullTag & x"00",                               -- I/O 44   PIN 15
        IOPortTag & x"00" & NullTag & x"00",                               -- I/O 45   PIN 3
        IOPortTag & x"00" & NullTag & x"00",                               -- I/O 46   PIN 16
        IOPortTag & x"00" & NullTag & x"00",                               -- I/O 47    PIN 4
        IOPortTag & x"00" & NullTag & x"00",                               -- I/O 48   PIN 17
        IOPortTag & x"00" & NullTag & x"00",                               -- I/O 49   PIN 5
        IOPortTag & x"00" & NullTag & x"00",                               -- I/O 50   PIN 6
        IOPortTag & x"00" & NullTag & x"00",                               -- I/O 51   PIN 7
        IOPortTag & x"00" & PWMTag & PWMAOutPin,                       -- I/O 52   PIN 11
        IOPortTag & x"00" & PWMTag & PWMBDirPin,                       -- I/O 53   PIN 12
        IOPortTag & x"00" & NullTag & x"00",                               -- I/O 54   PIN 10        
        IOPortTag & x"00" & NullTag & x"00",                               -- I/O 55   PIN 8
        IOPortTag & x"00" & NullTag & x"00",                                 -- I/O 56   PIN 9
        IOPortTag & x"00" & NullTag & x"00",                               -- I/O 57   PIN 13


I dont have it here on me so I can not try anything, I just wanted to pre-empt for tomorrow.

Please Log in or Create an account to join the conversation.

More
26 Oct 2021 19:40 #224416 by PCW
Replied by PCW on topic Mesa 7i95
Maybe a name type-o?

halcmd show param hm2_7i95.0.gpio

(in a terminal when LinuxCNC is running)

Should show all the GPIO parameters
 

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.183 seconds
Powered by Kunena Forum