flow meter pulse output to plc


How to take Backup from Siemens S7-300 PLC? Once we installed the correct parts it worked as expected. (n.d.). In AB CompactLogix or ControlLogix you can have an event task that runs when the input goes true, or a fast periodic task, or for a continuous task call the counting routine several times in your main routine. A turbine flow sensor comprises a turbine rotor, mounted on a shaft within the cylindrical enclosing the liquid stream [1]. The S7-1200 PLC accepts a logic 1 signal with a minimum of 15 VDC up to its rated voltage level (24 VDC). You'll thank us in the end. Can the internal totalizer be mapped to a HART variable?? Pulsed output flow meters can be integrated into measuring / dispensing systems. Pulses will give you accurate volume data from which you can estimate flow. Pulse counting is the only way to ge accurate volume measurment, these cards also measure the frequency of the pulses, this can be used for real time flow rates, and in my opinion is just as accurate as the flow rate through an analog input. Never used a pulse output meter with a ML, but I've done lots of applications with SLC's and PLC-5's. website. You can unsubscribe at any time. document.getElementById("ak_js_1").setAttribute("value",(new Date()).getTime()); Documentation and Change Control of PLC or DCS Systems, PLC Based Industrial Conveyor Ladder Logic, How to use Masked Move Instruction in PLC, Face Mask Making Machine using PLC and HMI. 2022 Reproduction without explicit permission is prohibited. The K factor should be set from the factory. What type of flow meter? If that is true, after certain period due to IEEE 32 bit float format constraints it will not add it at all. Thus, the available datasheet on the internet cannot be trusted. The add on controller counts the pulses and sends a discrete singal to the PLC when a set point has been reached. I had an issue where the designer specified the wrong parts that had a 5Volt output, they would work for a while then stop working. We promise not to spam you. Thus, the choice of the supply voltage depends on the logic 1 voltage level accepted by the PLC digital input channel. Others put out less. The calibration process may be done using a labeled vessel and the number of pulses produced right after filling the vessel with exactly 1 liter should be counted. In cases when the sensors signal is changing faster than the CPU cycle, configuring the digital input channel to interrupt the CPU cycle is needed. This is also the better answer because what the meter's totalizer says and what the PLC's totalizer says, always agree +- 1 gallon or so. If anybody has any links that I could read up on that would be great also. After then by using 1 second clock pulse, we will store this value in other memory location and every second new value will be added & updated. Ladder's ok, but have you heard of our Savior hardwired logic. Measurement, Instrumentation, and Sensors Handbook: Spatial, Mechanical, Thermal, and Radiation Measurement. In situations when no counter-oriented channel is needed and no interrupt-driven code is required, the pseudo-code is as simple as being just an if statement: In the following repository, Tia Portal library consisting of 2 FBs that can be used to calculate the accumulated flow and the flow rate. Generally speaking the counter value is divided by the K factor. A HSC is overkill. Make PLC program to implement totalizer for flow meter. The pulse flow meter is a speed flow sensor with high accuracy, good repeatability, simple structure, high pressure, wide measuring range, small volume, light weight and low pressure loss. Figure 2 The internal construction of the YF-S201 sensor. micro flow sensor : 2mm, 4mm,6mm,10mm,1/2,1 inch. Everyone in here has great answers, but just so OP knows the lingo: HSC means High Speed Counter. Pulse output turbine option with LCD readout or not. Press question mark to learn the rest of the keyboard shortcuts. If you disconnected everything and reconnected it would again work for a while then stop. So we will compare this value with actual value and reset it automatically or we will provide RESET button to reset the totalizer value. We just want to totalize the flow. Here we will convert this flow rate from L/H to L/Sec by using DIV instruction for calculation. 989EN-4016 transmitters have eight configurable counter/timer channels with 32-bit up/down pulse event counters; 16-bit periodic timers for last pulse state; and momentary latch alarms for each counter. I'm not familiar with all those flowmeters but many have an open collector output for pulses with the one leg tied to the flowmeter common and will in fact need a pull-up resistor to work properly. I can't say what the cost of a factory matched control unit costs, even though we have replaced several, I haven't seen the paperwork. Answering this question is not an easy job. In regard to the power supplytake the load off the power supply. Run the support tool in the AdminCP to restore the default theme.]]. The time this doesnt work is if you need exactly the current flow total for dosing or level control. Copyright SILVER AUTOMATION INSTRUMENTS LTD. All Rights Reserved. Then the scaling of the pulses would be adjusted so the plc can read all the pulses. If the analogue is derived from pulses, then it is an average. GoodLuck BD. We can solve this problem by simple logic. A popular application ofuniversity power plant steam cost calculationsis achieved by sending pulsed outputs from flow meters to the 989EN, with discrete inputs and signal counters configured to totalize/convert to digital data. Other applications using the 989EN-4016 discrete outputs for limit alarms and control include; water usage sub-metering, liquid filling, and transfer processes. After each revolution of the turbine rotor, the hall effect sensor gives electrical pulses as an output at its terminal. - What type of input card would be needed (micrologix platform)? [[Template core/front/global/updateWarning is throwing an error. Community Software by Invision Power Services, Inc. These features include over-temperature, over-current and over-voltage output protection, as well as a wide operating temperature range of -40 to +70C. Figure 3 Wiring diagram for the YF-S201 flow sensor. I would guess that they are >$1000. Free Instrumentation Course for Trainee Engineers, Single Push button to ON and OFF a Bulb using Ladder Logic. One possible condition is when the sensors signal frequency range be higher than the rated frequency of the digital input channel of the PLC. The modules also have rugged operation features; making them consistent with other Acromag industrial-grade signal transmitters. Is there any gotchas if we increase the EU/pulse in the meter to accommodate the PLC scan time? I concur with what others have said. We don't use them for flow speed readings. This website uses cookies to ensure you get the best experience on our In looking at various paddle wheel type flow meters I notice a lot of them have a pulse type output. The significant drop in voltage is likely due to a grounded conductor. Also, provide at least 2 seconds between the HSC Reset command and the next cycle start command. The sensor is tested by supplying it with a voltage up to 30 VDC, and it operated as expected. Why not increase the value of the pulse? Here we consider a flow meter for measuring the fuel with maximum flow rate of 100 liters/hour. If the pulse value is 100 gal change it to 1000 gal. By using this logic, we can calculate total fuel passed from the pipe. However, operating the sensor under conditions that are a way far from the available online specifications is a good idea. If you're needing accuracy, put in for a HSC card. My suspicion is that the ethernet is the culprit, but as 200ms gave me good enough results, I have not investiagte further. For flow meters with pulse output, Acromags989EN-4016transmitters are widely used for I&C, remote monitoring, and sub-metering applications. LinkedIn and 3rd parties use essential and non-essential cookies to provide, secure, analyze and improve our Services, and to show you relevant ads (including professional and job ads) on and off LinkedIn. The GE RX3i has HART pass-through. The meter directly controls the flow valve, dropping flow rate as the target is approached if it needs to be really close. Analogue will give you accurate flow data from which you can estimate volume. This should only be done when tested against calibration equipment. The "K" factor is a factory calibration variable that will be different for each meter. One for power of the PLC itself and one for power to the valves as well as powering loop power to sensors for pulses(Reading 11vDC). Do you want to measure flow (rate) or volume? Lets go over your application and discuss how these twin totalizerscan provide the information you need. You'll never have arguments as to which totalizer is correct, because they'll always read effectively the same number. There is a lot of functionality you get for the price though. Exactly what ZoidbergMedical said. Since the flow sensor at hand is a pulse-output sensor, it is impossible to perform this test because the normal state of the internal hall effect sensor is not known. This is new territory for me so I'm just trying to get up to speed by learning the basics. At least 2 of the manuals reference a pull-up resistor but the IDEC Tech didn't seem to think they were necessary. The options are many. That might get you what you're looking for. Retrieved from Wikipedia: https://en.wikipedia.org/wiki/Flow_measurement, [3] YF-S201 Datasheet. How to Configure an Alarm in InTouch SCADA? Even better, if the connection between the meter and the PLC gets disconnected or whatnot, when it comes backcorrect totalizer. When totalizer value will reach to 5000 liters, then automatically it should be reset or we can reset the value using RESET button. Microsmart is also rebranded as Schnedider Electric Twido , and although I did not used Microsmart I have used Twido and I have used HSC without resistors and with flowmeters, so I could say that you do not need resistors. Thats what I was thinking. What frequency of pulses do you anticipate? PLC Program for Artificial Fishpond Water Level Monitoring System. In addition, the modules are value-priced for 16-channel energy monitoring Ethernet transmitters. While input module from ethernet RIO had specs of few ms to register change, my pulse from flowmeter with the rate of 100ms failed to register. By using DIV instruction we converted L/H flow into L/sec and final value stored in MD18. The industrial grade 993EN-4016 is UL/cUL listed, with typical accuracy of 0.05%. Increase the off time to stretch the pulse so the code sees it. If the sensor was an on/off sensor (a photoelectric sensor, for example), determining the right sensors connection type would be an easy job using the Avometer test. Often a flow meter will require a high speed input card. I have done some testing with a frequency generator and was able to read upto 9000 pulses/sec using an Event Input Interupt and a input filter of 25us. It's easy! Customers appreciate the user-friendly built-in web browser configuration software tool, along with the ability to remote in over the internet. The available online specifications are as follows [3]: The sensor signal wire switches over the supply voltage. The fluid flow is directly proportional to the number of pulses provided from the hall effect sensor [3]. When a liquid flows through the sensor, the turbine blades are subjected to a torque that drives the rotor. One additional method that just came to my mind is to integrate the flow value if that data is avaible. We were considering reading the analog every second and totalizing that. When a steady rotation speed has been reached, the speed is proportional to fluid velocity [2]. Perhaps you could change the k factor to something super small, but you'd be losing resolution. Pulse flow meter can be scaled pulse output or frequency output. K factor would possibly be volume/pulse. Select Accept to consent or Reject to decline non-essential cookies for this use. PLC Digital Input and Digital Output Modules. Do you mean on the meter itself? Also, check what your scan time is in the PLC to see if that would even be a solution for you. As mentioned, the YF-S201 is an NPN sensor, which means it should be connected to a sourcing digital input module. You can also follow us on Facebook and Twitter to receive daily updates. K factor, usually the meter K factor is used in scaling the pulse counter. Trouble shooting digital input card on Direct logic 205 PLC, Flow Meters Scaling - Converting Parameters, Currently Active Users Viewing This Thread: 1. This should be able to be captured by a typical DI input card. Here we have considered only final output of the scaling, so we have not mentioned 4-20mA scaling in the logic. Each channel A/D is 16-bit high-resolution, with a fast 8mS scanning rate of all 16 channels. These units take in a frequency signal from a proximity sensor that is sensing gear teeth and convert the rate into a 4-20ma signal. I primarily use the 1771-CFM or 1746sc-CTR4 cards for pulse meters. Literature generally says this pulse output can be brought directly into a PLC. You'll have to figure out the latency to see if that's viable. Another vague thing is the information about the connection of the YF-S201 sensor, should it be connected to a Sinking or a sourcing input module? Min flow can detect is 0.6 L/h. Flow sensors are devices that measure the flow in terms of the mass or the volume of a fluid passing through a pipe (or a tube). We just use them for volume. In general I am getting mixed signals from the manuals of the flow meters and the IDEC support technician I was able to get a hold of. - How would this type of input compare with an analog input (4-20) in price? Generally speaking for these platforms on a per point cost basis, pulse inputs are about double the cost of an analog input. CRC Press. Coriolis and some marketers can totalize in the meter and drive a DO to signal when the volumetric is met. Enter your details to receive helpful content and product news. We use a PLC-5. The primary element produces a physical property that is related to the flow [2]. Various sensor sizes: 1/2, 1, 2, 3 or 4, 8, 10 inch pulse flow meter, Inline pulse output flow meter with flange, tri-clover, tri-clamp or thread process connection, Electronic pulse meter offers one pulse per unit (gallons and litres). The measurement of water flow is not very difficult. So if you were looking for gallons and the meter pulse represented 0.01 gals/pulse, the K factor would be 0.01, so if you had 100 counts, divided by the K factor, would be 1gallon of flow. MD10 :- Memory word for final output (L/H) of flow meter, MD18:- Memory word for final output (L/Sec) of flow meter. Hsc is the way to go. For flow meters with 4-20mA current loop output, Acromags993EN-4016is used. Series 3 circuit board. In short, if you need to extend your flow meter measurements beyond local PLC, as well as add totalization function to the data, call Acromag. On a different machine we have some "F/I" converters that are cheap (<$150). Also, would the pulse width need to be set above the period of the PLC scan time? [2] Flow measurement. In this network we need to reset totalizer. Our flow meter pulse output is too fast for the PLC to catch all the pulses. I dont understand that place. How to Work with Allen Bradley RsLogix Emulator? Hsc is the proper way to do it. What are the specs on the Flow meters? ", Press J to jump to the feed. In this problem we will consider S7-300 PLC and TIA portal software for programming. (n.d.). Retrieved from hobbytronics: https://www.hobbytronics.co.uk/datasheets/sensors/YF-S201.pdf, To view or add a comment, sign in I know we could use a HSC. Some high end meters allow you to adjust the K factor in the meter, the higher end meter input cards also have K factor adjustments. I'm not looking for hard numbers just an idea. Community Software by Invision Power Services, Inc. If a meter reading show +24V across + and -, the problem is in the field. Most of the flow meter manufacturers have an additional unit that will change the pulse into a 4-20mA. I don't know what the frequency of the pulses is. If the meter has a MODBUS interface you may be able to write totalizer setpoints, if needed, and then use the meter's digital output to trigger when complete.I've set up truck/rail loading systems using micromotion coriolis meters with there higher end transmitters to do stand alone filling stations. The sensor at hand is found to be an NPN sensor. Flow measuring is a huge field. I'd say make sure that each pulse takes at least two plc scans. All of ours also have the additional control unit from the manufacturer. You can update your choices at any time in your settings. In such a situation, the designer should make sure to purchase a digital module with a hardware counter available to be utilized by the sensors connected channels. I want to measure flow rate. The speed at which the turbine rotates is detected with the aid of another rotational speed measurement device, a hall effect sensor is used in YF-S201. Or like everyone else says, get the purpose built HSC which is right in that cards wheelhouse of intended operation modes. Is your DI card rated for the speed at which you are trying to see pulses? I am using two power supplies. Coriolis mass flow. [1] John G. Webster, H. E. (2017). Actually nah, just get an hsc this is automation not diy hack job city. Haven't really had many issues with these settings. I did this one time for counting pulses from a stepper prox, and it's been working for several years. I've run into meters where that was not an option. That could be done with pulses by counting pulses over a given time, dividing by the time, and then continuously moving that number to another location? The meter based totalizer was more accurate than the scales. When I changed to 200ms, it catched pretty well. I use a ML1200 with the input filter set at 1ms. To view or add a comment, sign in. E+H promass 83. That significant of a voltage drop on a power supply is indicative of a bad PS or the 24V is shorted to 0V and or ground somewhere. MrPLC.com They sound like a good fit for your application. You don't have to worry about pulse width, timing, or periodic tasks. Less pulses over the same time period. Why would one be more accurate than another? Knowing that the sensors operating voltage can be any value starting from 5 VDC up to 24 VDC, 24 VDC is the right voltage level to feed the sensor by. Pulse output turbine meter has fast response for batch control. Deciding how to interpret the signal of a pulse-output sensor connected to a PLC is a common design task and should be taken care of at the tendering phase. Harder to change set points though if that is variable. document.getElementById( "ak_js_1" ).setAttribute( "value", ( new Date() ).getTime() ); document.getElementById( "ak_js_2" ).setAttribute( "value", ( new Date() ).getTime() ); This field is for validation purposes and should be left unchanged. We normally have around 30-60 pulse/sec on most of our units. Accordingly, the 989EN-4016 is a versatile, value-priced solution for Ethernet 16-channel discrete I/O with counter/timer in the US market. Here clock pulse of 1s (M0.5) will add value every second and store the result in memory word MD22. You need to be a member in order to leave a comment. YF-S201 (Shown in Figure 1) is a very cheap sensor available in the market for academic usage. Inputs have filtering for on and off time. Author :Bhaveshif(typeof ez_ad_units!='undefined'){ez_ad_units.push([[300,250],'instrumentationtools_com-box-4','ezslot_15',165,'0','0'])};if(typeof __ez_fad_cmd!='undefined'){__ez_fad_cmd.push('div-gpt-ad-instrumentationtools_com-box-4-0');}else{__ez_fad_cmd=['div-gpt-ad-instrumentationtools_com-box-4-0'];}; If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials. - What is a K factor, and how is it used in programming? The YF-S201 is a pulse-output turbine flow sensor. This theme may be out of date. Siemens S7 1200 PLC configuration in TIA Portal, PLC Ladder Logic for Sensor Scaling with Offset, How to Interchange ON Delay Timer and OFF Delay Timer in a PLC, Basics of Ladder Diagram in PLC Programming. I'm just looking for somebody who's done this before to describe the methodology. Despite being categorized as a low-quality and price sensor, it can efficiently do the job in a plant not working in harsh conditions 24/7, which is the case. Hi, We have several of these pulse type meters in use. How to Size a Cable for Industrial AC Motors? A wiring diagram for the YF-S201 is shown in Figure 3; the diagram shows how the sensor is connected to the I/Os of the PLC. It could happen that impulses are converted to real values and then added to totalizer. -. As accuracy / reliabality goes up so does the price. Different modes of operation, 8 digit readout etc. If you need to be really precise and not overshoot the setpoint even for a single pulse HSC is the only way, for all other purposes just increase the duration of the pulse to (as somebody has already stated) 2x plc scan time. In the age of energy management for process, manufacturing, and BAS, there is an increasing need for organizations to not only record and manage energy/water usage, but also sub-meter it. The K and D factors on the meter will affect the accuracy of your meter's flow reading/totalization. so how to get the signal of I0.0 to MD10. Here we moved value of MD22 in MD26 (total fuel in liter) for display purpose. Any input? OP: bite the bullet, go HART. The YF-S201 sensor specifications are not well known as there is no lead to the sensors manufacturer. Many applications call for converting flow meter pulse or analog DC current signals to an Ethernet network to extend the remote monitoring and control application. AcroPack Mini PCIe-Based Interface I/O Boards, university power plant steam cost calculations. Here for example we consider max value for totalizer is 5000 liters so after this value totalizer should be RESET. I would try to reset totalizer and see what would happen. This means that the signals voltage level will be the same as the voltage level of the power supply feeding the sensor. Figure 2 shows a snapshot of the internal construction of the YF-S201 sensor. Otherwise, on a lot of flow meters, you can dig into the parameters to setup the pulse width and # pulses/(gpm,lpm, lbpm), and then program into a divide and then add function. The "K" factor basicly lets the user know how much volume has passeed thru the meter for a given (usually 1) amount of pulses. An analogue signal will give you instantaneous flow rate - if coming directly from the flow transmitter. Here we have taken final output value of the flow meter in L/H (MD10). Thus making an Ethernet transmitter with totalizer function essential. Sign up for a new account in our community. If you can use either a normal or high-speed input on the micrologix it will be cheaper than adding analogue. The best practice in this situation is to test the sensors connection using a relay. Thanks! I know the ML has a high speed counter, but I suspect there isn't a frequency register, so for your application analog might be best. All of which can probably be replaced by a micrologix if so desired. hi admin, I0.0 receives the signal from the flow meter. Our brand is Accurate Meter. Resolution wil decrease. Each flow sensor is expected to have a primary flow element that is placed as an obstacle to the fluid. Use the built-in totalizer on the Promass and read it with your PLC using HART. I had ran into the same problem, and I concur that HSC is the way to go, or maybe direct module also might work. You can change the duration and spacing of the pulses. Usually a pulse flow meter has open collector NPN output which is configured like a switch to the 0V supply of the flow meter. You can configure which to trigger a pulse (for example every .25 kg it .5 kg) and the length the pulse to be on. You can try setting the RPI of the card to sub millisecond range. In order to calibrate the Pulse-output flow sensor, finding the accurate proportionality constant between the frequency and the flow should be done for all the sensors used in the plant. The PNP and NPN connections should both be investigated, and the right connection is the connection after which the sensors signal wire can provide the adequate current for the relays coil. Dont ever change the K factor in the flow meter. I'm sure it varies based mainly on ID of the flowmeter & various other manufacturing specs. Several ways to have dedicated code that runs faster that the rest of the code depending on the PLC. Metal tube variable area flow meter/Rotameter, SHR-1100 (Simple) Single-Circuit Digital Display Controller, SHR-5620 Digital Display Volumetric Meter, Helical gear flow meters/Bi rotor flowmeter, MS Series Touch Screen Programmable Automation Controller, SH 308 Series Diffusive Silicon Pressure Transmitter, Chemical dosing flow meter-magnetic meter. Right now to my knowledge the flow meters have 24vDC+ run to the Pulse+ and the Pulse- is terminated at a PLC input with the IO common being tied to 24vDC- to complete the loop. Learn more in our Cookie Policy. If the sensors signal frequency range lies within the rated frequency range of the digital input channel, then operating the channel in the normal mode is enough. There are different types of flow sensors, the ones widely used in the industry are [2]: The majority of flow sensor types rely on the principle of flow calculation using the forces produced by the flowing stream. I've been setting our meters to a pulse width of around 10ms and a pulse value of .5 gallons per pulse. It is then sent over the campus network to the central control room data historian. Pulse output flow meter can also option with LCD display, Pulse PD flow meter can measure high viscosity liquid, up to 10000 cp, Remote display options for pulse PD flow meter, ADDRESS:No.286 Tongtai Road, Jinhu, Huai'an, Jiangsu Province, China. Location: Thessaloniki, Macedonia, Hellas. Purpose is for totalizing. It requires a Pull-Up resistor to a positive voltage. It can use together with computer control systems such as secondary displays, PLCs, and DCS. The E+H Promass 83 has HART communication. Some of them will put out 12 pulses per rev of the wheel. The totalizer will keep track of the pulses its given and even if the pulses dont happen totally in real time, it will always give you the correct number of pulses - eventually. The flow meter has 4-20mA output that represents 0 to 100 liters/hour fuel flow in a pipe. Be the first to get exclusive content straight to your email. Note: Above logic is for explanation purpose only. Flomec QSE (Q-Star) Series Electromagnetic Meter. If total fuel is greater than 5000 (5000 value is for example purpose, it is depended on flow meter configuration & its range ) then totalizer count should be zero automatically or we can reset by pressing RESET button (I0.0). This sub is dedicated to discussion and questions about Programmable Logic Controllers (PLCs): "an industrial digital computer that has been ruggedized and adapted for the control of manufacturing processes, such as assembly lines, robotic devices, or any activity that requires high reliability, ease of programming, and process fault diagnosis. High speed? Sample averaging is software-configurable, as well as scaling registers on all channels, automatic calibration, and a self-test feature. Pulse output type: adopts three-wire system, non-contact square wave output, it is reliable signal transmission and long transmission distance, allowable working voltage DC12V or 24V, and can be used with various secondary instruments, PLC or DCS system connection.