IO Scanning Service
(Original Document)
At a Glance
The IO scanner makes it possible to periodically read or write to/from remote inputs/ouputs on the Ethernet network, without requiring any specific programming.
This service comprises the following essential elements:
How it Works
The scan will only be performed if the PLC is in Run mode.
This service works with all devices supporting Modbus communication on the TCP/IP profile in server mode.
The exchange mechanism, which is transparent for users, involves:
The following diagram shows how scanning of remote inputs/outputs works.
  1. As soon as the PLC goes into Run mode, the module opens one connection per scanned device.
  2. The module then periodically reads the input words and periodically writes the output words of each device.
  3. If the PLC goes into Stop mode, the connections with each device are closed.
Summary of Functions
The functions of the IO scanning service are to:
NOTE: The status bits indicate whether the input/output words of the module have been refreshed.