Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
45
Добавлен:
11.10.2020
Размер:
3.2 Mб
Скачать

66 • Fieldbus Controller 750-841

Data Exchange

3.1.5.2 Addressing

3.1.5.2.1 Addressing the I/O Modules

The arrangement of the I/O modules in a node is flexible and up to the user. Although, the user must verify that the power jumper contacts from one I/O module to the next are compatible and at the same voltage level.

When the controller addresses I/O modules, data of complex modules (modules occupying 1 or more bytes) are mapped first. They are mapped in the order of their physical position after the controller. As such, they occupy the addresses beginning with word 0. Following this, the digital modules are grouped in the form of words (16 bits per word). They are also arranged by their physical order. When the number of digital I/O’s exceeds 16 bits, the controller automatically starts another word.

Note

For detailed information on the number of input and output bits/bytes of a specific module, please refer to the modules manual.

Note

Changing the physical layout of a node will result in a new structure of the process image. Also, the addresses of the process data will change. When adding or removing modules, the process data must be verified.

Data width ≥ 1 Word / channel

Data width = 1 Bit / channel

Analog input modules

Digital input modules

Analog output modules

Digital output modules

Input modules for thermal elements

Digital output modules with diagnosis (2 Bit / channel)

Input modules for resistance sensors

Power supply modules with fuse holder / diagnosis

Pulse width output modules

Solid State power relay

Interface module

Relay output modules

Up/down counter

 

I/O modules for angle and path measurement

 

Table 3.1: I/O Module Data Width

3.1.5.2.2 Address Range

Partition of Address ranges for the word-wise addressing acc. to IEC 61131-3 :

Word

Data

0-255

physical I/O modules

 

 

256-511

MODBUS/TCP PFC variables

 

 

512-1275

remaining physical I/O modules

 

 

1276-1531

Ethernet/IP PFC variables

 

 

1532-.....

reserved for PFC variables of future protocols

 

 

WAGO-I/O-SYSTEM 750 ETHERNET TCP/IP

Fieldbus Controller 750-841 67

Data Exchange

Word 0-255: First address range I/O module data:

Data

Address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

0.0 ...

0.8...

1.0 ...

1.8...

.....

254.0 ...

254.8...

255.0 ...

255.8...

 

0.7

0.15

1.7

1.15

 

254.7

254.15

255.7

255.15

 

Byte

0

1

2

3

.....

508

509

510

511

 

 

 

 

 

 

 

 

 

 

 

Word

0

 

1

 

.....

254

 

255

 

 

 

 

 

 

 

 

 

 

 

 

DWord

0

 

 

 

.....

127

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table. 32: First Address Range for the I/O Module Data

Word 256-511: Address range for MODBUS/TCP fieldbus data:

Data

Address

 

 

 

 

 

 

 

 

Bit

256.0

256.8

257.0

257.8

.....

510.0

510.8

511.0

511.8

 

...

...

...

...

 

...

...

...

...

 

 

 

 

 

256.7

256.15

257.7

257.15

 

510.7

510.15

511.7

511.15

 

Byte

512

513

514

515

.....

1020

1021

1022

1023

 

 

 

 

 

 

 

 

 

 

 

Word

256

 

257

 

.....

510

 

511

 

 

 

 

 

 

 

 

 

 

 

 

DWord

128

 

 

 

.....

255

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 3.3: Address Range for the MODBUS/TCP Fieldbus Data

Word 512-1275: Second address range I/O module data:

Data

Address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

512.0.

512.8...

513.0 ..

513.8...

.....

1274.0..

1274.8..

1275.0 ...

1275.8...

 

512.7

512.15

513.7

513.15

 

1274.7

1274.15

1275.7

1275.15

 

Byte

1024

1025

1026

1027

.....

2548

2549

2550

2551

 

 

 

 

 

 

 

 

 

 

 

Word

512

 

513

 

.....

1274

 

1275

 

 

 

 

 

 

 

 

 

 

 

 

DWord

256

 

 

 

.....

637

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 3.4: Second Address Range for the I/O Module Data

Word 1276-1531: Address range for Ethernet/IP fieldbus data:

Data

Address

 

 

 

 

 

 

 

 

Bit

1276.0

1276.8

1277.0

1277.8

 

1530.0

1530.8

1531.0

1531.8

 

...

...

...

...

...

...

...

...

...

 

 

 

 

1276.7

1276.15

1277.7

1277.15

 

1530.7

1530.15

1531.7

1531.15

 

Byte

2552

2553

2554

2555

...

3060

3061

3062

3063

 

Word

1276

 

1277

 

...

1530

 

1531

 

 

DWord

638

 

 

 

...

765

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 3.5: Address Range for the Ethernet IP Fieldbus Data

Address range for flags (Retain Variables):

Data

Address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

0.0 ...

0.8...

1.0...

1.8...

.....

12287.0..

12287.8..

12288.0 ...

12288.8...

 

0.7

0.15

1.7

1.15

 

12287.7

12287.15

12288.7

12288.15

 

Byte

0

1

2

3

.....

24572

24573

24574

24575

 

 

 

 

 

 

 

 

 

 

 

Word

0

 

1

 

.....

12287

 

12288

 

 

 

 

 

 

 

 

 

 

 

 

DWord

0

 

 

 

.....

6144

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 3.6: Address Range for Flags (Retain Variables)

WAGO-I/O-SYSTEM 750

ETHERNET TCP/IP

68 • Fieldbus Controller 750-841

Data Exchange

Overview of the IEC 61131-3 address ranges:

Address range

MODBUS

SPS

Description

 

 

Access

Access

 

 

phys. Inputs

read

read

Physical Inputs

(%IW0 ... %IW255 and

 

 

 

 

%IW512 ... %IW1275)

phys. Outputs

read/write

read/write

Physical Outputs

(%QW0 ... %QW255 and

 

 

 

 

%QW512 ... %QW1275)

MODBUS/TCP

read/write

read

Volatile SPS Input variables (%IW256 ... %IW511)

PFC IN variables

 

 

 

 

MODBUS/TCP

read

read/write

Volatile SPS Output variables (%QW256 ... %QW511)

PFC OUT variables

 

 

 

 

Ethernet/IP

read/write

read

Volatile SPS Input variables (%IW1276 ... %IW1531)

PFC IN variables

 

 

 

 

Ethernet/IP

read

read/write

Volatile SPS Output variables (%QW1276 ... %QW1531)

PFC OUT variables

 

 

 

 

Configuration register

read/write

---

see Chapter „Ethernet“

 

 

 

 

Firmware register

read

---

see Chapter „Ethernet“

Flags/RETAIN

read/write

read/write

Remanent memory (%MW0 ... %MW12288)

variables

 

 

 

 

Table 3.7: Overview IEC 61131-3 Address ranges

3.1.5.2.3 Absolute Addresses

Accessing individual memory cells (absolute addresses) in accordance with IEC 61131-3 is made using special character defined in the table below:

Position

Character

Designation

Comments

1

%

Starts absolute address

 

2

I

Input

 

 

Q

Output

 

 

M

Flag

 

3

X*

Single bit

Data width

 

B

Byte (8 Bits)

 

 

W

Word (16 Bits)

 

 

D

Double word (32 Bits)

 

4

 

Address

 

e. g. word wise: %QW27 (28. Word), bit wise: %IX1.9 (10. Bit in Word 2)

* The character ‘X’ for bits can be deleted

Table 3.8: Absolute Addresses

Note

Enter the absolute address character strings without blanks (white spaces)!

WAGO-I/O-SYSTEM 750 ETHERNET TCP/IP

Соседние файлы в папке 750-841