Watson-Marlow MM440 User Manual

Page 194

Advertising
background image

3 Functions

Issue 10/06

MICROMASTER 440 Operating Instructions

194

6SE6400-5AW00-0BP0

The free function blocks (FFB) are enabled in two steps:
1. General enable P2800:

The function "Free function blocks (FFB)" is enabled using parameter P2800
(P2800 =1).

2. Specific enable P2801, P2802:

Using parameter P2801 or P2802, the particular function block is enabled
(P2801[x] > 0 or P2802[x] > 0) and the sequence in which they are executed is
also defined.

All free function blocks are called within the 128 ms time slice (cycle time). Further,
to adapt to the application, the chronological sequence in which the FFB are
executed, can also be controlled. This is especially important so that the FFB are
executed in the sequence which is technologically correct. Parameter P2801 and
P2802 are used for the individual enable function as well as to define the priority in
which the blocks are executed. The following priority levels can be assigned:
0 Inactive
1 Level

1

2 Level

2

3 Level

3

The following Table indicates that the priority decreases from the top towards the
bottom (priority 1

→ level) or from the right to left (priority 2 → line) (refer to Table

3-32).

Table 3-32

FFB priority table

3
2
1
0

P2

80

2

[1

3

] C

M

P

2

P2

80

2

[1

2

] C

M

P

1

P

28

02

[1

1]

D

IV

2

P

28

02

[1

0]

D

IV

1

P2

80

2

[9]

M

U

L 2

P2

80

2

[8]

M

U

L 1

P2

80

2 [7]

S

U

B

2

P2

80

2 [6]

S

U

B

1

P

2

80

2 [

5]

A

D

D

2

P

2

80

2 [

4]

A

D

D

1

P2

80

2 [3]

T

im

e

r

4

P2

80

2 [2]

T

im

e

r

3

P2

80

2 [1]

T

im

e

r

2

P2

80

2 [0]

T

im

e

r

1

P

280

1 [

16]

R

S

-F

F 3

P

280

1 [

15]

R

S

-F

F 2

P

280

1 [

14]

R

S

-F

F 1

P2

80

1

[13

]

D

-F

F

2

P2

80

1

[12

]

D

-F

F

1

P2

80

1 [11

] NOT

3

P2

80

1 [10

] NOT

2

P

2

80

1 [

9]

N

O

T

1

P

2

80

1 [

8]

X

O

R

3

P

2

80

1 [

7]

X

O

R

2

P

2

80

1 [

6]

X

O

R

1

P

2

80

1

[5

]

O

R

3

P

2

80

1

[4

]

O

R

2

P

2

80

1

[3

]

O

R

1

P

2

80

1 [

2]

A

N

D

3

P

2

80

1 [

1]

A

N

D

2

P

2

80

1 [

0]

A

N

D

1

Level
Level
Level
Inactive

low

high

Pr

ior

ity

1

Priority 2

low


Example 1:

Enabling the FFB:

P2800 = 1

Enabling individual FFB including assigning a priority:
P2801[0] = 1

AND 1

P2801[1] = 2

AND 2

P2801[2] = 3

AND 3

P2802[12] = 2

CMP 1

P2802[13] = 3

CMP 2

The FFB are calculated in the following sequence:
AND 3, CMP2, AND 2, CMP 1, AND 1

Advertising