
WAGO-I/O-SYSTEM 750
Table of Contents
5
758-874/000-131 WAGO-I/O-IPC-C6
Manual
Version 1.0.0
10.2.1 Register
Services ................................................................................ 93
10.2.2 Bit
Services......................................................................................... 94
10.3 Configuration
Tab ................................................................................... 95
11
CoDeSys 2.3 Runtime Environment......................................................... 97
11.1 Process
Images ........................................................................................ 97
11.1.1
Process Image for the I/O Modules Connected to the I/O-IPC .......... 97
11.1.2
Process Image for the Slaves Connected to the I/O-IPC.................... 98
11.2
Syntax of Logical Addresses................................................................... 98
11.3
Access to the Process Images of the Input and Output Data via
CoDeSys 2.3............................................................................................ 99
11.4 Addressing
Example ............................................................................. 102
11.5
Installing the Programming System CoDeSys 2.3 (WAGO-I/O-PRO
CAA) ..................................................................................................... 103
11.6
The First Program with CoDeSys 2.3 ................................................... 103
11.6.1
Start the CoDeSys Programming System......................................... 103
11.6.2
Designing a Project and Selecting the Target System...................... 104
11.6.3
Creating the PLC Configuration....................................................... 106
11.6.4
Editing a Program Function Block ................................................... 110
11.6.5
Loading and Executing the PLC Program in Control
(ETHERNET)................................................................................... 112
11.6.6
Loading and Executing the PLC Program in Control (RS 232)...... 114
11.6.7
Creating a Boot Project .................................................................... 116
11.7
Creating a Task Configuration .............................................................. 117
11.7.1
Cyclical Task Priorities .................................................................... 119
11.7.2 Freewheeling
Tasks .......................................................................... 120
11.8 System
events........................................................................................ 121
11.9 I/O
Module
Synchronization................................................................. 123
11.9.1
Case 1: The CoDeSys task interval is set as less than the
I/O module cycle .............................................................................. 123
11.9.2
Case 2: The CoDeSys task interval is less than double the
I/O module cycle .............................................................................. 124
11.9.3
Case 3: The CoDeSys task interval is greater than double the I/O
module cycle..................................................................................... 125
11.9.4
Case 4: CoDeSys Task interval greater than 10 ms ......................... 126
11.10 CoDeSys
Visualization ......................................................................... 127
11.10.1 Incorporating
Fonts .......................................................................... 129
11.10.2
Limitations of the CoDeSys Visualization....................................... 130
11.10.3
Eliminating CoDeSys Web Visualization Errors ............................. 132
11.10.4
Frequently Asked Questions About CoDeSys Web Visualization... 133
12
PROFIBUS Master in CoDeSys 2.3 ....................................................... 135
12.1
PROFIBUS I/O-IPC PLC Configuration .............................................. 135
12.2
PLC Configuration Setting Choices...................................................... 139
12.2.1 PROFIBUS-Master
(I/O-IPC) .......................................................... 139
12.2.2 PROFIBUS
Slaves............................................................................ 144
12.3
Access to the PROFIBUS Process Data................................................ 149
12.4
Loading the Program in the I/O-IPC..................................................... 151
12.5
Diagnostics of the fieldbus coupler....................................................... 152
12.5.1
Releasing the Channel Diagnostics .................................................. 152
12.5.2 DiagGetBusState()
and
DiagGetState()............................................ 154