In my flat network topology, my PLCs can address DHCP of modules of other PLCs.
In order to get rid of this issue, the feature DHCP L2 Relay activated and well configured can solve it.
The steps are :
1- Enable the DHCP L2 Relay feature
2- Activate it on the ports where you have you PLCs connected