vmihalca wrote: Looking over the hal & ini files I have not seen anywhere this data mode setting. .
It is set by an entry in the "loadrt hm2_eth" line of the HAL, specifically something like "sserial_port_0=02xxx"
linuxcnc.org/docs/2.7/html/man/man9/host...ml#config%20modparam
Here is one way to find the right settings. Open a terminal and type:
halrun
loadrt hosmot2
loadrt hm2_eth board_ip=xxx (ie, whatever your normal "loadrt hm2_eth" looks like. (after INI substitution, if used))
show pin
"show pin" will list all the HAL pins, and some of them will have two indexes to them, something like 0.2 or 1.3
The first number is the port number, the second the channel.
So, if the sub-device that you want to set to mode 2 is on 1.3 you can try this:
unloadrt hm2_eth (to start again)
loadrt hm2_eth board_ip=xxx config="sserial_port_1=00020000"
now try show-pin again and see if the MPG pins have appeared.
I dont have a 7i76E so can't tell you the exact configuration string you need.
I _really_ ought to modify this to be compatible with the "use_serial_numbers" option of hostmot2, as setting the process data mode by port and channel fails if the cables are swapped about.