I did not see and example I/O addressing when using MD-HMI with Fx2424 and EXP1616R expansion card.
I believe Key 0 should start at input 41 and end with F4 on input 56.
LED1 would be output 65 and last F4LED would be at 72.
If this is not so, please give correct addressing.