Programming
© Festo Didactic GmbH & Co. • MPS 97
As long as a Start-button is pressed, a Start-light (H1) flash with 500 ms on and
500 ms off. The program of FC1 should be done with only one Network.
Information
Use FC1 to edit the programs. Please use symbol adresses. The programming
language for FC1 should be FBD, for OB1 STL. There is a Memorybyte (Clock
Memory) defined within the hardwareconfiguration which automatically flash with
different frequences or different time periods. Please see the following time periods
for the 8 Bits of the Memorybyte 100 (100 is free defined within the
Hardwareconfiguration). A time period is the time the Memory is on and the time the
Memory is off:
M100.0 = 0,1 sec.
M100.1 = 0,2 sec.
M100.2 = 0,4 sec.
M100.3 = 0,5 sec.
M100.4 = 0,8 sec.
M100.5 = 1,0 sec.
M100.6 = 1,6 sec.
M100.7 = 2,0 sec
Instructor: Show the Clock Memory and the help-function within the
hardwareconfiguration and explain that the adress of the MB 100 is free defined
à could be changed.
Planning
Please plan your project step by step first within the team. Check out the
hardwareconfiguration in Project 2.1 again how to define and activate the Clock
Memory .
The time to finish this project should be around 0,5 hour.
2.12 Programming –
Programming of a
Flashlight