Mesa 7i95

More
26 Oct 2021 19:49 #224418 by myval
Replied by myval on topic Mesa 7i95
well I can not see any typo at first glance. I am doing something dumb.
54 is fine but 55,56 keep saying they do not exist.

setp    hm2_7i95.0.gpio.054.is_output true
setp    hm2_7i95.0.gpio.055.is_output true # relay K410 output opto B1
setp    hm2_7i95.0.gpio.056.is_output true

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

More
26 Oct 2021 19:55 #224419 by myval
Replied by myval on topic Mesa 7i95
anyway I will keep fighting it tomorrow.

while I have you on the line and you seem to know a lot, what is the preferred or best way of creating bit more complex controls? Like if the logic is too much for HAL what would be on top of the list Python, Hal component generator or anything else?
I am not sure If I explain my self well.
Example I have some hydraulic to control so lot of lockouts and some timing and feedback. I could do it in HAL but that would be messy I guess. so what would be my first choice lets say the best performance reliable ops.....

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

More
26 Oct 2021 20:51 - 26 Oct 2021 20:52 #224425 by PCW
Replied by PCW on topic Mesa 7i95
Classic ladder is commonly used for these type of applications where real time
is needed. Other options are application specific components either real time (in C)
or non-reatime (Python or whatever).

The output of mesaflash's --readhmid command and the list of parameters
from halcmd would be of help to debug the is_output issue.

It may also be something wrong with the bitfile
(Since the stock 7I95 bitfile works)
Last edit: 26 Oct 2021 20:52 by PCW.

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

More
26 Oct 2021 20:58 #224427 by myval
Replied by myval on topic Mesa 7i95
right thanks for the breakdown exactly what I was looking for.

iIl will try to dig into that output tomorrow. Might even load stock bit and check that.

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

More
28 Oct 2021 17:49 #224597 by myval
Replied by myval on topic Mesa 7i95
all the outputs are fine. I don't know what I have done but it works.

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

More
02 Nov 2021 13:24 #224986 by andypugh
Replied by andypugh on topic Mesa 7i95

Example I have some hydraulic to control so lot of lockouts and some timing and feedback. I could do it in HAL but that would be messy I guess. so what would be my first choice lets say the best performance reliable ops.....

You can do quite a lot of this sort of interlocking with LUT5, this allows the state of a single output to be defined for every possible combination of five inputs. 
It becomes especially useful if one of the five inputs is driven by the output.

As I have never learned Classic Ladder, but I do know C, as the next stage of complexity I write custom HAL components using halcompile. 

 

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

More
03 Nov 2021 20:13 #225145 by myval
Replied by myval on topic Mesa 7i95
Thanks, yeah i am still learning this world of linuxcnc. It is fairly complex.
I don't know the classic ladder and i have not actually come across the lut5 will have to do some reading on in.
Since most of the stuff i needed was non realtime i actually opted for python. Python seem to be the easiest to get going and fairly easy to debug.
When i have i minute i would like to try the halcompile.

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

More
03 Nov 2021 20:17 #225147 by myval
Replied by myval on topic Mesa 7i95
Well actually while i am typing i have another question.
How do i connect pendant to 7i95? I already have 5 encoder inputs in use and thinking about adding another axis in the future and P1 connector is fully in use too.
Do i go for something like 7i73 connected via rs422?

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

More
04 Nov 2021 15:07 #225237 by PCW
Replied by PCW on topic Mesa 7i95
You can add a 7I73, but if you have free isolated inputs,
there are 4 MPG channels available on the isolated inputs:

hm2_7i95.0.inm.00.enc0-count (isolated inputs 0,1)
hm2_7i95.0.inm.00.enc1-count (isolated inputs 2,3)
hm2_7i95.0.inm.00.enc2-count (isolated inputs 4,5)
hm2_7i95.0.inm.00.enc3-count (isolated inputs 6,7)

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

More
04 Nov 2021 15:46 #225239 by myval
Replied by myval on topic Mesa 7i95
well I am chockablock on TB6 so all inputs on TB5 are available but I think I will need more inputs still I think and I hate maxing stuff out.
I can use it there (if I can remap it to TB5) for time being but I think I will order 7I73 (unless there is a better board to get) I will install it in the pendant and run only RS422 to the board which in my mind will be neater solution.
What do you reckon?

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

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