Modbus Serial IOScanner. Schneider Electric Modicon M258
Publicitate
Publicitate
Serial Line Configuration
Modbus Serial IOScanner
Introduction
The Modbus IOScanner is used to simplify exchanges with Modbus slave devices.
Add a Modbus IOScanner
To add a Modbus IOScanner on a Serial Line, select the Modbus IOScanner in the Hardware
Catalog, drag it to the Devices tree, and drop it on one of the highlighted nodes.
For more information on adding a device to your project, refer to:
• Using the Drag-and-drop Method
• Using the Contextual Menu or Plus Button
Modbus IOScanner Configuration
To configure a Modbus IOScanner on a Serial Line, double-click Modbus IOScanner in the Devices tree.
The configuration window is displayed as below:
222
Set the parameters as described in this table:
Element
Transmission
Mode
Description
Specifies the transmission mode to use:
RTU: uses binary coding and CRC error-checking (8 data bits)
ASCII: messages are in ASCII format, LRC error-checking (7 data bits)
Set this parameter identical for each Modbus device on the network.
Timeout used in the exchanges.
Response Timeout
(ms)
Time between
Frames (ms)
Delay to reduce data collision on the bus.
Set this parameter identical for each Modbus device on the network.
NOTE: Do not use function blocks of the PLCCommunication library on a serial line with a Modbus
IOScanner configured. This disrupts the Modbus IOScanner exchange.
EIO0000004135 09/2020
Serial Line Configuration
Bus Cycle Task Selection
The Modbus IOScanner and the devices exchange data at each cycle of the chosen application task.
To select this task, select the Modbus Master IO Mapping tab. The configuration window is displayed as below:
The Bus cycle task parameter allows you to select the application task that manages the scanner:
Use parent bus cycle setting: associate the scanner with the application task that manages the
controller.
MAST: associate the scanner with the MAST task.
Another existing task: you can select an existing task and associate it to the scanner. For more information about the application tasks, refer to the EcoStruxure Machine Expert - Programming
Guide.
The scan time of the task associated with the scanner must be less than 500 ms.
EIO0000004135 09/2020
223
Descarcă
Publicitate