5/19/2009 2:37 PM | |
Posts: 11 Rating:
|
Hello everyone. I am having troubles trying to set up some lasers that give an analog current and or voltage reading. I want to use the current signal. (0-20mA) I am uing a SM334 card and have configured my hardware at my test station where i will be trying them out. I have looked at the wiring diagram for the card but am not sure if it is correct as the sensors have more wires than shown for the card requirements. I might even have it correctly hooked up and not have my card configured in the hardware properly! Can someone help me out with making sure I have everything set correctly. Also, where do I look in my temp program that i wroteto see the value?? Below are links to what I am using. |
5/20/2009 4:19 PM | |
Joined: 4/24/2008 Last visit: 9/21/2023 Posts: 149 Rating:
|
to scale the analoug measurment value use the FC105. |
|
|
6/4/2009 3:59 PM | |
Joined: 9/27/2006 Last visit: 9/24/2023 Posts: 12153 Rating:
|
Hello JRock; There are libraries that you can access as well as instructions for step 7. In the TI-S7 converting library you will find a number of FCs and FBs that you can use, including FC105 (SCALE) and FC!106 (UNSCALE) that you can use with analog input and outputs. I suggest you delete or rename your FC105 so it does not create a conflict with the one you will import from the library, then drag the TI-S7 library FC105 to a network so you can use the online help (F1) to see how it operates. It will accept a PIWxxx address as an input, and return a REAL value that is scaled to engineering values, based on the Max and Min parameters you determine (if you want a value scaled to percentage, use 0.0 and 100.0 as limits). The bipolarinput will evaluate the input as a +/- 10 V, +/- 20mA signal if it is set to 1; it will evaluate it as a 0-20 mA. 4-20 mA or 0-10 V signal if it is set to 0. Depending on the type of current or voltage range you use on the analog nput channel, select Bipolar accordingly. If you need information on the analog signals used by Siemens in its S7-300 series, dowload the following manual, S7-300 Module Data. There are 3 chapters on Analog signals, especially interesting for youshould be the Analog Data Representation chapter. http://support.automation.siemens.com/WW/view/en/8859629 Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 6/4/2009 4:05 PM |
|
Follow us on