1 programming languages, Programming languages – Festo Электрический терминал СРХ User Manual

Page 27

Advertising
background image

1. System summary

1−11

Festo P.BE−CPX−CEC−EN en 1004a

1.4.1

Programming languages

CoDeSys provided by Festo offers five of the programming
languages standardised in IEC 61131−3, see Tab. 1/3. Each of
these programming languages has certain characteristics
that are especially suited for solving specific tasks.

Programming
languages

Type

Description

Statement list (STL)

Text−based
programming
language

The statement list enables the programmer to deĆ
scribe the working steps of controller functions with
simple instructions. The language structure supports
the efficient handling of complex tasks.

Structured text (ST)

Structured text comes closest to the programming
languages used for the PC, such as Pascal and C.
It consists of a number of statements that can be
performed conditionally ("IF..THEN..ELSE") or in loops
(WHILE..DO), as in high−level languages.

Sequential function chart
(SFC)

Graphic
programming
languages

Enables programming of sequences and so is suited
for structuring and organising projects. With transiĆ
tions and connections, the sequential function chart
describes the time sequence of the various steps
within the program.

Function diagram (FUN)

or

Free−graphic function
diagram (CFQ)

The function diagram works with a list of networks,
whereby each network contains a structure that deĆ
picts a logical or arithmetic expression, calls up a
function module, a jump or a return instruction.

In addition, based on the function diagram, there is
the free−graphic function diagram (CFC), in which the
elements are freely placed and feedback can be
directly added.

Ladder diagram (LDR)

The ladder diagram was developed from the circuit
diagram. The diagram of a LDR program is therefore
similar to the diagram of a circuit diagram ć in relation
to the diagram of logical links.

Tab. 1/3:

Programming languages of CoDeSys provided by Festo

Advertising
This manual is related to the following products: