Configure Ethernet Communication Service (I/O Scanning)
Original instructions
Introduction
The Modicon BMX NOE 01x0 modules support Ethernet communication services (such as I/O scanning, global data, Modbus messaging, SNMP, etc.).
I/O Scanning Service
This example shows you how to configure one service, I/O scanning. Use this service to:
Accessing I/O Scanning
Configure the I/O scanning service with the Control Expert software:
Step
Action
1
Open your application using the BMX NOE 01x0 in Control Expert.
2
In the Project browser, locate the Communication\Networks sub directory.
3
Click the Ethernet module (BMX NOE 01x0 in our example) to open the Ethernet module configuration screen.
4
Select Yes in the Module Utilities menu:
5
Select the IO Scanning tab to open the I/O scanning configuration screen.
6
Enter the parameter settings under each of the column headings for one line of the I/O Scanner Configuration. Refer to I/O Scanning Parameters (below) to see the settings used for this example.
7
Click the validate check box in the upper tool bar to confirm the I/O scanning parameter settings:
I/O Scanner Parameters above I/O Scanner Table
A description of the parameters above the I/O scanning table used in the example are listed in the following table:
Parameter
Field
Description
Read Ref.
From and to data boxes
The values in these boxes define the range of destination address values in the CPU for the data read from each device. The addresses you enter here are displayed in the RD Master Object column of the dialog. In the example above, the Read Ref. values range from 0 to 599; notice that these values are displayed as %MW0, %MW599, etc. in the Master Object column.
Write Ref.
From and to data boxes
The values in these boxes define the range of source address values in the CPU. The address you enter here is displayed in the WR Master Object column. In the example above, values starting at %MW2000 are shown in the WR Master Object column.
Repetitive Rate Step
data box
The Repetitive Rate Step is set in multiples of 5 ms (the minimum) through 200 ms (the maximum).
The Repetitive Rate column is where you enter a rate of time for how often you want the I/O scanner to send a query to the device after the rate has timed out.
NOTE: The Repetitive Rate of the I/O scanner table is a multiple of the rate displayed in the Repetitive Rate Step. The real repetitive rate being executed by the I/O scanner service is shown in the Repetitive Rate column.
Note: An entry in the Repetitive Rate column is rounded up to the next multiple that was entered in the Repetitive Rate Step box if the entry is not a multiple of the Repetitive Rate Step.
For example, if the entry in the Repetitive Rate Step is 5 and you enter a 7 in the Repetitive Rate column, the 7 is rounded up to 10; if you change the Repetitive Rate Step to 6 and enter a 7 in the Repetitive Rate column, the 7 is rounded up to 12.
I/O Scanner Table Parameters
A description of the parameters in the I/O scanning table used in the example are listed in the following table:
Parameter
Description
Example
Entry #
This is the first column; it has no name.
Valid range: 1 ... 64
Each entry represents an I/O Scanning exchange on the network.
IP Address
This is the IP address of the scanned Ethernet slave device.
192.168.1.100
Device Name
To configure a device (Advantys island or DTM), click the ... button to open the Property box to start the device configuration software.
For an introduction to this procedure for Advantys, go here.
For an introduction to this procedure for DTMs, go FDT Container.
NOTE: While the Property box is open, I/O scanning cannot be edited.
MySTB1 or Master_PRM_DTM_10
Unit ID
This field associates the slave address of the device connected to an Ethernet/Modbus gateway with the IP address of that gateway:
  • Value range: 1 to 255
  • Default value: 255
When using a bridge, enter the bridge index (1 to 255) in this field.
255
Slave Syntax
Use this drop-down menu to pick the way RD Ref Slave and WR Ref Slave values are displayed. There are 4 types of display available:
  • Index: 100
  • Modbus: 400101
    • (Modbus register)
  • IEC 0: %MW100
    • M340 and Premium PLC slaves
  • IEC 1: %MW101
    • Ouantum PLC slaves
Index (default value)
Health Timeout (ms)
This field sets the maximum interval between the responses from a remote device. After this time period expires, the received data is invalid. The Health Timeout must be longer than the Repetitive Rate time (ms). For a BMX NOE Ethernet module, it also should be longer than the CPU scan time.
  • Range: 1ms to 50 s
  • Interval: 1ms
1500ms
Repetitive rate (ms)
The rate at which data is scanned, from 0...60000 in multiples of the Repetitive Rate Step.
60 ms
RD Master Object*
Destination address in the master PLC where, from each device, newly read information is stored.
This parameter cannot be accessed. It is calculated automatically as the sum of:
  • The From address (beginning) of Read ref. (in the zone above the table)
  • The RD length value (in the table below)
%mw10
RD Slave Ref.**
Source address index in the slave/remote device
The format of this value depends on the Slave Syntax:
  • Index: 5
  • Modbus: 400006
  • IEC 0: %MW5
  • IEC 1: %MW6
RD length
Number of words to read
10
Last value (Input)
This field configures the behavior of inputs in the event of an access error in relation to the remote device (for example: inoperative network or device power supply, etc.):
  • Set to 0: fall back to 0
  • Hold last: maintain last value
Hold last
WR Master Object*
Source address of the master PLC whose data is being written into the slave/remote device.
This parameter cannot be accessed. It id calculated automatically as the sum of:
  • The From address (beginning) of Write ref. (in the zone above the table)
  • The WR length value (in the table below)
Write operations are always performed at the word level.
%mw20
WR Slave Ref.**
The address of the first word written into the slave/remote device.
The format of this value depends on the Slave Syntax:
  • Index: 1
  • Modbus: 400002
  • IEC 0: %MW1
  • IEC 1: %MW2
WR length
Number of words to be written
10
Description
Additional information
*Master refers to the client PLC that makes the request.
**Slave refers to the server from which data is read or to which data is written.
NOTE: Refer to Information about I/O Scanning with Multiple Lines.
NOTE: Refer to Information about the I/O Scanning table Contextual Menu for Copy/Cut/Paste.