Anda di halaman 1dari 3

Siemens - Industry Automation and Drive Technologies - Service& Support - Automation...

Page 1 of 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 the S7-200. In the results window "COMPILE", you then get a display of whether the compilation was successful 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 when switched to another editor. In the following cases program logic changes are normal:
l l

The compiler optimizes and changes the logic, creating equivalent logic networks 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 incorrectly converted. 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 Boolean OR operation directly after a LPS instruction. If this network is switched to LAD editor, then it will be incorrectly compiled. The network that will cause the problem is shown below: STL-Editor LD M0.1 LPS O M0.2 =M1.1 LPP =M1.2

FBD-Editor

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

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

Siemens - Industry Automation and Drive Technologies - Service& Support - Automation... Page 2 of 3
not correct the program logic. Instead, the network isincorrectly changed as follows: STL-Editor Network LD M0.1 O M0.2 = M1.1 = M1.2 LAD-Editor

After switching from FBD or STL, this LAD should have been shown as an 'Invalid' network. FBD-Editor

TO WORK AROUND THIS ERROR: To work around the problem, use two networks to create the equivalent logic that can be correctly displayed in the LAD editor. STL-Editor Network 1 LD M0.1 O M0.2 = M1.1 Network 2 LD M0.1 = M1.2 LAD-Editor

FBD-Editor

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

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

Entry ID:23486117 Date:2008-05-30 I regard this article.... as helpful Copy link


Print

as not helpful Send to a friend

Suggestion for the entry

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

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

Anda mungkin juga menyukai