I/O Scanner Concepts
Original instructions
Introduction
An I/O Scanner resides in the TSX ETY 4103/5103 Ethernet modules and in the TSX P57 6634/5634/4634 CPUs. It transfers data between network devices and allows a CPU to regularly read data from and write data to scanned devices. The I/O Scanner needs to be configured with Control Expert.
I/O Scan List
An I/O scan list is a configuration table that identifies the targets with which repetitive communication is authorized. While the CPU is running, the Ethernet module transfers data to and from the CPU’s registers as dictated by the I/O scan list.
I/O Scanner Parameters
Parameter
Value
Max. Number of Devices
64: TSX ETY 4103/5103
64: TSX P57 1634/2634/3634 (ETY PORT)
128: TSX P57 6634/5634/4634 CPUs
Max. Number of Input Words
4096 for TSX P57 6634/5634/4634 CPUs
2048 for ETY modules and ETY port CPUs
Max. Number of Output Words
4096 for TSX P57 6634/5634/4634 CPUs
2048 for ETY modules and ETY port CPUs
Health Timeout Value
User configurable (from 1...50000 ms)
Note: The healthbits for Premium modules and CPUs are located in the IODDTs.
Last Value (Input)
User configurable (go to 0 or hold last value)
IP Address
User configurable
IP address of scanned device (Slave IP)
Local and Remote Register Reference
User configurable
Repetitive Rate
User configurable
Unit ID
User configurable—only when you are using a bridge
Operation through a bridge
Modbus bridge supported
Modbus Plus bridge supported
Use the I/O Scanner configuration dialog in Control Expert to set the scanner’s operating parameters.
Using the I/O Scanner across a Network Router
The I/O Scanner can scan devices through an IP router with a TTL of 32.
Device Control Block
The device control block is a block of registers that supports either 8 words or 4 double words. The content of the registers is mapped in the CPU’s memory. Each bit corresponds to an entry in the table.
Each I/O Scanner device can be disabled. To disable an individual scanner device:
Step
Action
1
Select the Device Control Block option in the I/O Scanner configuration dialog.
2
Put a check mark in the box.
3
Set the associated bit to 1. For example, %MD2:4
NOTE: A value of 0 in the device control block bit enables the device. A value of 1 in the device control block bit disables the device.
This table shows how the device control block bits are mapped to I/O Scanner entries:
Word
1
Table Entry #
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
2
Table Entry #
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Word 3 through Word 7
8
Table Entry #
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0