Nancygogogo
MrPLC Member-
Content count
13 -
Joined
-
Last visited
Community Reputation
1 NeutralAbout Nancygogogo
-
Rank
Sparky
Profile Information
- Country United States
-
AB ML1100 Set a timer after the "less than" is true for 5 seconds
Nancygogogo replied to Nancygogogo's topic in Allen Bradley / Rockwell Automation
Awesome~ Thanks, I got the number I want!!! -
AndrewG liked a post in a topic: AB ML1100 Set a timer after the "less than" is true for 5 seconds
-
AB ML1100 Set a timer after the "less than" is true for 5 seconds
Nancygogogo replied to Nancygogogo's topic in Allen Bradley / Rockwell Automation
Hi Mickey, I did use the same filter equation as yours, and I use 0.1 for the constant, but the output still not stable, as it said in the attached. The smaller the number the more damping. Ohhhh, so probably I can use 0.0001 as my constant? Cause before I thought 0.1 is the smallest number I could use.... -
AB ML1100 Set a timer after the "less than" is true for 5 seconds
Nancygogogo replied to Nancygogogo's topic in Allen Bradley / Rockwell Automation
Hi everyone, thank you so much for your answers, I got it!!!!!! I change the user input to an integer number and it works as expected. Then I reset the address for the user input and it works as well. I think there might be some problems with the address before... Thank you for all your help. -
AB ML1100 Set a timer after the "less than" is true for 5 seconds
Nancygogogo replied to Nancygogogo's topic in Allen Bradley / Rockwell Automation
I am using the floating number is because the output of the filter I use for the analog input is a floating number. Filtering.txt -
AB ML1100 Set a timer after the "less than" is true for 5 seconds
Nancygogogo replied to Nancygogogo's topic in Allen Bradley / Rockwell Automation
Hi, thank you so much for the reply. The timer shows above, I think it looks like a right logic, but probably not. The signal will be under 20%, however, there are always too many noises. The logic right now is, there is a user input at N7:0 (as you say) when the liquid level is below the user input number, the alarm will be turned on. Since the signal is not stable at all (all the time), so if the user input is 20 without the timer, the buzzer will be turned on, and make the sounds immediately. For example, the reading (ex.1) from the sensor is 23, 22, 23, 25, 20, 23, 22... what I would like to achieve is, at the ex.1 situation, the alarm will not be turned on. At ex. 2, it will be turned on. Ex. 2, reading is, 22, 21, 20, 18, 19, 20, 20, 19, 19, 18, 17...(under 20 for like 5 seconds. If the reading back to larger than 20, the timer will be reset, until the reading keep staying under 20 for 5sec.) I was wondering if "Time on Delay" function is the right one for my purpose. What I am thinking for this function is once there is a reading is 20, the timer will start counting. Does this explanation make sense to you? I can provide more information if you want. Please advice, thank you very much. -
AB ML1100 Set a timer after the "less than" is true for 5 seconds
Nancygogogo replied to Nancygogogo's topic in Allen Bradley / Rockwell Automation
The thing I am thinking is for the timer I use right now probably cannot meet my requirement. I am not quite sure. What I want is when the liquid level below 20%, the timer is on, if the timer could count from 5 down to 0, then hit the alarm, if not, then just wait for the liquid level below 20% for continuously 5sec. (Cause the input address is an analog input, not stable, the number will jump around 20% which make alarm sounds wield) Do you think the "Time on Delay" function can meet this, or there's any other function I can use? Please advise. Thank you. I am sure that I did not use T4:2 anywhere else. And there is no MCR and JMP so far. -
Nancygogogo started following AB ML1100 Set a timer after the "less than" is true for 5 seconds
-
AB ML1100 Set a timer after the "less than" is true for 5 seconds
Nancygogogo posted a topic in Allen Bradley / Rockwell Automation
Hi everyone, I have a question on the ML1100 PLC. So in my program, I would like to set an alarm for low-level liquid. Since the data I got from the sensor are not stable, I want to set a timer, such as when the level is less than 20% for continuously 5sec, it will turn on the alarm. I have a "less than" function, but I don't know which function I can use for the timer. The lung below does not work. Can anyone help and give some advice. Thank you very much. -
Analog Input Average or Sampling Interval
Nancygogogo replied to Nancygogogo's topic in Allen Bradley / Rockwell Automation
Hi Mickey, Thank you for your reply. So ideally I think the output number should smoothly go up, but the result I got from the pressure transmitter (when I am filling the water) is 10, 11, 15, 30, 16, 18, 40, 19, 20...etc. it will jump to a large number then back to the normal number... Also, I read the file you send to me, I was wondering how should I achieve this equation, should I use the Math function? And I saw there is a PID function, is this function necessary to be used for my problem? I am new to the PLC, please advice, thank you so much for your help. -
Nancygogogo started following Analog Input Average or Sampling Interval
-
Analog Input Average or Sampling Interval
Nancygogogo posted a topic in Allen Bradley / Rockwell Automation
Hi everyone, I am working on the AB MicroLogix ML1100, I have a question about the analog input. Right now I am able to read the analog input from the pressure transmitter (0-10V), however, the number is too jumpy... I would like to read either average for such as every 2 seconds or slow down the sampling interval which the function could give me a stable output. But I am not sure which function and how should I use them. Please advice. Hope if there's anyone could help me on this, thank you so much. -
Addressing an Analog Input on Connect Components Workbench
Nancygogogo replied to Nancygogogo's topic in Allen Bradley / Rockwell Automation
Thank you for your reply. Could you please give me an example for far-right position? I am new to AB PLC program, not very sure what does far right position means. Thank you. -
Addressing an Analog Input on Connect Components Workbench
Nancygogogo replied to Nancygogogo's topic in Allen Bradley / Rockwell Automation
Yeah, I got your point that two data need to be the same type, I tried N7:0 as the destination address, but it gave me an error (attached: plc1.png), am I doing the right way or it is wrong with the program. I was also wondering if it is possible that I can directly read the data from an analog address (I:0.5). Thank you. . -
Addressing an Analog Input on Connect Components Workbench
Nancygogogo replied to Nancygogogo's topic in Allen Bradley / Rockwell Automation
Thank you for your reply. Connected Components Workbench is the software I use for programming the AB Panel View C300. May I ask which software do you usually use for the touchscreen? Also, I have another question for the analog input. So I connect the pressure transmitter to the analog input (IV2+) which address should be I:0.5, and when I use the voltage meter to check on the transmitter the range is between 0-10V (Also, how should I know the range for the port in PLC?). However, as you said before, the data received by PLC should be an integer, so when I use MOV or COP, the source should be I:0.5 and the destination address could be N7:0/8 (0word,8bit)? When I enter this address, there are some errors, please see the attachment. If it is possible, could you please give me an example of the destination address? Please advice, thank you so much for your help. -
Addressing an Analog Input on Connect Components Workbench
Nancygogogo posted a topic in Allen Bradley / Rockwell Automation
Hi everyone, I have a question on AB PLC, I am using the RSLogic ML1100 which has 2 analog inputs. And the address I use for the analog input is I:0.5, which is working fine right now(0-10V). However, I wanna read the real-time data from this address and show on the touchscreen, and when I validate the program in the Connect Component Workbench, there is a warning and cannot get the data from the address (under the 'tags' with the same analog address I use in PLC). Pease see detail in the attachment. I was wondering if someone can give me some advice to fix this warning. I already try all the data types but didn't fix this problem. Thank you.