Data Exchange Between Master And Plc Function (Cpu); Example Of Modbus/Tcp Master And Plc Function (Cpu) - WAGO -I/O-SYSTEM 750 Manual

Hide thumbs Also See for WAGO-I/O-SYSTEM 750:
Table of Contents

Advertisement

100 Function Description
7.3.6

Data Exchange between Master and PLC Function (CPU)

The fieldbus master and the PLC function (CPU) of the PFC have different
perspectives on data.
Variable data generated by the master are routed as input variables to the PFC,
where they are further processed.
Data created in the PFC are transmitted via fieldbus to the master as output
variables.
In the PFC, access to the MODBUS/TCP PFC variable data is possible starting
from word address 256 to 511 (double-word address 128-255, byte address 512-
1023), while access to the PFC variable data is possible starting from a word
address of 1276 to 1531 (double-word address 638-765, byte address 2552-
3063).
7.3.6.1

Example of MODBUS/TCP Master and PLC Function (CPU)

Data access by the MODBUS/TCP Master
Access to data by the MODBUS Master is always either by word or by bit.
Addressing of the first 256 data words by the I/O modules begins with word-by-
word and bit-by-bit access at 0.
Addressing of the data by the variables begins at 256 for word-based access;
bit-by-bit access then takes place starting at:
4096 for bit 0 in word 256
4097 for bit 1 in word 256
...
8191 for bit 15 in word 511.
The bit number can be determined using the following equation:
Example: 4097
Data Access by PLC Function (CPU)
The PLC function of the PFC employs a different type of addressing for
accessing the same data. PLC addressing is identical with word-by-word
addressing by the MODBUS Master for the declaration of 16-bit variables.
However, a different notation is used for declaration of Boolean variables (1 bit)
than that used by MODBUS. Here, the bit address is composed of the elements
word address and bit number in the word, separated by a decimal point.
Manual
1.5.0
750-882 Media Redundancy ETHERNET Controller
Bit No. = (word * 16) + Bit No. in word
= ( 256 * 16) + 1
WAGO-I/O-SYSTEM 750

Advertisement

Table of Contents
loading

This manual is also suitable for:

750-882

Table of Contents