S7-TCP address description
For S7-TCP communication, the module port number is 102; the data addresses are described as follows:
| Communication timeout | |||
| Address | Description | Attribute | |
|
VW704 (Low nibble valid; values above 5 are written as output hold) |
Communication timeout (synchronized with the web page settings): |
R/W |
|
| ISDU configuration area | |||
| Address | Description | Attribute | |
| VW906-VW944 | VW906 | Select the port to configure (select the corresponding port in decimal) | R/W |
| VW908 | ISDU index | R/W | |
| VW910 (bit0–bit7) | ISDU sub-index | R/W | |
| VW910 (bit8–bit15) | Data width (max 32 bytes) | R/W | |
| VW912 (bit0–bit7) | Write (set to 1 to take effect) | R/W | |
| VW912 (bit8–bit15) | Read (set to 1 to take effect) | R/W | |
| VW914-VW944 | IO-Link slave function configuration | R/W | |
| Event query | |||
| Address | Description | Attribute | |
|
VW946-VW948 |
VW946 (bit0–bit7) |
Select the event port number to operate |
R/W |
|
VW946 (bit8–bit15) |
Select master or slave event |
R/W |
|
|
VW948 (bit0–bit7) |
Event index to query (if more than the max number is entered, the last one is read) |
R/W |
|
|
VW948 (bit8–bit15) |
Clear all master-side events of this port (set to 1 to take effect) |
R/W |
|
| Local digital output address | |||
| Address | Description | Attribute | |
|
VW950 |
VW950 (bit0–bit7) |
Local digital output address (C/Q Output-PIN4) |
R/W |
|
VW950 (bit8–bit15) |
Local digital output address (I/Q Output-PIN2) |
||
| IO-Link output address | |||
| Address | Description | Attribute | |
| VW952-VW1952 | IO-Link slave module output data area (arranged in sequence according to the configured output bytes of the slave modules) | R/W | |
| ISDU input address | |||
| Address | Description | Attribute | |
|
VW1954-VW1986 |
VW1954 |
Port status after successful write or read (displays 1 after successful configuration) |
R |
|
VW1956-VW1986 |
Slave function status after write or read |
R |
|
| Event input address | |||
| Address | Description | Attribute | |
|
VW1988-VW1996 |
VW1988 (bit0–bit7) |
Total number of master-side events already present on this port (a maximum of 255 are stored at the same time; when full, the oldest ones are overwritten) |
R |
|
VW1988 (bit8–bit15) |
Power-on count (max 255) |
R |
|
|
VW1990-VW1992 |
Run time after power-on in seconds, cleared on power-down |
R |
|
|
VW1994 |
Indicates the event type 1: single shot 2: disappeared 3: appeared 1: Notification 2: Warning 3: Error |
R |
|
|
VW1996 |
Event code; consult the slave manual for the corresponding description |
R |
|
| Local digital input address | |||
| Address | Description | Attribute | |
| VW1998 | Local digital input address | R | |
| IO-Link input data address | |||
| Address | Description | Attribute | |
| VW2000-VW2254 | IO-Link slave module input data area (arranged in sequence according to the configured input bytes of the slave modules) | R | |
| Diagnostic information | |||
| Address | Description | Attribute | |
|
VW2256-VW2272 |
VW2256 (bit0–bit7) |
Device status: (error overview; see the detailed diagnostic information for the specific ports) Bit0: Short-circuit error (short circuit on master/slave) Bit1: Cascaded module error (a cascaded slave has a module short circuit) Bit 2: station configuration error (total byte count mismatch or port software configuration inconsistent with the hardware configuration) Bit3: Reserved Bit4: Ua undervoltage Bit5: Ua overvoltage Bit6: Us undervoltage Bit7: Us overvoltage |
R |
| VW2256 (bit8–bit15) | Reserved | R | |
|
VW2258 (bit0–bit7) |
IO-Link connection status: (Bit0: Port X01; Bit1: Port X02, and so on) 0: Not connected 1: Connected |
R |
|
|
VW2258 (bit8–bit15) |
Configuration status, including the following cases: (Bit8: Port X01; Bit9: Port X02, and so on) 0: Configuration correct 1: Configuration error
Configuration error self-check: (1) Port configuration bytes are less than the slave attributes (input/output bytes) or the configuration exceeds 32 bytes (2) The configured port model is inconsistent with the actually connected model (including inconsistency between the extension modules configured by extension-capable slaves and the actual modules) (3) Port type inconsistent with the slave type, e.g. Class B type without Ua connected (undervoltage) |
R |
|
|
VW2260 (bit0–bit7) |
Master port Pin1 short circuit: (Bit0: Port X01; Bit1: Port X02, and so on) 0: Normal 1: Short circuit |
R |
|
|
VW2260 (bit8–bit15) |
Master port Pin4 short circuit: (Bit8: Port X01; Bit9: Port X02, and so on) 0: Normal 1: Short circuit |
R |
|
|
VW2262 (bit0–bit7) |
Short circuit in the slave module connected to a master port: (Bit0: Port X01; Bit1: Port X02, and so on) 0: Normal 1: Short circuit |
R |
|
|
VW2262 (bit8–bit15) |
Port slave UA undervoltage: (Bit8: Port X01; Bit9: Port X02, and so on) 0: Normal 1: Undervoltage |
R |
|
|
VW2264 (bit0–bit7) |
Master port PIN2 short circuit: (Bit0: Port X01; Bit1: Port X02, and so on) 0: Normal 1: Short circuit |
R |
|
|
VW2264 (bit8–bit15) |
LED status: (bit8: SF; bit9: BF) 0: Off 1: On |
R |
|
|
VW2266 (bit0–bit7) |
For port X01: Device status (0: Offline, 1: Online): Bit0: Level 1 online status Bit1: Level 2 online status Bit2: Level 3 online status Bit3: Level 4 online status
Short-circuit status (0: Normal, 1: Short circuit): Bit4: Level 1 short-circuit status Bit5: Level 2 short-circuit status Bit6: Level 3 short-circuit status Bit7: Level 4 short-circuit status |
R |
|
|
VW2266 (bit8–bit15) |
For port X02: Device status (0: Offline, 1: Online): Bit0: Level 1 online status Bit1: Level 2 online status Bit2: Level 3 online status Bit3: Level 4 online status
Short-circuit status (0: Normal, 1: Short circuit): Bit4: Level 1 short-circuit status Bit5: Level 2 short-circuit status Bit6: Level 3 short-circuit status Bit7: Level 4 short-circuit status |
R |
|
|
VW2268 (bit0–bit7) |
For port X03: Device status (0: Offline, 1: Online): Bit0: Level 1 online status Bit1: Level 2 online status Bit2: Level 3 online status Bit3: Level 4 online status
Short-circuit status (0: Normal, 1: Short circuit): Bit4: Level 1 short-circuit status Bit5: Level 2 short-circuit status Bit6: Level 3 short-circuit status Bit7: Level 4 short-circuit status |
R |
|
|
VW2268 (bit8–bit15) |
For port X04: Device status (0: Offline, 1: Online): Bit0: Level 1 online status Bit1: Level 2 online status Bit2: Level 3 online status Bit3: Level 4 online status
Short-circuit status (0: Normal, 1: Short circuit): Bit4: Level 1 short-circuit status Bit5: Level 2 short-circuit status Bit6: Level 3 short-circuit status Bit7: Level 4 short-circuit status |
R |
|
|
VW2270 (bit0–bit7) |
For port X05: Device status (0: Offline, 1: Online): Bit0: Level 1 online status Bit1: Level 2 online status Bit2: Level 3 online status Bit3: Level 4 online status
Short-circuit status (0: Normal, 1: Short circuit): Bit4: Level 1 short-circuit status Bit5: Level 2 short-circuit status Bit6: Level 3 short-circuit status Bit7: Level 4 short-circuit status |
R |
|
|
VW2270 (bit8–bit15) |
For port X06: Device status (0: Offline, 1: Online): Bit0: Level 1 online status Bit1: Level 2 online status Bit2: Level 3 online status Bit3: Level 4 online status
Short-circuit status (0: Normal, 1: Short circuit): Bit4: Level 1 short-circuit status Bit5: Level 2 short-circuit status Bit6: Level 3 short-circuit status Bit7: Level 4 short-circuit status |
R |
|
|
VW2272 (bit0–bit7) |
For port X07: Device status (0: Offline, 1: Online): Bit0: Level 1 online status Bit1: Level 2 online status Bit2: Level 3 online status Bit3: Level 4 online status
Short-circuit status (0: Normal, 1: Short circuit): Bit4: Level 1 short-circuit status Bit5: Level 2 short-circuit status Bit6: Level 3 short-circuit status Bit7: Level 4 short-circuit status |
R |
|
|
VW2272 (bit8–bit15) |
For port X08: Device status (0: Offline, 1: Online): Bit0: Level 1 online status Bit1: Level 2 online status Bit2: Level 3 online status Bit3: Level 4 online status
Short-circuit status (0: Normal, 1: Short circuit): Bit4: Level 1 short-circuit status Bit5: Level 2 short-circuit status Bit6: Level 3 short-circuit status Bit7: Level 4 short-circuit status |
R |
|