EasyManuals Logo

WAGO 750 Series User Manual

WAGO 750 Series
248 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #126 background imageLoading...
Page #126 background image
122 Step-by-Step Guide to your own Linux Application
Debugging of User Space Programs
WAGO-I/O-SYSTEM 750
Linux Fieldbus Coupler
To simplify the operation of GDB, a script needs to be generated that creates
defined starting conditions for the debugger. Use the following call to generate
the script:
> emacs gdb.script
Enter the following code into the emacs and save it via CTRL-X, CTRL-S:
If the default IP address of the Linux fieldbus controller has been changed, it
is necessary to also change the IP address that is in the first line of the above-
mentioned script.
In the first line of the script, a remote connection is automatically established
to the GDB server of the Linux fieldbus controller with the IP address
192.168.1.3 using port number 1234. The second line sets a breakpoint to
the main routine and the third line starts the program that runs until the
breakpoint is reached.
5.12.5 Debugging via the GDB Console
In order to enable cross debugging between the PC and the Linux fieldbus
controller, a connection via Ethernet is used. In the procedure described below
the Linux fieldbus controller has the default IP address 192.168.1.3, the Linux
PC has IP address 192.168.1.4. If your settings differ from the settings
indicated above, change the IP addresses so that they match the addresses in
the example.
First, start the GDB server on the Linux fieldbus controller. To do so, change
the directory in which is the program that has been created in the previous
section:
> cd ~/uclinux-dist/user/newProg
Enter the following call into the console:
> gdbserver 192.168.1.4:1234 newProg
target remote 192.168.1.3:1234
b main
continue

Table of Contents

Other manuals for WAGO 750 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the WAGO 750 Series and is the answer not in the manual?

WAGO 750 Series Specifications

General IconGeneral
Protection ClassIP20
Bus CouplersPROFIBUS, CANopen, Ethernet
ModulesDigital Input, Digital Output, Analog Input, Analog Output
MountingDIN rail mounting
Voltage Supply24 V DC (typical)
Communication ProtocolDepends on the bus coupler (e.g., PROFIBUS, CANopen, DeviceNet, Ethernet)
Digital Input ChannelsVaries by module (e.g., 8, 16 channels)
Digital Output ChannelsVaries by module (e.g., 8, 16 channels)
Analog Input ChannelsVaries by module (e.g., 2, 4, 8 channels)
Analog Output Channels1, 2, 4 channels (depending on module)
Width12 mm, 24 mm (typical module widths)
Number of ChannelsVaries by module type
Current Consumption per ChannelVaries by module type

Related product manuals