Integration calculation of data in s7-300 - Database & Sql Blog Articles

Probe current voltage pin 420*4450 head diameter 5.0 over current current and voltage pin
300-04043
L0504-Murata muRata common mode inductor 90Ω 150mA
GW MB10F 0.8A 1000V rectifier bridge

Q: I now have a CPU of 312-1AE13-0AB0, and a DI of 321 and an AI module of 331.
It is now necessary to calculate the flow for a certain time on a flow meter. The flow meter can be selected from a 4-20 mA output or a pulse output.
I want to ask,
1. What method should I use to calculate the total flow for a certain period of time if I use the 4-20 mA output? Many people say that I use the ob block or interrupt what I don't understand. Can you explain in detail?
2. What should I do if I use pulse output? I heard people say that the 300 cpu has a high-speed counter. Does my cpu have such a function? If so, how should it be applied? Is the input entered in the DI module? Or does the CPU provide the corresponding interface? How should the program be written?
The on-site metering device has a pulse output. This output can be defined as one ton per pulse or 0.1 ton per pulse (measured by the meter itself). The above program can be written like this:

Adding a pulse is 0.1 tons
I0.0 (operation signal I0.1 (pulse accumulation signal) M10.0 (ADD_R) addition calculation
--||-----------------||-----(p)——————
MD0IN1
0.1IN2OUTMD0

3.2v105Ah Lithium Ion Battery

3.2V105Ah Lithium Ion Battery,105Ah 3.2V Phosphate Battery Cell,3.2V105Ah Deep Cycle Solar Battery,3.2V 105Ah Lifepo4 Forklift Battery

Jiangsu Zhitai New Energy Technology Co.,Ltd , https://www.zhitainewenergy.com

Posted on