13.07.2015 Views

Quickstart 750-881 - Wago

Quickstart 750-881 - Wago

Quickstart 750-881 - Wago

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

WAGO-I/O-SYSTEM <strong>750</strong> Application example: Starterkit<strong>881</strong>_App1_FUP.pro 39<strong>750</strong>-<strong>881</strong> ETHERNET Programmable FieldbusThe function "START_FLASHING_SEQUENCE" starts the sequences setpreviously using the function "SET_FLASHING_SEQUENCE." Index 0 (USR-LED = green) is executed first, as the variable "wIndex" was initialized with thisvalue in the variable declaration.Figure 40: 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 thenevaluated 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 comparedto 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 assignedthe result of this addition.Figure 41: Network 5 (USR-LED)<strong>Quickstart</strong> ReferenceVersion 1.1.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!