Hardware configuration inside PLC code???

meelman

Member
Join Date
Oct 2019
Location
Croatia
Posts
13
Hello,

Is it possible to find out hardware configuration of your current project inside PLC. We are talking about Siemens PLC, project built in Tia or Simatic.

I mean to store inside data block nomber of DI, DO, AI, AO modules?
 
Which CPU, what is the firmware version and which TIA version?


If you have the original program then yes you will be able see the hardware configuration. If not then then depending on the CPU, firmware version and TIA you may be able to upload the hardware configuration.


Not sure what the second question is. Perhaps you may rephrase the question.
 
Which CPU, what is the firmware version and which TIA version?


If you have the original program then yes you will be able see the hardware configuration. If not then then depending on the CPU, firmware version and TIA you may be able to upload the hardware configuration.


Not sure what the second question is. Perhaps you may rephrase the question.

I have original project. There is no second question. My question was is it possible to read maybe inside some diagnostic OBs or something like that hardware configuration, so I can store it in DB, and eventually show on HMI
 
I believe you can get quite a bit of information directly from the program. Something with the GEO functions usually allow you to. I remember reading this before to essentially automate the ranges in the scaling block, but didn't get time to implement or dig further.
 
I don't know of instructions to do that, I will do a bit of research when I have time. As the hardware configuration is not going to change at runtime you may create a DB and fill it with the information you want.
 
I believe you can get quite a bit of information directly from the program. Something with the GEO functions usually allow you to. I remember reading this before to essentially automate the ranges in the scaling block, but didn't get time to implement or dig further.

Haven't heard of GEO functions before.
 
I don't know of instructions to do that, I will do a bit of research when I have time. As the hardware configuration is not going to change at runtime you may create a DB and fill it with the information you want.

Yes, that's my alternative solution, but I would like to skip it if it is possible.
I felt somehow that some of the OBs would contained these info
 
If you share with us there may be a different way accomplishing what you are trying to do and still achieve your end result :confused:
 

Similar Topics

Hi all, This is going to be a long post apologies. I'm also a complete beginner to the world of PLCs. I'm currently working on my first ever...
Replies
10
Views
459
Hello Folks, I am beginner to the PLC programming. I am working on a project which has Siemens S7-1516-3 PN/DP CPU, and ET200SP profibus based...
Replies
0
Views
334
Hi everyone, I'm trying to learn how to make hardware configuration. I have an IM on profibus. I added the whole group (I dragged the marked taxed...
Replies
5
Views
1,175
When I download a hardware configuration using the step 7, it first asks me to select the target module. Only option that is offered is the CPU...
Replies
5
Views
1,200
Hello, Here i have a Tia Portal V11 Project that i wanted to fix but i cant take the device configurations from the device. So i just have to...
Replies
5
Views
1,476
Back
Top Bottom