- •Important Comments
- •Legal Principles
- •Copyright
- •Personnel Qualification
- •Intended Use
- •Symbols
- •Font Conventions
- •Number Notation
- •Scope
- •Important Comments for Starting up
- •Abbreviation
- •The WAGO-I/O-SYSTEM 750
- •Technical Data
- •Manufacturing Number
- •Storage, Assembly and Transport
- •Mechanical Setup
- •Installation Position
- •Total Expansion
- •Assembly onto Carrier Rail
- •Carrier rail properties
- •WAGO DIN Rail
- •Spacing
- •Plugging and Removal of the Components
- •Assembly Sequence
- •Internal Bus / Data Contacts
- •Power Contacts
- •Wire connection
- •Power Supply
- •Isolation
- •System Supply
- •Connection
- •Alignment
- •Field Supply
- •Connection
- •Fusing
- •Supplementary power supply regulations
- •Supply example
- •Power Supply Unit
- •Grounding
- •Grounding the DIN Rail
- •Framework Assembly
- •Insulated Assembly
- •Grounding Function
- •Grounding Protection
- •Shielding (Screening)
- •General
- •Bus Conductors
- •Signal Conductors
- •WAGO Shield (Screen) Connecting System
- •Assembly Guidelines / Standards
- •Fieldbus Controller
- •Fieldbus Controller 750-841
- •Description
- •Hardware
- •View
- •Device Supply
- •Fieldbus Connection
- •Display Elements
- •Configuration and Programming Interface
- •Operating Mode Switch
- •Hardware Address (MAC-ID)
- •Operating System
- •Start-up
- •PLC Cycle
- •Process Image
- •Example of a Process Input Image
- •Example of a Process Output Image
- •Fieldbus specific Process Data Architecture for MODBUS/TCP
- •Digital Input Modules
- •Digital Output Modules
- •Analog Input Modules
- •Analog Output Modules
- •Specialty Modules
- •Data Exchange
- •Memory Areas
- •Addressing
- •Addressing the I/O Modules
- •Address Range
- •Absolute Addresses
- •Data Exchange between MODBUS TCP Master and I/O Modules
- •Data Exchange between Ethernet IP Master and I/O Modules
- •Data Exchange between PLC Functionality (CPU) and I/O Modules
- •Data Exchange between Master and PLC Functionality (CPU)
- •Example MODBUS TCP Master and PLC functionality (CPU)
- •Comparison of MODBUS TCP Addresses and IEC 61131-3 Addresses
- •Starting up an ETHERNET TCP/IP fieldbus node
- •Connecting PC and Fieldbus Node
- •Determining IP Addresses
- •Allocating the IP Address to the Fieldbus Node
- •Testing the Function of the Fieldbus Node
- •Deactivating the BootP Protocol
- •Programming the PFC with WAGO-I/O-PRO CAA
- •WAGO-I/O-PRO CAA library elements for ETHERNET
- •IEC 61131-3-Program transfer
- •Transmission via the Serial Interface
- •Transmission by the Fieldbus
- •Information on the web-based management system
- •LED Display
- •Blink code
- •Fieldbus status
- •Node status
- •Fault Message via Blink Code from the I/O-LED
- •Supply voltage status
- •Fault behavior
- •Fieldbus failure
- •Internal bus fault
- •Technical Data
- •I/O Modules
- •General
- •Digital Input Modules
- •Digital Output Modules
- •Analog Intput Modules
- •Analog Output Modules
- •Counter Modules
- •ETHERNET
- •General
- •Network Architecture – Principles and Regulations
- •Transmission Media
- •Network Topologies
- •Coupler Modules
- •Important Terms
- •Network Communication
- •Protocol layer model
- •Communication Protocols
- •ETHERNET
- •Channel access method
- •IP-Protocol
- •IP Multicast
- •TCP Protocol
- •Application Protocols
- •MODBUS
- •Ethernet/IP
- •BootP (Bootstrap Protocol)
- •HTTP (HyperText Transfer Protocol)
- •DHCP (Dynamic Host Configuration Protocol)
- •DNS (Domain Name Systems)
- •SNTP-Client (Simple Network Time Protocol)
- •FTP-Server (File Transfer Protocol)
- •SNMP V1 (Simple Network Management Protocol)
- •Configuration of SNMP
- •Description of MIB II
- •IpNetToMediaTable
- •Traps
- •SMTP (Simple Mail Transfer Protocol)
- •MODBUS Functions
- •General
- •Use of the MODBUS Functions
- •Description of the MODBUS Functions
- •Function Code FC1 (Read Coils)
- •Function Code FC2 (Read Input Discretes)
- •Function Code FC3 (Read multiple registers)
- •Function code FC4 (Read input registers)
- •Function Code FC5 (Write Coil)
- •Function Code FC6 (Write single register)
- •Function Code FC11 (Get comm event counter)
- •Function Code FC15 (Force Multiple Coils)
- •Function Code FC16 (Write multiple registers)
- •Function Code FC22 (Mask Write Register)
- •Function Code FC23 (Read/Write multiple registers)
- •MODBUS Register Mapping
- •Internal Variables
- •Description of the internal variables
- •Watchdog (Fieldbus failure)
- •Watchdog Register:
- •Diagnostic Functions
- •Configuration Functions
- •Firmware Information
- •Constant Registers
- •Ethernet/IP (Ethernet/Industrial Protocol)
- •General
- •Characteristics of the Ethernet/IP Protocol Software
- •Object model
- •General
- •Classes
- •CIP Common Classes
- •Static Assembly Instances
- •Application examples
- •Test of MODBUS protocol and fieldbus nodes
- •Visualization and control using SCADA software
- •Use in Hazardous Environments
- •Foreword
- •Protective measures
- •Classification meeting CENELEC and IEC
- •Divisions
- •Explosion protection group
- •Unit categories
- •Temperature classes
- •Types of ignition protection
- •Classifications meeting the NEC 500
- •Divisions
- •Explosion protection groups
- •Temperature classes
- •Identification
- •For Europe
- •For America
- •Installation regulations
Fieldbus Controller 750-841 • 63
Data Exchange
3.1.5 Data Exchange
The ETHERNET TCP/IP fieldbus controller can be configured for either
MODBUS/TCP or the Ethernet IP protocol.
MODBUS/TCP works according to the master/ model. The master (e.g., a PC or a PLC) will query a slave device and the slave will return a response to the master depending on the kind of query. Queries are addressed to a specific node through the use of the IP address.
Typically, the ETHERNET TCP/IP controller of the WAGO-I/O-SYSTEM is a slave device. But, with the use of the WAGO-I/O-PRO CAA programming tool, the PFC can additionally perform master functions.
A controller is able to produce a defined number of simultaneous socket connections to other network subscribers:
•3 connections for HTTP (read HTML pages from the controller),
•5 connections via MODBUS/TCP (read or write input and output data from the controller),
•128 Ethernet IP connections,
•2 connections via the PFC (available for IEC 61131-3 application programs)
•2 connections for WAGO-I/O-PRO CAA (these connections are reserved for debugging the application program via ETHERNET.
For debugging, WAGO-I/O-PRO CAA requires 2 connections at the same time. However, only one programming tool can have access to the controller.
The maximum number of simultaneous connections may not be exceeded. If you wish to establish further connections, terminate an existing connection first. For data exchange, the ETHERNET TCP/IP fieldbus controller uses three main interfaces:
•interface to the fieldbus (master),
•the PLC functionality of the PFCs (CPU) and
•the interface to the I/O Modules.
Data exchange takes place between the fieldbus master and the I/O modules, between the PLC functionality of the controller and the I/O modules as well as between the fieldbus master and the PLC functionality of the controller. Currently, the 750-841 supports MODBUS/TCP and ETHERNET IP based master devices. When the controller performs PLC functions, and controls various I/O modules, this is done with the use of an IEC 61131-3 application program, whereby the data addressing is different than the fieldbus addressing.
WAGO-I/O-SYSTEM 750 ETHERNET TCP/IP
64 • Fieldbus Controller 750-841
Data Exchange
3.1.5.1 Memory Areas
fieldbus master
Programmable Fieldbus Controller
memory area for input data
word 0 |
1 |
input modules
word 255
word 256
MODBUS PFC-IN- 3
variables word 511
word 512 |
I/O modules |
|
input |
||
|
||
modules 1 |
|
word 1275
word 1276
Ethernet IP PFC-IN- 1
variables
word 1531 IEC 61131-
program
memory area |
CPU |
|
|
for output data |
|
|
|
word 0 |
12 |
|
|
output |
|
|
|
modules |
|
|
|
word 255 |
|
|
|
word 256 |
|
|
|
MODBUS |
|
|
|
PFC-OUT- |
4 |
|
|
variables |
|
|
|
word 511 |
|
I |
O |
word 512 |
|
||
|
|
|
|
output |
|
|
|
modules |
2 |
|
|
word 1275 |
|
|
|
word 1276 |
|
|
|
Ethernet IP |
|
|
|
PFC-OUT- |
4 |
|
|
variables |
|
|
|
word 1531 |
|
|
|
Fig. 3-8: Memory Areas and Data Exchange for a Fieldbus Controller |
g015038e |
The PFC‘s process image contains the physical data of the I/O modules in memory words 0 to 255 and 512 to 1275.
(1)Reading data of the input modules is possible from both the controller’s CPU and from the fieldbus master (See Figure 3-8).
(2)In the same manner, writing data to output modules is possible from both the controller’s CPU and from the fieldbus master.
The controller’s process image also contains variables called “PFC Variables”. These variables are allocated based on the fieldbus protocols. The MODBUS TCP PFC variables are stored in memory from word 256 to 511. Ethernet IP PFC variables are stored in memory from word 1276 to 1531. The memory area above word 1531 is reserved for future protocols.
WAGO-I/O-SYSTEM 750 ETHERNET TCP/IP
Fieldbus Controller 750-841 • 65
Data Exchange
(3)The PFC input variables are written into the input memory space from the fieldbus master and can be read by the controller’s CPU for further processing.
(4)The variables processed by the controller’s CPU , via an IEC 61131-3 application program, can be written to the PFC Variables and then read by the fieldbus master.
In addition, with the MODBUS TCP/IP protocol, all output data has a mirrored image in memory with the address offset 0x0200 or 0x1000. This permits reading back output values after they are written by adding 0x0200 or 0x1000 to the MODBUS address.
In addition, the controller offers other memory spaces which partly cannot be accessed from the fieldbus master:
RAM The RAM memory is used to create variables not required for communication with the interfaces but for internal processing, such as for instance computation of results.
Remanent The remanent memory is non volatile memory, i.e. all values are Memory retained following a voltage failure. The memory management is
automatic. In this 24 kByte sized memory area (word 0 ...
(Retain) 12288), flags for the IEC 61131-3 program are filed together with variables without memory space addressing or variables which are explicitly defined with "var retain".
Note
The automatic memory management can cause a data overlap. For this reason, we recommend not to use a mix of flags and retain variables.
Code- The IEC 61131-3 program is filed in the code memory. The code Memory memory is a flash ROM. Once the supply voltage is applied, the program is transmitted from the flash to the RAM memory. After
a successful start-up, the PFC cycle starts when the operating mode switch is turned to its upper position or by a start command from WAGO-I/O-PRO CAA.
WAGO-I/O-SYSTEM 750 ETHERNET TCP/IP
