6/25/2009 5:53 AM | |
Joined: 10/7/2005 Last visit: 6/8/2023 Posts: 2968 Rating:
|
Dear Ystick Ipresume you have the 115U system manual (you are listing an example from it) and am not too sure what the "real"problem is. All that your logic does is to takePW 192 (the first AI (channel 0) from the AI card with start address 192) and "scales" it to an "engineering range" of -2048-->+2048. This of course just so happens to be the range/resolution of the RAW AI value which means yourlogics call to FB250 really only removes the Activity, Fault and Overflow bits from the AI. Wether or not this type ofscaling is useful is of course another thing. Maybe the person who wrote this just wanted to ge the AI"scaled" withfull resolutionof theAI card and does the "real" scaling to engineering unitson the SCADA. I hope this helps cheers fritz |
Cheers |
|
6/26/2009 8:33 AM | |
Joined: 10/7/2005 Last visit: 6/8/2023 Posts: 2968 Rating:
|
Hello again Ystick Yes you can assuming that your current measurement device delivers a unipolar output that equates to themeasured 0 to 97 Amps. For example, lets say therange module in your AI card is of type +/-10V itwill work if your instrument delivers 0to +10V for a measured value of0 to 97 Amps. It will NOT work if your instrument is configured to deliver -10 to +10V for a measured value of 0 to 97 Amps (I highly doubt this will be the case and mention it here only for completness). Alterantively, you could simply change the call of FB250 or add another FB250 call to the logic which would look like this: JU FB 250 Name :RLG:AE BG : KF +192 KNKT : KY 0,5 OGR : KF +97 UGR : KF -97 EINZ : F x.y XA : DW x FB : F x.y BU : F x.y TBIT : F x.y I hope this helps cheers fritz |
Cheers |
|
Follow us on