Excellent @Mkit that is working!
In order to check if you have a problem with a device on IOScanner you need to check the System objects IOScanner status.
Depend on the IOscanner selected it start with:
- %IWNS(100+x) for SL1, or
- %IWNS(200+x) for SL2,
- %IWNS(300+x) for ETH1
In your case your device over modbus serial will be %IWNS10x.
The value of that variable will give you the status:
- 0: Device not scanned
- 1:Device is being initialized by Modbus IOScanner (Initialization request of device being sent).
- 2:Device is present and ready to be scanned (initialization requests sent, if any).
- 3:Device not scanned correctly due to a communication error detected on a channel of the device.
- 4:Device not initialized correctly due to a communication error detected during initialization request of the device.
- 5:Device not correctly identified because the vendor name or product code returned by the device does not match the expected values.
- 6:Communication error occurred during identification and initialization. Possible reasons are: incommunicative or absent device, incorrect communication parameters, or unsupported Modbus function.
In the next example I am using the ethernet that's why it start with %IWNS30x but it is the same, you just need to check the status:

In this example the first device on the IOscanner is disconnected from the network so the status is 6. The second device is connected to the M241 and it is working fine, the status is 2.
If this solves the problem remember to mark this coments as part of the solution for this 😊.
Best regards,
LeTomas