I am making a custom configuration to replace a Fagor 8050
cnc control with Linuxcnc and a Mesa 7i80hd or other triple
2x25 header interface.  I have four servo channels, and three
mpg wheels for jogging.  There only seems to be four regular
encoder channels, and beyond that muxed counters are required.
I don't see just how the muxed counters work, however.  Can
the two types be mixed?  I see in various PIN source files a
mux selection pin.  How is this used?  Here are the relevant
lines from the vhd file:

                IOPortTag & x"00" & MuxedQCountTag & MuxedQCountQAPin,          
-- I/O 24
                IOPortTag & x"00" & MuxedQCountTag & MuxedQCountQBPin,          
-- I/O 25
                IOPortTag & x"01" & MuxedQCountTag & MuxedQCountQAPin,          
-- I/O 26
                IOPortTag & x"01" & MuxedQCountTag & MuxedQCountQBPin,          
-- I/O 27
                IOPortTag & x"02" & MuxedQCountTag & MuxedQCountQAPin,          
-- I/O 28
                IOPortTag & x"02" & MuxedQCountTag & MuxedQCountQBPin,          
-- I/O 29
                IOPortTag & x"00" & MuxedQCountSelTag & MuxedQCountSel0Pin,     
-- I/O 30


Thanks again,
-- Ralph


_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to