- Posts: 137
- Thank you received: 7
Mesa 7i95
5 years 6 days ago #224418
by myval
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.
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.
5 years 6 days ago #224419
by myval
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.....
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.
5 years 6 days ago - 5 years 6 days ago #224425
by PCW
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)
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.
5 years 39 minutes ago #224986
by andypugh
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.
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.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.....
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.
Time to create page: 0.238 seconds