First steps with "Festo CodeSys"

Here is a link:

https://www.festo.com/net/hr_hr/SupportPortal/default.aspx?cat=2476&tab=4&s=t

Install: What should be installed


File -> New


New POU


See also "What are program organization units (POUs) in PLC programming?" here:

https://www.motioncontroltips.com/what-are-program-organization-units-in-plc-programming/

The most important LAD components


Paigaldame NO kontakti

Panneli loomine

Nupu omadused mida on vaja muuta:

  1. Text: PUSH ME (muuda fondi kui vaja)

  2. Colors: Miite aktiivne (ülemine), aktiivne (alumine)

  3. Variables: mis muutujaga ta on seotud (x1), kasuta „F2“

  4. Input: Toggle (switch), Tap (push button)

Input

Lambi puhul kõik on sama, ainult et ta pole “input” (input väljad jäävad täitmata)

Circuit simulation


Now press the button on the "Visualisation Panel"

All done