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 #175 background imageLoading...
Page #175 background image
Application Examples • 171
Example kbusdemo
WAGO-I/O-SYSTEM 750
Linux Fieldbus Coupler
8.2 Example kbusdemo
Program name: kbusdemo
Installation directory: /bin/kbusdemo
Source code files:
~/uclinux-dist/user/wagokbusdemo/kbusdemo.h
~/uclinux-dist/user/wagokbusdemo/kbusdemo.c
~/uclinux-dist/user/wagokbusdemo/kbusapi.h
~/uclinux-dist/user/wagokbusdemo/kbusapi.c
Driver/Kernel module: kbus.o (internal bus support)
Function description
This example program can read the state of the input modules. It is
furthermore possible to set or to clear bits of the output modules. The data is
addressed via byte addresses. Writing data multiple bytes of data is not
possible in this example. However, this feature could be added in the source
code with little effort.
The dynamic loadable module "kbus.o" is used for the internal bus support.
In addtition, kbusapi is used which makes it easier to access the internal bus
module. This API (Application Interface) is added to the program during
compilation and linking. The API interfaces are also described in this chapter.
The dynamic loadable module kbus.o serves to access the connected modules
from a user program environment. In order to illustrate the driver interface, the
Linux coupler incorporates the kbusdemo example program. This program can
read or write the state/data of the internal bus via the Linux console.

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