Hello FX3u-232-ADP-MB FX3u-232-ADP-MB Based on the above, the suspect could be the issue of 8-bit and 16-bit mode.
Advisable to check whether the program used to M8161.
RS2 directive does not support 8-bit mode, if M8161 is ON in the RS, using 8-bit mode, so written in 16-bit mode in the RS2.