Analog signal scaling in mitsubishi gx works 3

IdealDan

Member
Join Date
May 2017
Location
MA
Posts
480
Hi Guys,
I'm Still looking for function block that is used in Mitsubishi GXWork3 for 4-20mA scaling.
Is there no Mitsubishi friend here?
 
Can you not write your own? That's what I'd normally do as the maths isn't complex.
Well, I can write calculation but I still need to know the instruction for analog scaling and even instruction to call in a program.


Regards
 
Dan247humble@yahoo
scaling is easily done through module parameter setting, no FB needed at all
Really?
Interesting, could you please throw more light on the procedure?
I'll be grateful.
 
Last edited:
you can set your values there, analog range is by default -32k <> +32k


you can set it to whatever will fit your needs




 
you can set your values there, analog range is by default -32k <> +32k


you can set it to whatever will fit your needs




Sczot, You have made my day. I really appreciate.

Please, Could you also tell me how to Call in a SubRoutine Program file? (like in Allen Bradley where JSR Instruction is used)How can I do this in GXWork3?
 
Khaled: I suggest you start a new thread unless you are doing it in GXWorks3 as the answer has already been posted, stating what PLC etc.
There area lot of old Threads here regarding scaling for example a simple one is if the min and max raw value is 0-32000 and your scale you want is 0-5.0
then divide 32000 by 50 = 640 (or 64.0)
Then divide the raw value by 640 so if the raw value = 16000 then 16000 / 640 = 25 (2.5) so that is half of the 5.0 which corresponds to half the max raw value. It is best to convert them all to real numbers do the maths then you will have more accurate results.
However, if your analogue raw does not start at 0 then you need to subtract the offset first.
 
Which PLC are you using as it matters, if FX5U then it is slightly different than say FX3 or Q series.
So for FX5 I suggest you create your code in an FB (Function Block) then you can call it in your program especially if you want to call it on a condition.
or if it is just another program block you want to call in the main scan then just create a new Program Block and add it to the Task.
Function Blocks do not need to pass parameters but then the labels (symbols) should be global ones so they are accessible by other programs.
 
Hi !

I need to know how i can convert 4-20mA to 0-5 meters.

Hope you can help me with that.

Thx



This is not nearly enough information for anyone to help you, but perhaps we can help you help yourself:



The problem is that your system will not read in the milliAmp value, it will read in a value, which value is called by many names:

  • Raw Input
  • Raw Analog Input
  • Analog Input Value
  • DN (Data Number)
  • DN (Digital Number)
  • etc.
Presumably

  • You have a PLC
  • A transducer is converting a 0-5m position of some object into a 4-20mA signal,
  • The PLC has an analog input channel
  • That input channel is converting that current signal into a value, which value
    • is typically a 16-bit signed integer,
    • is acting linearly with position and current

  1. Is that correct?
  2. What is the integer value when the position is 0m?
  3. What is the integer value when the position is 5m?
  4. Alternatively, what are the integer values for any two values, on near 0m and one near 5m?
Scaling questions come up very frequently on this forum; I suggest you do some searching. Here is one that explains what happens in scaling in some detail: https://www.plctalk.net/qanda/showthread.php?t=126614&highlight=scaling
 

Similar Topics

Hi Guys, How is Analog Signal Scaled/Programmed in Mitsubishi GX Works3 and GX Works2? Please help. Regards
Replies
0
Views
1,421
Hello, Can someone illustrate the difference between different types of scaling of analog signal including Linear, Logarithmic and Square Root...
Replies
5
Views
3,213
Hi all, I'm studying how to configure my analog input module (1769-IF8/A)so that to scale my input signal from raw to a scale defined by me (I...
Replies
5
Views
13,342
Hello, I have a compact Logix plc and I have been task with configuring alarms into our SCADA when an Analog signal stops moving. The analog...
Replies
6
Views
238
I'm pretty new to PLC's, so forgive me if I use the wrong terminology and whatnot. We have an issue at work where we have a flow meter that is...
Replies
10
Views
290
Back
Top Bottom