About the universal formula of PLC analog quantity

Publisher:HappyExplorerLatest update time:2024-03-26 Source: elecfansKeywords:PLC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. LAD method implementation

1) Calculation formula description

0b7901c0-5a01-11ee-939d-92fbcf53809c.jpg

[(IN0-IN1)/(IN2-IN1)]*(IN4-IN3)+IN3

IN0: Analog input signal , data type is integer

IN1: analog signal lower limit, data type is integer

IN2: upper limit of analog signal, data type is integer

IN3: The lower limit of the engineering quantity value, the data type is real number

IN4: Upper limit of engineering quantity value, data type is real number

2) Programming Instructions

0b8725e8-5a01-11ee-939d-92fbcf53809c.jpg

0b93af20-5a01-11ee-939d-92fbcf53809c.jpg

0ba5d56a-5a01-11ee-939d-92fbcf53809c.jpg

0bb257fe-5a01-11ee-939d-92fbcf53809c.jpg

0bcb9b60-5a01-11ee-939d-92fbcf53809c.jpg

0be13f1a-5a01-11ee-939d-92fbcf53809c.jpg

0bfb3d52-5a01-11ee-939d-92fbcf53809c.jpg

0c0ed0ce-5a01-11ee-939d-92fbcf53809c.jpg

0c21b86a-5a01-11ee-939d-92fbcf53809c.jpg

2. SCL method implementation

1) Calculation formula description

0c395a56-5a01-11ee-939d-92fbcf53809c.jpg

3. Programming Instructions

0c5637c0-5a01-11ee-939d-92fbcf53809c.jpg


Keywords:PLC Reference address:About the universal formula of PLC analog quantity

Previous article:PLC control station call unit training project
Next article:Detailed explanation of PLC interrupt function

Recommended ReadingLatest update time:2024-11-16 10:52

Designing a Smaller PLC
Somewhat like a traffic cop directing the flow of cars from the middle of an intersection, programmable logic controllers (PLCs) play a similar role in automated factories. PLCs make decisions for machines based on analog and digital inputs and outputs. They sense and control everything from simple lighting function
[Embedded]
Designing a Smaller PLC
Fault Analysis and Treatment of PROFIBUS-DP Slave Station Dropping in PLC Control System
I believe that everyone often encounters the situation in daily work where the DP slave station drops and the system cannot operate normally. The editor has been dealing with the problem of DP slave station dropping in several systems in succession in the past few days, which is very troublesome. The following is a
[Embedded]
Fault Analysis and Treatment of PROFIBUS-DP Slave Station Dropping in PLC Control System
PLC pulse frequency conversion
The PLC pulse frequency function reads the pulse frequency input by the high-speed counter and converts it to the rotation speed, or converts the current value of the counter to the accumulated revolutions. It outputs the converted value in 8 hexadecimal bits and can only be used in high-speed counter 0. When perfor
[Embedded]
The difference between PLC control and relay control
Anyone who is engaged in electrical and industrial control must be familiar with the star-delta starting circuit. Generally speaking, this circuit is constructed with time relays, intermediate relays and AC contactors. The following figure is a motor star-delta starting control circuit constructed using P
[Embedded]
The difference between PLC control and relay control
On the Importance of Algorithms in PLC Control Systems
I guess some of my colleagues may have some misunderstandings about algorithms in PLC control systems. It may be that when they were learning, they were misled by some unreliable training courses, which told them that algorithms are king, algorithms are king. The importance of algorithms in the entire control system
[Embedded]
On the Importance of Algorithms in PLC Control Systems
50 classic Siemens 300 PLC problems
1: How can you avoid the "Communication Failure" message when using CPU 315F and ET 200S? With CPU S7 315F, ET 200S and fail-safe DI/DO modules, you call the fail-safe program in OB35. Furthermore, you have accepted the default settings for all monitoring times and are willing to receive the "communication erro
[Embedded]
50 classic Siemens 300 PLC problems
Typical wiring method of Mitsubishi PLC input/output circuit
On the equipment shown in Figure 1, complete the connection of the PLC external circuit according to the electrical control schematic diagram. Before using PLC, you must have a certain understanding of its input/output circuits, otherwise the PLC or input/output devices may be damaged due to wiring errors
[Embedded]
Typical wiring method of Mitsubishi PLC input/output circuit
What does PLC do?
Simply put, PLC is a programmable controller, which plays a huge role in various industries. Common PLCs are composed of the following three parts: input unit, CPU and output unit. Suppose we have a button and a motor. How can we use PLC to make the motor move? We connect the switch to the input unit and
[Embedded]
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号