I just typed the command as Connect it rev0.in = sim0.vel
Set frequency sim0.freq = 1 (in Hz)
Enable fault0.en = 1
I'm trying to get the FB0 ABZ encoder's Z routed to index_enable in LinuxCNC. By default it seems that sserial0.index_out is connected like this in STMBL:
idx_home0.index_en <= sserial0.index_out
I can see the index pulse in ServoTerm if I connect enc_fb0.index to term0.wave4.
The connection in LinuxCNC is done like this:
net xindex joint.0.index-enable <=> hm2_5i25.0.stbl.0.0.index_enable
The issue is that joint.0.index-enable is false all the time.
//set bidirectional pins PIN(index_out) = data_out.index_enable; data_in.index_enable = (PIN(index_clear) > 0) ? 0 : data_out.index_enable;
STM32F407VE has ethernet and STM32F407VG has not. I found this is the only difference.