![turck FGEN-AIM Series User Manual Download Page 139](http://html1.mh-extra.com/html/turck/fgen-aim-series/fgen-aim-series_user-manual_1181725139.webp)
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
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
) is enabled.
Figure 10-12:
Example
program
Summary of Contents for FGEN-AIM Series
Page 1: ...USER MANUAL FGEN AIM stations with multi FUNTIONALITY Sense it Connect it Bus it Solve it...
Page 8: ...D301271 1013 FGEN multi protocol vi...
Page 14: ...About this manual D301271 1013 FGEN multi protocol 1 6...
Page 42: ...Digital inputs FGEN IM16 x001 D301271 1013 FGEN multi protocol 4 4...
Page 46: ...Digital outputs FGEN OM16 x001 D301271 1013 FGEN multi protocol 5 4...
Page 126: ...Implementation of Modbus TCP D301271 1013 FGEN multi protocol 9 22...
Page 186: ...Guidelines for Electrical Installation D301271 1013 FGEN multi protocol 13 8...