LOGO! functions

4.4 Special functions list - SF

Functional Description

The mathematic instruction function combines the four operands and three operators to form an equation. The operator can be any one of the four standard operators: +, -, *, or /. For each operator, you must set a unique priority of High (H), Medium (M), or Low (L). The high operation will be performed first, followed by the medium operation, and then by the low operation. You must have exactly one operation of each priority. The operand values can reference another previously-defined function to provide the value. The mathematic instruction function rounds the result to the nearest integer value.

The number of operand values is fixed at four and the number of operators is fixed at 3. If you need to use fewer operands, use constructions such as + 0 or * 1 to fill the remaining parameters.

You can also configure the behavior of the function when the Enable parameter En=0. The function block can either retain its last value, or be set to 0. If the parameter Qen 0 = 0, then the function sets AQ to 0 when En=0. If the parameter Qen → 0 = 1, then the function leaves AQ at its last value when En=0.

Possible errors: Zero division and overflow

If the mathematic instruction function block execution results in zero division or overflow, it sets internal bits that indicate the type of error that occurred. You can program a mathematic instruction error detection function block in your circuit program to detect these errors, and to control the program behavior as needed. You program one mathematic instruction error detection function block to reference one specific mathematic instruction function block.

Examples

The following tables show some simple example mathematic instruction block parameters, and the resulting equations and output values:

V1

Op1

V2

Op2

V3

Op3

V4

 

(Pr1)

 

(Pr2)

 

(Pr3)

 

12

+ (M)

6

/ (H)

3

- (L)

1

Equation: (12 + (6 / 3)) - 1

Result: 13

V1

Op1

V2

Op2

V3

Op3

V4

 

(Pr1)

 

(Pr2)

 

(Pr3)

 

2

+ (L)

3

* (M)

1

+ (H)

4

Equation: 2 + (3 * (1 + 4))

Result: 17

V1

Op1

V2

Op2

V3

Op3

V4

 

(Pr1)

 

(Pr2)

 

(Pr3)

 

100

- (H)

25

/ (L)

2

+ (M)

1

Equation: (100 - 25) / (2 + 1)

Result: 25

LOGO!

 

Manual, 04/2011, A5E03556174-01

267

Page 267
Image 267
Siemens 6ED1050-1AA00-0BE8 manual Possible errors Zero division and overflow, Examples, Result

6ED1050-1AA00-0BE8 specifications

The Siemens 6ED1050-1AA00-0BE8 is a versatile and essential component in industrial automation and control systems. Designed for a wide range of applications, this device is part of Siemens' extensive portfolio of automation products, renowned for their reliability and innovative technologies.

One of the key features of the Siemens 6ED1050-1AA00-0BE8 is its ability to serve as a communication processor. This device efficiently manages communication between different components within a control system, aiding seamless data transfer across various protocols. The processor supports both standard and advanced communication protocols, which makes it highly adaptable to various environments.

In terms of technology, the 6ED1050-1AA00-0BE8 utilizes advanced bus systems for effective and efficient data exchange. The integration of these bus systems enhances the capacity for real-time data processing, allowing for quick responses to changes in the operational environment. The device also boasts exceptional performance metrics, ensuring not only speed but also accuracy in communication.

The characteristics of this device are noteworthy. It comes equipped with a user-friendly interface, which facilitates straightforward configuration and programming. This feature is particularly beneficial for technicians and engineers, as it minimizes the time required to set up and start using the processor. Additionally, it is designed to work seamlessly with various Siemens automation systems, ensuring compatibility and scalability.

Another significant aspect of the Siemens 6ED1050-1AA00-0BE8 is its robust design. Built to endure the harsh conditions often found in industrial environments, the device features high-quality materials that enhance its durability and longevity. This resilience ensures that it can withstand vibrations, temperature fluctuations, and other potential challenges present in industrial settings.

Furthermore, the device supports flexible installation options, allowing it to be easily integrated into existing systems without extensive modifications. This flexibility is crucial for modern facilities looking to upgrade or expand their automation capabilities without overhauling their entire infrastructure.

In conclusion, the Siemens 6ED1050-1AA00-0BE8 represents a synthesis of reliability, advanced technology, and user-friendly features tailored for industrial automation. Its high adaptability, robust design, and versatile application make it an invaluable tool for optimizing operations and enhancing communication within industrial control systems, cementing its position as a leader in automation solutions.