5/14/2021 6:49 PM | |
Joined: 10/4/2019 Last visit: 2/28/2024 Posts: 108 Rating: (0) |
thank you bro for replying i did all what y have said but it's not working i followed this video and did exactly the same thing but it's not working (83) TIA Portal: Static vs Temp Variables - YouTube but after some thinking i changed the CPU from s7-300 to s7-1200 guess what it works am not sure why it works in 1200 but not in s7-300 |
Last edited by: Jen_Moderator at: 05/17/2021 09:15:32Embedded video. |
|
5/14/2021 6:49 PM | |
Joined: 10/4/2019 Last visit: 2/28/2024 Posts: 108 Rating: (0) |
thank you bro for replying i did all what y have said but it's not working i followed this video and did exactly the same thing but it's not working (83) TIA Portal: Static vs Temp Variables - YouTube but after some thinking i changed the CPU from s7-300 to s7-1200 guess what it works am not sure why it works in 1200 but not in s7-300 |
5/14/2021 9:30 PM | |
Joined: 7/7/2010 Last visit: 5/10/2024 Posts: 14709 Rating: (2357)
|
Next time you post a new topic, please do us all the courtesy of providing proper context and letting us know you are using an s7-300 in your problem. The s7-1200/1500 behave similar but at times very differently than s7-300/400.
|
science guy |
|
This contribution was helpful to1 thankful Users |
5/14/2021 9:49 PM | |
Joined: 1/17/2013 Last visit: 5/3/2024 Posts: 136 Rating: (23) |
I absolutely agree, anyway, for any Siemens device family you are using, the golden rule is never query a temp var before you have assigned a value to. AFAIK it is valid for Siemens world and all the other PLCs, what's your opinion about?
|
Last edited by: @CIONCO at: 05/14/2021 21:52:02 |
|
Follow us on