Green. Not failed, just not running.
From the manual:
Status LEDs on a CPU
The CPU provides the following status indicators:
● STOP/RUN
– Solid yellow indicates STOP mode
– Solid green indicates RUN mode
– Flashing (alternating green and yellow) indicates that the CPU is in the STARTUP
operating state
● ERROR
– Flashing red indicates an error, such as an internal error in the CPU, an error with the
memory card, or a configuration error (mismatched modules)
– Flashing red for three seconds indicates an error that is not ongoing. An example is if
the real time clock (RTC) resets to the default time due to a power loss.
– Defective state:
- Solid red indicates defective hardware
- All LEDs flash if the firmware detects a defect
● MAINT (Maintenance) flashes whenever you insert a memory card. The CPU then
changes to STOP mode. After the CPU has changed to STOP mode, perform one of the
following functions to initiate the evaluation of the memory card:
– Change the CPU to RUN mode
– Perform a memory reset (MRES)
– Power-cycle the CPU
You can also use the LED instruction (Page 438) to determine the status of the LEDs.
P.s. I've not created any ladder code yet so no surprise it's in STOP mode, cheers.
Siemens will stay on Run even without any code.
If it stops then there is some errors which you should look from diagnostic buffer view.
You should look from diagnostic buffer. It is hard to say without logs if it is error or only stop.
If you have downloaded hardware and selected run it should stay on run.
https://theautomationblog.com/s7-1200-going-online-run-mode-led-cpu-status/
Ah okay, thanks for the link!...I have only partially created a project. haven't got as far as selecting "Go online". This would explain why it is STOP at the moment.
Yes. Don't worry about it until you've got a program downloaded.
ALSO, when it comes time to download to the PLC, make sure you aren't online first.
A TIA limitation is you can't mess with HW (make changes or DL) while you're online with anything in the project. The first download will need to include HW (device config) and SW (blocks), so make sure you're offline. HW downloads will always stop the PLC.
Later on as you're tweaking the code and making changes, you can download small SW changes to the PLC while online and have it remain in run.
To add to that, you also make sure that you compile prior to download.
Compile all hardware and all software will work well for a first attempt to download the entire project to your PLC (Hardware & Software).
A couple of more tips is to set how you want the PLC to act after a power up, and to assign memory to System and Clock Memory.
A couple of more tips is to set how you want the PLC to act after a power up, and to assign memory to System and Clock Memory.