Configuring the Quantum I/O Scanner
Original instructions
The I/O Scanner Configuration Dialog
When you click the I/O Scanning tab in the Ethernet module configuration screen, the I/O Scanner screen opens:
NOTE: This screen shows I/O Scanner services for an 140 NOE 771 01 or -11 module. The I/O Scanner screen is slightly different for the CPU 651 x0 module, which does not display a Health Block field.
Health Block
The Health Block field (number 1 in previous figure) lets you define the first word or bit in a health table. That table can be up to 8 words (%IW) or 128 bits (%I) in length. Each bit in the table represents the status of an individual device. The following table shows how the bits are displayed based on the data type you use:
Bit
Data Type
%I
%IW
1
%I1
%IW1.15
2
%I 2
%IW1.14
...
16
%I16
%IW1.0
17
%I17
%IW2.15
By default, the table comprises words starting at %IW1.0. If you want to set the table to bits, you need to specify a %I value in an increment of 16 (%I1, %I16, %I32, etc.).
NOTE: The Health Block field is available only for the NOE 771 00, -01, and -11. It is not available for the CPU 651 x0.
NOTE: For Safety Monitor applications, the Health Block is mapped on %M/%MW from the UMA zone instead of %I/%IW.
Device Control Block
The Device Control Block (number 2 in previous figure) lets you disable any scanned device by setting a bit associated with that device to 1. The I/O scanner closes the connection and sets the Health Bit to 0 (unhealthy state).
To enable the Device Control Block, select the check box in the I/O Scanner configuration dialog (item 2 in previous figure).
NOTE: To enable the Device Control Block, use:
  • Control Expert at V2.0 or later
  • an 140 NOE 771 01 or 140 NOE 771 11 at version 3.5 or later
  • a 140 CPU 651 x0 at version 2.0 or later
If you attempt to enable the Device Control Block with an earlier version of the firmware, the I/O scanning service is disabled.
If the check box is not selected, the I/O scanner service is enabled, and you cannot disable the I/O scanning of individual devices.
Disabling I/O scanning with the Device Control Block is equivalent to ending communication between the scanner and the device.
Therefore:
  • The fallback positions are applied to the inputs by the scanner.
  • Communication with the device stops.
  • All entries in the IN and OUT tables still transfer between the CPU and the scanner on each scan.
As a consequence of the last point above, if you modify a %MWi attached to an input, this %MWi is overwritten by the values coming from the I/O scanner in the next scan (with either 0 or the last input value).
It is possible (but meaningless) to access %MW attached to the outputs because they are not transmitted to the device.
Repetitive Rate Step
The Repetitive Rate Step (number 3 in previous figure) 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 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
The I/O Scanner parameters are described in the table below:
Parameter
Description
Example
Entry #
This is the first column; it has no name.
Valid range: 1 ... 128
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 to 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
NOTE:
  • When using a bridge, enter the bridge index (1 to 255) in this field.
  • If you are copying the I/O scanning configuration from a 140 NOE 771 •• to a 140 NOC 771 ••, set the Unit ID to a value from 1 to 254.
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
    • Quantum 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 should be longer than the Repetitive rate time (ms).
For a Quantum NOE Ethernet module, it also should be longer than the CPU scan time.
For the Health Timeout:
  • Range: 0ms to 65535 ms
  • Interval: 1ms
1500 ms
Repetitive rate (ms)
The rate at which data is scanned, from 0...65535 in multiples of the Repetitive Rate Step:
  • If you are running Unity Pro V3.1 or earlier with the following firmware versions:
    • 140 NOE (V4.0 or earlier): 16 ms
    • CPU (V2.5 or lower): 10 ms
  • If you are running Unity Pro V4.0 or later with the following firmware versions:
    • 140 NOE (V4.3 or later): 5 - 200 ms
    • CPU (V2.6 or later): 5 - 200 ms
NOTE: Unity Pro is the former name of Control Expert for version 13.1 or earlier.
60 ms
RD Master Object*
Destination address in the master PLC where, from each device, newly read information is stored
%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
NOTE: When you select hold last in a 140 CPU 651 •0 coprocessor, the input data may fall back to 0 when the I/O scanner health bits are NOT OKAY. Confirm that the I/O scanner health bits are valid (OK=1) before removing the Ethernet cable to maintain hold last value.
WR Master Object*
Source address of the master PLC whose data is being written into the slave/remote device.
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
Gateway/Bridge Device
To allow slower TCP/IP network devices (i.e., gateways and bridges) to be compatible with the I/O Scanner:
  • Select the check box to enable this feature. Defines a new bit, and sets it to high (1).
  • De-select the check box to disable this feature (default). Defines a new bit, and sets it to zero (0).
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: For more information, refer to the Contextual Menu for Copy/Cut/Paste topic.
NOTE: For more information, refer to the I/O Scanning with Multiple Lines topic.