4/29/2011 10:24 AM | |
Joined: 8/31/2005 Last visit: 8/20/2024 Posts: 2198 Rating: (328) |
Hello esantos, Just followthemanual : ######################################## Downloading the source fileYou can download the source file directly from the HTML page from
The download page is http://support.automation.siemens.com/WW/view/en/18972936 The INFO icon is near the upperright corner ofthe white content area. |
|
|
4/29/2011 10:34 AM | |
Joined: 10/7/2005 Last visit: 9/17/2024 Posts: 3020 Rating: (1054)
|
Hello esantos and in case you do decide to download the source file instead of typing it in yourself from the manual, please note that it does unfortunately uses German mnemonics instead of English ones (i.e. change your Step7 to Geman mnemonics from the Options->Customise menu, import and compile the Source and then change it back to English mnemonics). |
Cheers |
|
This contribution was helpful to2 thankful Users |
7/13/2011 10:10 PM | |
Posts: 3 Rating: (0) |
ThanksUMENCHOfor your reply. Actually I wanna write a simple program for s7 that can input a 4-20 mA signal, define some Upper-limit/Lower-limit alarm like LAL and LAH, and outputs the alarm signal etc when the process value exceeds Lower/Upper limit. I worked for digital I/Os and their good understanding. And for ANALOG I/Os I ve gone through 4-20mA Geting Started Manual But i m unable to program and simulate this simple prog for Analog values. What is the simplest Source code for this? and how it can be made? (like <get_values>--<compare_with_LAH/LALvalue>--<output/alarm>) screen_shot is attached.. |
7/14/2011 6:57 AM | |
Joined: 3/21/2006 Last visit: 9/10/2024 Posts: 10228 Rating: (1181) |
Hello, Take a look at attachment. This is the compiled above mentioned source code. Best regards, Hristo Mihalev AttachmentTest_1.zip (871 Downloads) |
This contribution was helpful to1 thankful Users |
Follow us on