On 04/20/2020 10:39 PM, John Dammeyer wrote:
Sorry, I may have been premature. The STMBL has a HAL like interface for
configuration. It has the AND operation for example:
# Now enable drive if external signal there
load and
and0.rt_prio = 12
fault0.en=io0.C78
# No fault when not enabled.
and0.in0 = io0.C78
and0.in1 = fault0.fault
enc_cmd0.fault = and0.out
The hal component is and2 (for 2 inputs). So, the above
would actually be :
loadrt and2
and2.0.rt_prio = 12
fault0.en=io0.C78
# No fault when not enabled.
and2.0.in0 = io0.C78
and2.0.in1 = fault0.fault
enc_cmd0.fault = and2.0.out
I'm assuming this needs to be loaded as a real-time component.
Jon
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users