8/20/2019 1:10 PM | |
Joined: 8/8/2018 Last visit: 11/16/2023 Posts: 11 Rating: (0) |
What is the Difference between L1.0 and M1.0 input in S7 program? How can I check the references for L1.x or so? What does it mean? ------------------------------------------------------------------------------------------ |
Last edited by: AutoGen_2520371 at: 08/20/2019 13:14:56Last edited by: Jen_Moderator at: 08/20/2019 14:03:06New subject after splitting |
|
8/20/2019 3:14 PM | |
Joined: 12/18/2014 Last visit: 4/23/2024 Posts: 32871 Rating: (4064) |
Which Software use you? STEP7 classic? |
8/20/2019 3:15 PM | |
Joined: 8/8/2018 Last visit: 11/16/2023 Posts: 11 Rating: (0) |
S7 classic V5.5 |
8/20/2019 3:19 PM | |
Joined: 9/27/2006 Last visit: 4/23/2024 Posts: 12257 Rating: (2665)
|
Hello; Look at this extract from the Programming with Step 7 manual. https://support.industry.siemens.com/cs/ww/en/view/45531107 Notice especially the section that follows the Caution keyword. When using temporary variables, remember that they are only valid within the relevant block or are only available as previous local data for other blocks called in this block. In particular, there is no guarantee that if you close and then re-open the block, the temporary variables will have the same values they had when the previous block call was completed So you are right, local variables in different FCs or FBs are not the same. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 08/20/2019 15:19:46 |
|
8/20/2019 3:25 PM | |
Joined: 8/8/2018 Last visit: 11/16/2023 Posts: 11 Rating: (0) |
Thanks alot. But now problem is: I cant able to find this variblae referance anywhere ;) Where is it Set or Reset? I have only Input for this, but i cant able to find where this Local variable set or reset!! |
Last edited by: AutoGen_2520371 at: 08/20/2019 15:29:36 |
|
8/21/2019 7:14 AM | |
Joined: 8/8/2018 Last visit: 11/16/2023 Posts: 11 Rating: (0) |
Hello, I have printout current block, please check this email attachment AttachmentS7-RTA.pdf (106 Downloads) |
8/21/2019 7:34 AM | |
Joined: 12/18/2014 Last visit: 4/23/2024 Posts: 32871 Rating: (4064) |
Hello Autogen_2520371, take a look at the attached PDF file. The function FC4 set and reset the local bits L1.0 to L.1.7. AttachmentS7-RTA_V2.pdf (93 Downloads) |
Last edited by: ixo65 at: 08/21/2019 07:35:08 |
|
8/21/2019 8:58 AM | |
Joined: 8/8/2018 Last visit: 11/16/2023 Posts: 11 Rating: (0) |
Hello, Thanks alot. Yes now i found. FC4 you can check here.. But bit complicated. Best regards Rayhan AttachmentFC4.pdf (73 Downloads) |
Follow us on