8/27/2012 8:00 AM | |
Posts: 37 Rating: (1) |
can some one help me in above issues...... |
8/27/2012 7:36 PM | |
Joined: 9/19/2011 Last visit: 1/17/2025 Posts: 140 Rating: (33) |
Questions 1 and 2). Here is one way to do the math. “in0” is the input which is 0 ma to 20 ma full scale. This translates to the integer (“int”) value of 0 to +27648 in the Siemens input format. In my example (attached) I scale this to 0 to 100.0 (“pressure”). The NORM_X and SCALE_X instructions are used for this. If the input were 4 ma to 20 ma then the NORM_X instruction would have a MIN input of 4 * 27648 / 20 = 5530. Question 3). Use a Force table. With this you can set (force) and input or output point to any value. See my example. Forcing the input to 6912 causes an output of 25.0. 6912 is one-fourth of the NORM_X input range (0 to 27648) which is scaled to 25.5 with the XCALE_X (0 to 100.0). Question4). I do not know of a simulator for the S7-1200. AttachmentC:\Documents and Settings\AmerLJ\Desktop\AnalogScale&Format.zip (616 Downloads) |
Follow us on