You can use a Q series 18-point screw terminal block with a MELSEC iQ-R series terminal block type I/O module or analog module.
For a 40-pin connector type module, you can use the connector without any change.
However, for 37-pin D-sub connector type modules (QX81 and QY81P), change the connectors and wiring.