S7-1500 turn on SF LED intentionally

grnick50

Lifetime Supporting Member
Join Date
Nov 2010
Location
Ptolemaida
Posts
332
Hello all,

I was wondering if there is a way to turn on the SF LED using an instruction in the program.

i.e. My PLC has no HMI and it has modbus TCP comms. I want when the communication is lost to turn the SF LED on.

I used Gen_usrMSG & Program_Alarm instructions to write a message in the Diag buffer but it does not turn the SF LED on.

Regards
 
I'm really curious if there's an answer to this. I've spent a lot of my career trying to get red LEDs to turn off on Siemens processors; I've never tried to turn one on before.
 
I guess you could call an FC that you didn't download? Or do an invalid BCD conversion?

This reeks of bad practice... I think adding a light would be more appropriate..
 
What I did to get the LED on is to intentionally write to a non existent PQW.
I do this after I generate a user message in the diagnostic buffer which says "Ignore Q 224 Error" this is a Modbus FLT.

It works.
 
What I did to get the LED on is to intentionally write to a non existent PQW.
I do this after I generate a user message in the diagnostic buffer which says "Ignore Q 224 Error" this is a Modbus FLT.

It works.

I have to back up boneless, this sort of solution sounds like the exact opposite of a "best practice". Do you have no free outputs to hook up an LED on the panel?
 
Personally I would never do that. As you say I could use a Lamp or a basic HMI to do the alarming.

The question was raised in a training class I was teaching for TIA portal.
The student asked if he could light the SF LED if a Modbus station is lost, in the same manner as when a Profibus station is lost.

Personally I would not follow that practie but I have to answer the question, of course noting that I dont agree with that.

regards
 
Last edited:
You can write custom messages to the diagnostic buffer that will be displayed if you have a 1500 with the small screen on the cpu.
 
I thought this was leading to using the SF LED to flash out a message in morse code and then using a mobile phone to display it....:)
 
"we don't want to spend the money on a fault lamp, because the PLC already has a red light on it! Just use that one and we'll cut a hole in the panel door so the operators can see it!"

But seriously, I'm impressed, not only that you found a way to do it, but also for your commitment to answering a student's question accurately 👨🏻‍🏫
 
I believe that when you train someone, you have the obligation to answer as much as possible. It is not my buisness why the student needs to know that and how he/she will use it.

As I said although I disagree I had to answer.
The question came up when we were going through the diagnostics instructions of the 1500 and specifically the LED instruction that reads the LED status.
So for some student it was natural to think "If I can read the LED, why cant I write it status"?
You will be amazed of what you are being asked in a training, but regardless the trainer needs to answer since at the end of the day he is being assesed by the students.

Regards
 
I wish half of my trainers back in the day thought that way. The response I usually encountered was a blank look, half an hour trying to work out the problem doing things I'd already tried, and then when they were clearly no closer to finding a solution but were all out of ideas, the classic "no, I want you to figure it out yourself, it's a test".

Which in some ways wasn't the worst thing, because it taught me perseverance and to find a way to find things out on my own, but still :)
 

Similar Topics

Can we use a Simotion D455 ethernet port x127 as a gate, to access S7-1500 plc Tia Portal program ? In the Simatic manager, we used Netpro to do...
Replies
2
Views
87
I have been working on this for a while now and I can't seem to get it. I was finally able to view the 1500 on the PanelView under the serial...
Replies
1
Views
85
Hello, I have a 1764 1500 LSP Series A that keeps failing with DTL_E_FAIL I/O error. Searching around it seems there's a weird issue specifically...
Replies
2
Views
106
Hi all Trying to remotely connect to a TIA Portal PLC. I can ping it without a problem but can't get my software to connect. I've opened port...
Replies
8
Views
334
Been fighting all morning with a stubborn HMI. It just won´t connect with the plc. attaching from settings. Have i missed anything? Both plc and...
Replies
5
Views
304
Back
Top Bottom