EasyManua.ls Logo

WAGO 750 Series - Page 178

WAGO 750 Series
248 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
174 • Application Examples
Example kbusdemo
WAGO-I/O-SYSTEM 750
Linux Fieldbus Coupler
Source code description: kbusdemo.h
This header file contains process image access definitions. For performance
reasons, the process image has a RAM address that cannot be accessed by the
kernel. Definitions of these addresses are contained in the header file in order
to access the process image.
Source code description: kbusdemo.c
The kbusdemo.c file contains the main() function. The console entries are
analyzed and the internal bus read and write commands are executed.
Process image pointers, which are initialized by the use of definitions from the
kbusdemo.h file, are used to read and write internal bus data. The
KBusUpdate() function from the kbusapi.h file is used to update the process
image. The console output is generated like the help text in that file.
Source code description: kbusapi.h
This header file contains definitions that make it easier to access the kbus.o
driver.
Source code description: kbusapi.c
The accesses from the kbusapi.h file are coded in the kbusapi.c file.

Table of Contents

Other manuals for WAGO 750 Series

Related product manuals