8/29/2016 7:43 AM | |
Joined: 8/9/2011 Last visit: 11/1/2023 Posts: 324 Rating: (19) |
Hi I have converted (0-20mA) Analog input value to (4-20 mA) Range. I have to scale this value to 0-20 mm / s range of vibration. The code I have used is as in the capture? Is this correct? I doubt about the range used in Norm_X instruction ------------------------------------------------------------------------------------------ |
Last edited by: Min_Moderator at: 8/30/2016 11:01:29 AMNew subject after splitting "Any intelligent fool can make things bigger, more complex. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction.":):) |
|
8/30/2016 10:36 AM | |
Posts: 5225 Rating: (1185)
|
Dear Jorge - The link you have given earlier explains what is going on. You are using a Siemens Library function that already scales the value for you. The 4 - 20mA is rescaled to look as if it is a 0 - 20mA signal. The answer by huggy_d1 is valid for the situation when you are using a raw input. In your case you are already processing the value before attempting to scale it. To the NORM_X the input it gets looks like a 0 - 20 mA signal. +++ Strange you did not explain early on where and what you did... maybe thinking we would know what FB4 does. For others I add now a PDF with the pre-scaling processing that you have applied. Are you stealing some of our attention because you did not know what FB4 did (why not!).. or were you looking for some personal attention? Congratulations this will be the last time I answer one of your posts. w AttachmentScale_current_input.pdf (367 Downloads) |
This contribution was helpful to1 thankful Users |
Follow us on