EasyManua.ls Logo

turck FGEN-AIM Series - Programming (Example Program); Small Example Program

turck FGEN-AIM Series
203 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
Loading...
D301271 1013 - FGEN - multi protocol
10-13
Programming with CODESYS
10.3.7 Programming (example program)
The programming is done under PLC-PRG in the project tree. This example is programmed in
Structured Text (ST) as defined under Creating a new project (page 10-5).
Small example program
1 The counter counts
2 Counter-reset via setting the variable "xReset" (BOOL) to "1".
"xReset" has been defined in the global variables (see also page page 10-14)
Note
The status of process values is only shown in the process image if a program refers to them or
if the function "Always update variables" in the "MobusTCPSlave I/O Mapping" (see Reading
out the process data, page 10-25) is enabled.
Figure 10-12:
Example
program

Table of Contents

Related product manuals