beautypg.com

13 arithmetic block (arit), Arithmetic block (arit), Function library – Lenze EVS9332xK User Manual

Page 83: Function blocks, Purpose arithmetic linking of two "analog" signals

background image

Function library

Function blocks

3.2.13

Arithmetic block (ARIT)

3−55

l

EDSVS9332K−EXT EN 4.0

3.2.13

Arithmetic block (ARIT)

Purpose

Arithmetic linking of two "analog" signals.

+ -

*

/

x / ( 1 - y )

C 0 3 3 8

x

y

A R I T 1

A R I T 1 - O U T

C 0 3 4 0 / 1

± 1 9 9 , 9 9 %

C 0 3 4 0 / 2

A R I T 1 - I N 1

A R I T 1 - I N 2

C 0 3 3 9 / 1

C 0 3 3 9 / 2

Fig. 3−39

Arithmetic block (ARIT1)

Signal

Source

Note

Name

Type

DIS

DIS format

CFG

List

Lenze

ARIT1−IN1

a

C0340/1

dec [%]

C0339/1

1

1000

ARIT1−IN2

a

C0340/2

dec [%]

C0339/2

1

1000

ARIT1−OUT

a

Limited to ±199.99 %

+ -

*

/

x / ( 1 - y )

C 0 6 0 0

x

y

A R I T 2

A R I T 2 - O U T

C 0 6 0 2 / 1

± 1 9 9 , 9 9 %

C 0 6 0 2 / 2

A R I T 2 - I N 1

A R I T 2 - I N 2

C 0 6 0 1 / 1

C 0 6 0 1 / 2

Fig. 3−40

Arithmetic block (ARIT2)

Signal

Source

Note

Name

Type

DIS

DIS format

CFG

List

Lenze

ARIT2−IN1

a

C0602/1

dec [%]

C0601/1

1

1000

ARIT2−IN2

a

C0602/2

dec [%]

C0601/2

1

1000

ARIT2−OUT

a

Limited to ±199.99 %

Function

For both arithmetic blocks the following functions can be preselected:

Code

Subcode

Arithmetic function

Example

Note

ARIT1: C0338
ARIT2: C0600

0

OUT = IN1

IN2 is not processed

1

OUT = IN1 + IN2

100% = 50% + 50%

2

OUT = IN1 − IN2

50% = 100% − 50%

3

OUT = IN1 × IN2

100% = 100% ×100%

4

OUT = IN1 ÷

½ IN2 ½

1% = 100% ÷100%

5

OUT = IN1 ÷ (100% − IN2)

200% = 100% ÷ (100% − 50%)

15

OUT = IN1 % IN2
% here means "modulo"

·

20% = 200% [%] 60%

·

40% = 160% [%] 60%

·

0 = 180% [%] 60%

Remainder calculation:
OUT = IN1 − (n × IN2)
n = integer component of the
quotient IN1 ÷ IN2

This manual is related to the following products: