How Can You Determine the Memory Requirements of a STEP 7 Micro WIN Project Offline Www.otomasyonegitimi.com

Embed Size (px)

Citation preview

  • 8/2/2019 How Can You Determine the Memory Requirements of a STEP 7 Micro WIN Project Offline Www.otomasyonegitimi.

    1/3

    show the entry list

    STEP 7 Micro/WIN -- Working with projects -- Creating and editing projects

    How can you determine the memory requirements of a STEP 7 Micro/WIN project offline?

    Switching program editors in STEP 7-Micro/Win Version 2.1 to Version 3.2.4

    How can you determine the memory requirements of a STEP 7 Micro/WIN project offline?Display part number

    Instructions:In order to determine the size of your STEP 7 Micro/WIN project, you must use the "COMPILE"command in the "PLC" menu to compile the project in a program code that can be understood by theS7-200. In the results window "COMPILE", you then get a display of whether the compilation wassuccessful and the block size of your project is given in bytes. This is just an approximate value.

    Keywords:System resources

    Switching program editors in STEP 7-Micro/Win Version 2.1 to Version 3.2.4

    QUESTION:Does Micro/WIN change the program logic when you switch between editors?

    ANSWER:Some networks that you create in one editor (STL or LAD or FBD) cannot be displayed properly whenswitched to another editor. In the following cases program logic changes are normal:

    l The compiler optimizes and changes the logic, creating equivalent logic networksl The complier displays 'Invalid' when the editor cannot display program logic, for instance when

    two separate network rungs

    However, an isolated case has been identified where STL or FBD program logic can be incorrectlyconverted. This case is described below.

    EXAMPLE OF PROGRAM LOGIC THAT WILL CAUSE AN ERROR:In general, the error occurs with a certain network (created in STL or FBD) that requires a BooleanOR operation directly after a LPS instruction. If this network is switched to LAD editor, then it wi ll beincorrectly compiled. The network that will cause the problem is shown below:

    PROGRAM LOGIC AFTER SWITCHING EDITORSWith the networks described above, a switch from FBD or STL editor to LAD editor results in whatshould be an 'Invalid' network. Subsequently switching back to the previous editor (STL or FBD) will

    STL-Editor LD M0.1LPSO M0.2=M1.1LPP=M1.2

    FBD-Editor

    Page 1 of 3Siemens - Industry Automation and Drive Technologies - Service& Support - Automation...

    10.09.2010http://support.automation.siemens.com/WW/llisapi.dll/23486117?func=ll&objId=234861...

    http://support.automation.siemens.com/WW/llisapi.dll/23486117?func=ll&objId=234861http://support.automation.siemens.com/WW/llisapi.dll/23486117?func=ll&objId=234861
  • 8/2/2019 How Can You Determine the Memory Requirements of a STEP 7 Micro WIN Project Offline Www.otomasyonegitimi.

    2/3

    not correct the program logic.

    Instead, the network isincorrectly changed as follows:

    TO WORK AROUND THIS ERROR:To work around the problem, use two networks to create the equivalent logic that can be correctlydisplayed in the LAD editor.

    STL-Editor Network

    LD M0.1O M0.2

    = M1.1= M1.2

    LAD-Editor

    After switching from FBD or STL, this LAD should have been shown asan 'Invalid' network.

    FBD-Editor

    STL-Editor Network 1

    LD M0.1

    O M0.2= M1.1

    Network 2

    LD M0.1= M1.2

    LAD-Editor

    FBD-Editor

    Page 2 of 3Siemens - Industry Automation and Drive Technologies - Service& Support - Automation...

    10.09.2010http://support.automation.siemens.com/WW/llisapi.dll/23486117?func=ll&objId=234861...

    http://support.automation.siemens.com/WW/llisapi.dll/23486117?func=ll&objId=234861http://support.automation.siemens.com/WW/llisapi.dll/23486117?func=ll&objId=234861
  • 8/2/2019 How Can You Determine the Memory Requirements of a STEP 7 Micro WIN Project Offline Www.otomasyonegitimi.

    3/3

    Entry ID:23486117 Date:2008-05-30

    I regard this article.... as helpful as not helpful

    Copy link Suggestion for the entry Send to a friend

    Print

    Siemens AG 2010 - Corporate Information - Privacy Policy - Terms of Use

    Page 3 of 3Siemens - Industry Automation and Drive Technologies - Service& Support - Automation...

    10.09.2010http://support.automation.siemens.com/WW/llisapi.dll/23486117?func=ll&objId=234861...

    http://support.automation.siemens.com/WW/llisapi.dll/23486117?func=ll&objId=234861http://support.automation.siemens.com/WW/llisapi.dll/23486117?func=ll&objId=234861