You are on page 1of 22

FST 4

The unique programming system


Festo
for automation
Software Tools

FST 4.10
Anweisungslist
e Statementlist
Kontaktplan
Ladder
Diagram

OC-M / D.Staneker IPT 2003 06.07.17 1


FST 4 An overview

IF ... THEN ... OTHRW (Statementlist)


STEP (Statementlist)
Multitasking/Program/Function/Function Block
Huge set of operands/variables
Open Hardware Interface
Open Driver Interface/Open C Interface
TCP/IP support
WEB Server
Tradition and Future
Ladder Diagram
Order information

OC-M / D.Staneker IPT 2003 06.07.17 2


IF ... THEN ... OTHRW

Programming as you think (Statement list)

Describe the process and program simultaneously


Have a clear concept of SET / RESET
Program in relation to the automation task

IF Event
THEN SET Output
IF OtherEvent
THEN RESET Output

OC-M / D.Staneker IPT 2003 06.07.17 3


STEP

Unreachable simple programming of sequential processes

More than 75% of all automatic tasks are sequential tasks


No other textual language can program sequences as easy as FST
Much more compact than any graphic tool
Much better online help than any other method

STEP Begin
IF Event
THEN SET Output
STEP Nextstep

OC-M / D.Staneker IPT 2003 06.07.17 4


Multitasking

Unreachable simple method of multitasking

Program and ProgramStatus gives complete control over simultaneous and


alternative tasks
Up to 64 simultaneous tasks, clear concept of task switching
Up to 100 function blocks (CMP) may include steps
Up to 100 functions (CFM) without step without task switch

IF Event
THEN SET P1 "Automatic
RESET P2 "Manual

OC-M / D.Staneker IPT 2003 06.07.17 5


Set of operands

Almost unlimited set of


operands/variables

Up to 64 programs, 100
functions, 100 function blocks
Up to 4096 inputs and 4096
outputs = 8092 IOs
Up to 256 timers + 256 counters
+ 256 registers
Up to 160,000 flags (10,000 flag
words)

OC-M / D.Staneker IPT 2003 06.07.17 6


Open hardware interface

A script language describes the access to any hardware

New modules can be added at any time of a project


Module scripts may be updated at any time of a project

OC-M / D.Staneker IPT 2003 06.07.17 7


Open driver interface/Open C interface

Driver interface

The PC based concept allows to call drivers before the FST kernel
The driver interface is open
New drivers can be added/updated at any time of a project

C interface

Open C interface to write functions in C/C++


Completely open development system for high-level language

OC-M / D.Staneker IPT 2003 06.07.17 8


TCP/IP support

FST supports Ethernet and


TCP/IP for

Real Time communication


between CPUs
Program up- and download
Debugging

OC-M / D.Staneker IPT 2003 06.07.17 9


WEB Server

WEB server is available for all CPUs

Leading in WEB technology


WEB server for even the smallest CPU (FC34)
WEB server works simultaneously to the process control

Flagword 10=<FSTCI dmw10><BR>


<A href="demo_07.htm?ci:mmw10=0">Load
Flagword 10 with 0</A><BR>

OC-M / D.Staneker IPT 2003 06.07.17 10


FST 4 is tradition and future in one

- More than 200,000 projects worldwide are programmed with any one of the FST
versions
- Thousands of FST customers worldwide
- Thousands of experienced FST programmers worldwide

OC-M / D.Staneker IPT 2003 06.07.17 11


FST 4.10

FST 4.10 Ladder Diagram


+
support for positioning systems

Abteilung/Name Projektname 06.07.17 12


FST 4.10 -version

Newest version for internal tests


available at the LN-DB SPIMS

OC-M / D.Staneker IPT 2003 06.07.17 13


Order information

The only programming system


worldwide at such a price for the
whole package supporting all CPUs
and the whole performance.

Name: PS1 FST2


Festo Part Number: 191 440
Software Tools
User interface: Englisch and
FST 4.10
Anweisungslist
German
e Statementlist
Kontaktplan Program languages:
Ladder
Diagram Statementlist +
Ladder Diagram

OC-M / D.Staneker IPT 2003 06.07.17 14


Ladder Diagram grafical user interface

A not so good example of a grafical user interface

OC-M / D.Staneker IPT 2003 06.07.17 15


Ladder Diagram rungs with linebreaks

In FST the
customer
can select
with /
without
linebreak

OC-M / D.Staneker IPT 2003 06.07.17 16


Ladder Diagram - Exercise
AND before OR

In Statementlist there is the rule AND


before OR

OC-M / D.Staneker IPT 2003 06.07.17 17


Ladder Diagram - Exercise
AND before OR

If in Statementlist the OR function should


be executed first you have to use (...)

OC-M / D.Staneker IPT 2003 06.07.17 18


Ladder Diagram - Exercise

Counter increment + Compere


function

Start counter: I0.0


Impulses: I0.1
Counter preselection value: 20
Pre-warning value: 15-
19
Display for preselection reached:
O0.1
Display for pre-warning: O0.0

OC-M / D.Staneker IPT 2003 06.07.17 19


Ladder Diagram - Exercise
Programming a car parking system
A classic example for counters

A car park has space for 10 cars. In front of


the car park is a traffic light. The traffic
light shows green as long as there is still
space in the car park (and the system is
working ;-)) ). The traffic light shows red
as soon as the car park is full.

I0.1 Reset counter


I0.5 Enter car park
I0.7 Exit car park

O0.2 Green traffic light


O0.4 Red traffic light

OC-M / D.Staneker IPT 2003 06.07.17 20


Ladder Diagram - Exercise

Timers Tx, TONx, TOFFx

x= = 0...255

T = Impuls timer

TON = Timer ON

TOFF = Timer OFF

Write an program using the 3 different


type of timers using 3 different times
(e.g. 5sec., 2.5sec., 4.3sec.)

OC-M / D.Staneker IPT 2003 06.07.17 21


Ladder Diagram - Exercise
Sequence programs

In Statementlist sequencial programs


easily can realized with the instruction
STEP. In Ladder Diagram this function
has to be programmed. Typical
example for such a function is the so-
called bedside table lamp.

Only 1 switch but 4 STEPS

1. press switch first time lamp is ON


2. release switch lamp is still ON
3. press switch 2. Time lamp will be
OFF
4. release switch again lamp is still
OFF

OC-M / D.Staneker IPT 2003 06.07.17 22

You might also like