Mesa 7i95

More
5 years 6 days ago #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
5 years 6 days ago #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
5 years 6 days ago - 5 years 6 days ago #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: 5 years 6 days ago by PCW.

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

More
5 years 6 days ago #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
5 years 4 days ago #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
5 years 39 minutes ago #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.

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