
6
Table of Contents
WAGO-I/O-SYSTEM 750
758-874/000-131
WAGO-I/O-IPC-C6
Manual
Version 1.0.0
12.5.3
Creation of Diagnostic Functions in CoDeSys 2.3........................... 155
12.5.4
Calling the Diagnostic Block............................................................ 157
12.5.5 Performing
Bus
Diagnostics
via DiagGetBusState() ....................... 158
12.5.6 Performing
Device
Diagnostics via DiagGetState()......................... 160
12.5.7 Analyzing
PROFIBUS
Diagnostics of Individual I/O Modules ...... 160
13
Incorporation of C-Functions as CoDeSys Library.............................. 166
13.1
Example for Linking a Dynamic Library.............................................. 166
13.1.1 Developing
and
Compiling
a Linux Shared Library ........................ 166
13.1.2
Creating a Description File for the CoDeSys Runtime System ....... 167
13.1.3
Copying a Library and INI File and Restarting the CoDeSys
Runtime System................................................................................ 168
13.1.4
Creating an IEC Library ................................................................... 169
13.1.5
Linking a Library to the CoDeSys Project ....................................... 171
13.2 Special
Features .................................................................................... 174
13.2.1 Data
Types........................................................................................ 174
13.2.2 Structures.......................................................................................... 175
13.2.3
Parameter Transfer by Reference or by Value ................................. 176
13.3 Additional
Applications ........................................................................ 176
14
Operating System..................................................................................... 177
14.1
Linux Kernel Used ................................................................................ 177
14.2
Grand Unified Bootloader (GRUB) ...................................................... 178
14.3
Linux Startup Process ........................................................................... 179
14.4 Linux
Console ....................................................................................... 180
14.4.1
Access to the Linux Console ............................................................ 180
14.4.1.1 Access
over
Telnet....................................................................... 182
14.4.1.2
Access via RS-232 Interface and Terminal Program .................. 183
14.4.1.3
Access over keyboard and monitor (DVI-I and USB Interface) . 184
14.4.2 Installed
Applications....................................................................... 185
14.4.3
Construction of the File System ....................................................... 186
14.4.4 Installed
Shell
(BASH)..................................................................... 189
14.4.5
Busybox and Other Help Programs.................................................. 189
14.5
Drivers for Special Hardware Parts....................................................... 191
14.6 Incorporation
of a USB Printer ............................................................. 191
14.7
Installed Services of the ETHERNET Interface ................................... 192
14.7.1
Telnet Server (telnetd)...................................................................... 192
14.7.2
FTP Server (pure-ftpd) ..................................................................... 193
14.7.3 NFS
Server ....................................................................................... 194
14.7.4 FTP
Client ........................................................................................ 194
14.7.5 Web
Server
(lighttp) ......................................................................... 195
14.7.6 NTP
Client........................................................................................ 195
14.7.7 NFS
Client ........................................................................................ 196
14.7.8 SNMP
Agent .................................................................................... 196
15
Diagnostics ................................................................................................ 198
15.1 Operational
Messages ........................................................................... 198
15.2
Error Messages via I/O-LED ................................................................ 203
15.2.1
Progression of Blink Sequence......................................................... 204
15.2.2
Example of an Error Message via Blink Code ................................. 205
15.2.3
Meaning of the Blink Codes and Procedures for Troubleshooting .. 206