Creating A Plc Sample Program; General Information On Plc Programming - Lenze EL 103 ECO PLC Operating Instructions Manual

Hmi with windows ce, hmi for visualisation / with control technology
Table of Contents

Advertisement

8.3

Creating a PLC sample program

The following description is only valid for types with integrated PLC (EL 1xx PLC).
In the following sections you will find a description of the basics for creating a PLC program
using the Lenze PLC Designer. For more information about the PLC Designer, please see the
online help for the PLC Designer.
The example describes how to program a simple counter, how to create a .sym file and how
to transfer the program to the PLC of the EL 100 PLC.
To follow the steps described in the following sections, the "PLC Designer" software must
have been installed on your system.
8.3.1

General information on PLC programming

Please observe the following when configuring your EL 1xx:
The variable type LREAL does not exist.
ƒ
For direct addresses (%I / Q / M), a natural alignment must be used; i.e.
ƒ
– BYTEs to any addresses
– 16−bit values (WORD, INT) to even addresses
– 32−bit values (DWORD, DINT) to addresses divisible by 4
Avoid floating−point operations because they will be emulated and therefore take
ƒ
much longer than on an X86 with FPU.
Avoid task runtimes < 100 ms because short task runtimes have disadvantages
ƒ
regarding visualisation (long reversing times).
LDCDS−EL100 EN 8.0
Creating a PLC sample program
General information on PLC programming
l
Operation
8
49

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents