Figure 41: Network 4 (Usr-Led); Figure 42: Network 5 (Usr-Led) - WAGO I/O System 750 Quickstart Reference

Ethernet programmable fieldbus, 10/100 mbit/s; digital and analog signals
Hide thumbs Also See for I/O System 750:
Table of Contents

Advertisement

40
Application example: Starterkit880_App1_FUP.pro
The function "START_FLASHING_SEQUENCE" starts the sequences set
previously using the function "SET_FLASHING_SEQUENCE." Index 0 (USR-
LED = green) is executed first, as the variable "wIndex" was initialized with this
value in the variable declaration.

Figure 41: Network 4 (USR-LED)

Clicking the visualization button [USR-LED] increases the value of "wIndex" by
"1" (from 0 to a maximum of 3).
To accomplish this, the variable "xVisuUserLed" for the visualization button
[USR-LED] is initially processed via flank detection "ftrigVisuUserLed" and then
evaluated as follows via selection (SEL):
If "ftrigVisuUserLed.Q" = TRUE, the selection result is `1'.
If "ftrigVisuUserLed.Q" = FALSE, the selection result is `0'.
This result is subsequently added to the value of "wIndex" (ADD), then compared
to the value "3" (GT = greater than) and finally evaluated as follows via selection:
If the addition result is greater than "3", then "wIndex" is assigned the value
"0".
If the addition result is lower than or equal to "3", then "wIndex" is assigned
the result of this addition.

Figure 42: Network 5 (USR-LED)

WAGO-I/O-SYSTEM 750
750-880 ETHERNET Programmable Fieldbus
Quickstart Reference
Version 1.0.0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

750-880750-881

Table of Contents