Mesa 5i25/7i77 - First Steps

More
13 Jan 2019 10:06 #124066 by Marki123
Hi i have a problem with the Mesa 5i25, 7i77, 7i71 combi. I make the mesaflash and Bit File is loaded. I think have set the jumpers correctly. When I start the interface the 7i77 flashes green. And the 5V comes from the PC. But the 7i71 shows a CR33 field error. When I read the readhmid command in the terminal it only shows the 5i25 pins. The 7i77 and 7i71 pins are not listed. But in the HAL, it shows me the 7i77 card.

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

More
13 Jan 2019 10:52 #124069 by andypugh
That is to be expected, readhmid only looks at the 5i25 firmware, it has no way to know what smart-serial devices will be discovered when the system starts up.

To check everything separate from LinuxCNC open a terminal and:
halrun
loadrt hostmot2
loadrt hm2_pci
show pin

That will load everything with default settings. You should see the 7i77 and 7i71 pins listed.

From the manual: "In normal operation CR9 must always be on. At power-up, CR32 should be off and CR33 on. At power-up, the red LED CR33 indicates a watchdog fault, which is expected before host communications are established. Once running, CR32 should blink at about 1 Hz for a 1 KHz update rate, and CR33 should be off. In setup mode CR32 and CR33 are both illuminated."

The commands above will always give a watchdog fault on all cards, as there isn't even a realtime thread running. If you want to check that the watchdogs go off then follow the above with
loadrt threads
addf hm2_5i25.0.read thread1
addf hm2_5i25.0.write thread1
start

Note that you can use tab-completion to enter commands at the halcmd prompt, which saves typing and makes it more difficult to type typos.

You can use setp and getp to set and read HAL pins (and, in fact do anything else legal in a HAL file) at this point. Then type "exit" to finish.

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

More
13 Jan 2019 13:12 #124077 by Marki123
Hi, many thanks for the fast answer. Well, I tried it right away. If I have the command loadrt threads enter show me a error could not insert module /usr/realtime 3.4-9-rtai-686-pae

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

More
13 Jan 2019 13:13 #124078 by Marki123
This is the error File
Attachments:

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

More
13 Jan 2019 13:33 #124081 by PCW
Replied by PCW on topic Mesa 5i25/7i77 - First Steps
It looks like you did not run all the commands in sequence

halrun
loadrt hostmot2
loadrt hm2_pci
loadrt threads
addf hm2_5i25.0.read thread1
addf hm2_5i25.0.write thread1
start
show pin

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

More
13 Jan 2019 13:52 #124083 by Marki123
I went through it again. After the command loadrt threads but always the mistake (could not insert module /usr/realtime 3.4-9-rtai-686-pae) It also shows me the pins of the 7i77. But the 7i71 is not displayed. There is probably a field problem i think... If I now, for example, an emergency switch for the axis to the following pins unfortunately nothing is doing. The card does not react somehow
hm2_5i25.0.7i77.0.0output-00 (x)
hm2_5i25.0.7i77.0.0output-01 (y)
hm2_5i25.0.7i77.0.0output-02 (z)

The switch would be an opener. NC would be 24V and output-00 7i77 Pin for x.

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

More
13 Jan 2019 14:02 #124084 by PCW
Replied by PCW on topic Mesa 5i25/7i77 - First Steps
Not sure what you mean by switch, Do you mean you have a relay wired to the output?

If this is a switch, its should be wired to a 7I77 _input_

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

More
13 Jan 2019 14:10 #124086 by Marki123
I mean that reference switch. Yes, Input not output... This switch is an opener - unconfirmed = 24Volt.. I put it on the input but does not react.

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

More
13 Jan 2019 14:23 #124089 by PCW
Replied by PCW on topic Mesa 5i25/7i77 - First Steps
Are you running LinuxCNC?

The easiest way to check this is by running LinuxCNC and then "halshow"

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

More
13 Jan 2019 20:50 #124108 by andypugh

I went through it again. After the command loadrt threads but always the mistake (could not insert module /usr/realtime 3.4-9-rtai-686-pae)


And then it says "File already exists" which means you have tried to load it twice (or, possibly, you are running the commands with LinuxCNC already running).

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

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