WAGO 750 Series Manual page 173

Linux fieldbus coupler
Hide thumbs Also See for 750 Series:
Table of Contents

Advertisement

Example:
Source code description: leds.h
This header file contains definitions that control the access to the ledman
driver. The following definitions describe the functions:
Using these definitions, you can assign a function to every LED.
Additionally, the following LED names are defined which can be used to
access the appropriate LED:
WAGO-I/O-SYSTEM 750
Linux Fieldbus Coupler
./leds
-n
ur
./leds
-o
ur
./leds
-f
sg
./leds
-n
er
-f ug
./leds
-o
a
#define WAGO_FBK_LED_CMD_SET 0x01/*turn on briefly to show
activity*/
#define WAGO_FBK_LED_CMD_ON 0x02 /* turn LED on
permanently */
#define WAGO_FBK_LED_CMD_OFF 0x03 /* turn LED off
permanently */
#define WAGO_FBK_LED_CMD_FLASH 0x04 /* flash this LED */
#define WAGO_FBK_LED_DEBUG1_RED
#define WAGO_FBK_LED_DEBUG1_GREEN
#define WAGO_FBK_LED_DEBUG2_RED
#define WAGO_FBK_LED_DEBUG2_GREEN
#define WAGO_FBK_LED_USER_RED
#define WAGO_FBK_LED_USER_GREEN
#define WAGO_FBK_LED_ALL
Application Examples • 169
LED Indication Example
Switches on the red user LED
Switches off the red user LED
Status LED starts blinking green
Switches on the red service LED and
the user LED starts blinking green
Switches off all three LEDs
2
3
4
5
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

750-860

Table of Contents