Skip to content

hpaluch/plc-logo

Repository files navigation

Samples for Siemens PLC LOGO! 8

Here are sample projects for Siemens PLC LOGO! 8 series.

Used hardware:

Used software:

  • OS: XP SP3 in Virtual Box VM (use Network Interface that can access PLC via TCP/IP)
  • LOGO!Soft Comfort version 8.2.1

Examples

Staircase timer - basic

Stairway light control using Push-button. Also uses Base Module (BM) display to show status.

Diagram:

PLC Logo Staircase timer diagram

Prototype (low-voltage bulb) photo:

PLC Logo Staircase timer photo

File: StairCaseSwitch.lsc

Status: early prototype

Staircase timer - with potentiometer

Staircase timer where interval is set by Potentiometer (5KOHm - actually I used 4K7 in prototype, becasue I have no 5K in stock) - using Analog Input of LOGO 12/24RCE.

Most important component is "Analog Amplifier" where I set:

  • Offset: 10 (was 0) - to have minimum timeout of 10 seconds (was 0)
  • Gain: 0.3 (was 1.0) - to have maximum timeout 300+10 (310 seconds).

File: StairCaseSwitchWithPot.lsc

Status: early prototype

Diagram:

PLC Logo Staircase timer with POT diagram

Prototype photo:

PLC Logo Staircase timer with POT photo

And schema (created in KiCAD):

PLC Logo Staircase timer with POT schema

Troubleshooting

"No program" error after Comfort programming

If you use improper target version in Comfort that PLC will refuse to start uploaded program with strange error "No program".

To explain: There are 3 options in my LOGO Comfort version 8.2.1:

  • LOGO! 8.FS4 (name LOGO! 8.FS4_1)
  • LOGO! 0BA8 (name Logo8_2)
  • LOGO! 0BA7 (name Logo7_1)

So I change 8.FS4 to Logo8_2 which seems to work properly. Also when I look into PLC menu:

  • Diagnostics -> Software -> FW Version: 1.82.02

PLC Logo refuses to start on power up

PLC Logo does not start, on pressing ESC it just prints "detecting..." and after a while fall to sleep again.

Cause: Too low power supply voltage (encountered with 9V Supply, which is of course out of specs)

Solution: Use proper 12V Supply.

About

Examples for Siemens PLC LOGO! 8 series

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published