Here are sample projects for Siemens PLC LOGO! 8
series.
Used hardware:
-
Bought on Conrad.cz:
-
Siemens pages for these products are:
Starter Kit
-6ED1057-3BA01-0AA8
LOGO! 12/24RCE
-6ED1052-1MD08-0BA0
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
Stairway light control using Push-button. Also uses Base Module (BM) display to show status.
Diagram:
Prototype (low-voltage bulb) photo:
File: StairCaseSwitch.lsc
Status: early prototype
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
(was0
) - to have minimum timeout of 10 seconds (was0
) - Gain:
0.3
(was1.0
) - to have maximum timeout 300+10 (310 seconds).
File: StairCaseSwitchWithPot.lsc
Status: early prototype
Diagram:
Prototype photo:
And schema (created in KiCAD):
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
(nameLOGO! 8.FS4_1
)LOGO! 0BA8
(nameLogo8_2
)LOGO! 0BA7
(nameLogo7_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 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.