EasyManua.ls Logo

Festo CPX-CEC - Programming Languages

Festo CPX-CEC
87 pages
Print Icon
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...
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

Related product manuals