how to setup mesa 7i83

More
8 years 7 months ago #106849 by PCW
Replied by PCW on topic how to setup mesa 7i83
"sserial_port_0=00000000"
would make sense for a 7I74X2 config with only the first port (on P3) used
(and all 8 channels of port 0 set to mode 0)

If you use all 16 channels (a 7I74 on P3 and P2) you could use
"sserial_port_0=00000000 sserial_port_1=00000000"
The following user(s) said Thank You: thang

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

More
8 years 7 months ago #106857 by thang
Replied by thang on topic how to setup mesa 7i83
Thank you very much for help,

so in "sserial_port_0 = 00000000" the serial_port_0 is controlled by P3, 8 number zeros are 8 channels, but:

What do you mean about "mode 0", are there some other modes or it just means enable and disable? Where can i find these config strings ? I read document of 7i74 but didnt find it out

I also wanna know what are hal_pins name to control, is that like " hm2_5i25.0.7i74.0.1.analogout1" i found this type name from gnipsel.com/linuxcnc/configs/7i77.html . But i dont understand what do numbers mean?

I think a simple way to send an analog signal to 7i83 is:
Use M66-67 command, connect pin "motion.analog-out-NN" to "7i74 hal pin"

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

More
8 years 7 months ago #106858 by PCW
Replied by PCW on topic how to setup mesa 7i83
The analog out names should be like:
hm2_5i25.0.7i83.0.1.analogout0
The following user(s) said Thank You: thang

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

More
8 years 7 months ago #106869 by thang
Replied by thang on topic how to setup mesa 7i83
i'm using 7i74x2 firmware.
the "sserial_port_0=00000000" will set P2 to mode 0

the "sserial_port_0=00000000 sserial_port_1=00000000" wont set P2 and P3 to mode 0

the "sserial_port_0=xxxxxxxx" will set P2 and P3 to mode 0



below is my config file:
it shows bug :
./5i25.hal:61: Pin 'hm2_5i25.0.7i83.0.1.analogout0' does not exist

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

More
8 years 7 months ago - 8 years 7 months ago #106877 by PCW
Replied by PCW on topic how to setup mesa 7i83
What version of LinuxCNC are you using? That looks really wrong

EDIT, actually now that I think about it, that's all correct

if you enable the ports but no sserial device is found the ports revert to GPIO
If you disable the ports (with x) or missing sserial_port token they are not probed so still
show up as sserial at that point in initialization

What you data does show is the the card was not found
This is most likely because of missing power somewhere
(7I74 or 7I83)

Also note that I said the signal name would look like
hm2_5i25.0.7i83.0.1.analogout0
the actual name depends on the channel and port
(use halcmd show pin *7i83*)
Last edit: 8 years 7 months ago by PCW.
The following user(s) said Thank You: thang

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

More
8 years 7 months ago #106893 by thang
Replied by thang on topic how to setup mesa 7i83
i'm using linuxcnc 2.8 pre with ubuntu 16.04 and preempt-rt.

I didnt wire all pin of 5i25 --> 7i74 because i dont have DB 25 male-male cable, i just wired gnd and some pins. I will try connect all pin and check power again.

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

Moderators: PCW, jmelson
Time to create page: 0.402 seconds
Powered by Kunena Forum