Search the Community
Showing results for tags 'linearization'.
-
Hi all first, I want to say that although I really hated unitronics at the beginning I am quite impressed by the capabilities of the PLC+HMI all in one. so, I am using the Linearization function as follows: I convert a timer into a numeric value and then ramp up or down some variable, in function of time, my values are X2,X1, Y2,Y1, X, Y...a simple linear function. let's have this example going from 6000 to 600 in a period of 5hrs, so the variables are as follow X2=0 (End value as timer goes to 0) X1=1800000 (timer value 5:00:00:00 loaded on ML) Y2 = 6000 Y1=600 So far is a simple Linearization larger time value =minimun value, smaller time value = maximum number value the time is going down while the output is going up? So the linearization function "works" but at some specific time values boom! the output ..overflows? The green line is the timer going down, about at a remaining time of 3:53:40 (1402000 in the ML) the output value of the LINEAR function suddenly increases by 2400 then goes back and then increases by 2400 again, this happened again at another time with another set of variables 3:00:44:13 (1084413 in the ML ) going from 3500 to 500 I know that the linear function has its limitations but even with these limitations I am working within the range : " Note ♦ The X and Y values must not exceed the range of -2147483648 to +2147483647. Known Issue Note that the Linearization function cannot be used in cases where one of the following is close to the value FFFFFFFF: One of the inputs An intermediate calculation" So in conclusion, I am doing something wrong, or is this some stupid bug?.... this particular issue was about to be catastrophic for my application I added a test program that runs on V700 hardware to demmostrate the issue TEST.vlp
-
Hello everybody, I have an analog force gauge (4-20mA, -5.000[N] ranged 5.000[N]) . I'm using an OPLC JZ-10-11-UN20. (has 3 AI's and a TC input) I read a few posts in this forum as well as the U90 help example regarding linerarization, and for some reason (probably there's something I'm missing ) it just doesn't work. the force gauge has a LED panel, which showed 0.291 [N], while the U90 program I wrote is attached. I notice changes in the result in the LED panel while applying force, but the U90 showed no change. can anyone point out what I'm doing wrong? secondly, the results I get from the TC (K type, range -200 to around 1000 deg. celsius) are around 220. I understood that since I use this specific model of JAZZ, this would not require special linerarization 22 would make sense, not 220. any Ideas ? does this require some kind of calibration? Thanks , Tzachi
- 3 replies
-
- jazz
- linearization
-
(and 2 more)
Tagged with:
-
I'm converting a Visilogic (V1210) program to Unilogic (Unistream 15.6) and see that Unilogic does not (that I can see) have the vector linearization function block. Is this something that can be done with a struct? If so how exactly? I'm still learning Unilogic! thanks -dB
-
Hi, I'm using a temperature sensor with 0-10V input and a Samba SM35-J-TA-22. When the input rise above 18 degrees, I want the analog output to start from 0 % and at 20 degrees and above it should be 100 %. How can I make this happen? I have one linearization block to convert 0-10V to 0-50 degrees and tried with another for the function described but did not get it work. Does anyone have an idea how to do this?
- 6 replies
-
- analog input
- analog output
-
(and 1 more)
Tagged with:
-
Ok guys, first time attempting ladder programming here using a V130-J-R34. I am using AN0 to get signal from a 3-wire pressure sensor. Brown/Blue goes to +/- 24Vdc and the black wire is my signal. I get a 4-20 mA from the sensor and according to the default jumper settings of the V130 the AN0 is set to accept current as input. I am trying to perform a simple linearization to display how many bars my sensor reads. Since the memory of the analog input is 10-bit this is how I set it up: (see attachment) The logic is that being a 10-bit memory the max 20mA corresponds to DEC 1023 and min 4mA to DEC 204. Then this is converted to 0-10 bars. However it does not work. My MI0 reads always zero and the output MI1 is stuck at -25. Any ideas here about whats wrong? Cheers
-
Hi, I am starting a new project on V350 with IOA14A02. I am simulating 4-20 mA input and trying to use linearization. X1: D#=819 Y1: D#=0 X2: D#=4095 Y2: D#=10 X=MI 0 Y=MI 20 I have no problem with the input MI0 I can see the full range when I change the potentiometer. BUT MI20 does not show any result. I am checking older example I have done and that works on the v130 and it seems I have done the exact same thing. What I am missing? Thanks Amir
-
Hello, I'm doing a project with JZ10-11-UA24. I'm reading a 4-20mA senzor on AI2, doing some math and then I'm outputing on AO2 to an analog 4-20mA panel indicator. I have done a linearization for the input, and it's working. I have done the linearization from help. But, when I wrote the linearization for the analog output, exactly like the one for input, it doesn't work anymore, either of them. Can you please send me an example how to work with 2-3-4-many linearization in ladder, for JAZZ series? I mean, in help it says nothing about using more then 1 linearization. After puting the right values for x1,2,y1,2, you set SB80 and thats all. But what if I want to do another linearization?? I have tried to reset SB80 and set it again, but nothing, output values aren't what should be! I'm looking forward for your answer!
-
Hi, I have OPLC V350-35-TA24 what includes onboard I/Os and configurable via wiring 2 Analog, 2 PT100/TC, and 1 HSC/ Shaft-encoder Input. So, first, i made changes in hardware project where analog input 2 and 3 were 0-10V, I connected them with potensiometer (i used voltage divider, so to analog input went 0,33-11,5 VDC, pot supply camed from same supply as OPLC +24VDC, pot signal went to analog input, pot ground went OPLC 0V). I also changed jumper setting, input 5 (analog input 3) - JP4 B, JP10 A, input 6 (analog input 2) - JP8 B, JP9 A. I made new project were was only linearization block: X1=0, X2=1000 (10V), Y1=0, Y2=16384, input MI0, output MI20. BUT in online test MI 0 was zero, I changed input voltage, but still, no numbers. Then I tested other analog input, same story !???? Today I changed analog input 2 (input 6) hardware configuration- 4-20 mA, jumper setting - JP8 B, JP9 B. Also, before inputs were PNP, now I changed them NPN source - JP12 A. 4-20 mA source I connected: plus into OPLC +V input and minus into analog input. In linearization block were: X1=0, X2=1000, Y1= 3277, Y2=16383, input MI 0, output MI100. BUT in online test MI0 were zero. What Im doing wrong?!! test 1903.vlp
- 1 reply
-
- analog input
- linearization
-
(and 3 more)
Tagged with: