Us er f u nction s, T as k 3 ) – Rockwell Automation 20D PowerFlex 700S AC Drives with Phase II Control Programming Manual User Manual

Page 193

Advertising
background image

Rockwell Automation Publication 20D-PM001C-EN-P - July 2013

193

Control Block Diagrams

Appendix C

ur_functions_2.eps

1

2

3

4

5

6

B

A

D

C

F

E

H

G

I

U

s

er F

u

nction

s

(T

as

k 3

)

Convert

DInt

-Re

a

l

x

S

c

a

le

1049

1047

1048

Convert

Re

a

l-

DInt

x

S

c

a

le

1052

1050

1051

< =

> =

1071

1072

1062

04

1062

05

< =

> =

1073

1074

1062

06

1062

07

Comp

a

re 1

A

Comp

a

re 1

B

Comp

a

re 2

A

Comp

a

re 2

B

(Cmpr 1

A

>

/=

B

)

(Cmpr 2

A

<

/=

B

)

(Cmpr 2

A

>

/=

B

)

(Cmpr 1

A

<

/=

B

)

X

/

M

u

lDiv 1

Inp

u

t

1053

1054

1055

1056

M

u

lDiv 1

M

u

l

M

u

lDiv 1

Div

M

u

lDiv 1

Re

su

lt

X

/

M

u

lDiv 2

Inp

u

t

1057

1058

1059

1060

M

u

lDiv 2

M

u

l

M

u

lDiv 2

Div

M

u

lDiv 2

Re

su

lt

DInt

2

Re

a

l1

I

n

DInt

2

Re

a

1l

S

c

a

le

Re

a

l2

DInt In

Re

a

l2

DInt

S

c

a

le

DInt

2

Re

a

l1

R

e

su

lt

Re

a

l2

DInt Re

su

lt

Logic

/Cmpr

S

ta

te

Logic

/Cmpr

S

ta

te

1027

1026

1022

06

1028

S

el

S

witch Ctrl

(S

W DInt

1

On

)

S

W DInt

1

NO

S

W DInt

1

NC

S

W DInt

1

O

u

tp

u

t

0

1

1024

1023

1022

05

1025

S

el

S

witch Ctrl

(S

W Re

a

l 1

On

)

S

W Re

a

l 1

NO

S

W Re

a

l 1

NC

S

W Re

a

l 1

O

u

tp

u

t

0

1

And

,

N

a

nd

,

Or

, Nor

,

Xor

,

Nxor

And

,

N

a

nd

,

Or

, Nor

,

Xor

,

Nxor

And

,

N

a

nd

,

Or

, Nor

,

Xor

,

Nxor

1062

00

1062

02

1062

01

1063

1065

1067

1069

Logic 1

A

D

a

ta

Logic 1

B

D

a

ta

Logic 2

A

D

a

ta

Logic 2

B

D

a

ta

1064

1066

1068

1070

Logic 1

A

Bit

Logic 1

B

Bit

Logic 2

A

Bit

Logic 2

B

Bit

Logic

/Cmpr

S

ta

te

(Logic 1

Re

su

lt

)

(Logic 3

Re

su

lt

)

(Logic 2

Re

su

lt

)

1061

xx

Logic Config

1029

1030

1031

0

1

2

3

4

5

6

1032

1034

1035

S

el

S

wtch In

01

(R

e

a

l)

7

8

9

10

1036

1037

1038

1039

1040

12

13

14

15

11

1022

01

02

03

04

1033

1041

1042

1043

1044

1045

1046

S

el

S

wtch DIntO

u

t

(Integer

)

S

el

S

wtch Re

a

lO

u

t

(R

e

a

l)

S

el

S

wtch In

02

(R

e

a

l)

S

el

S

wtch In

03

(R

e

a

l)

S

el

S

wtch In

04

(R

e

a

l)

S

el

S

wtch In

05

(R

e

a

l)

S

el

S

wtch In

06

(R

e

a

l)

S

el

S

wtch In

07

(R

e

a

l)

S

el

S

wtch In

08

(R

e

a

l)

S

el

S

wtch In

09

(R

e

a

l)

S

el

S

wtch In

10

(R

e

a

l)

S

el

S

wtch In

11

(R

e

a

l)

S

el

S

wtch In

12

(R

e

a

l)

S

el

S

wtch In

13

(R

e

a

l)

S

el

S

wtch In

14

(R

e

a

l)

S

el

S

wtch In

15

(R

e

a

l)

S

el

S

wtch In

00

(R

e

a

l)

with Ro

u

nding

1022

00

S

el

S

wtch Ctrl

S

el

S

wtch Ctrl

U

s

er F

u

nction

s

-

Exec

u

tion order

1)

S

elector

S

witch F

u

nction (

16

inp

u

t)

2)

R

e

a

l

S

PDT

S

elector

s

witch (

2

inp

u

t)

3

) DInt

S

PDT

S

elector

s

witch (

2

inp

u

t)

4

) Logic F

u

nction

5

) Comp

a

ra

tor 1

6

) Comp

a

ra

tor 2

7)

D

a

ta

Conver

s

ion

1

DInt to Re

a

l

8)

D

a

ta

Conver

s

ion

2

Dint to Re

a

l

9)

D

a

ta

Conver

s

ion Re

a

l to DInt

10

) M

u

ltiply

/Divide F

u

nction 1

11

) M

u

ltiply

/Divide F

u

nction 2

12

) MOP F

u

nction

13

) Add

/Sub

trct F

u

nction 1

14

) Add

/Sub

trct F

u

nction 2

15

) Add

/Sub

trct F

u

nction 3

16

) Timer

1

17

) Timer

2

+

-

Add

Sub

1

Inp

u

t

1096

1097

1098

1099

Add

Sub

1

Add

Add

Sub

1

Sub

trct

Add

Sub

1

Re

su

lt

+

-

Add

Sub

2

Inp

u

t

1100

1101

1102

1103

Add

Sub

2

Add

Add

Sub

2

Sub

trct

Add

Sub

2

Re

su

lt

+

-

Add

Sub

3

Inp

u

t

1104

1105

1106

1107

Add

Sub

3

Add

Add

Sub

3

Sub

trct

Add

Sub

3

Re

su

lt

Convert

Dint

-Re

a

l

x

S

c

a

le

1152

1150

1151

DInt

2

Re

a

l2

I

n

DInt

2

Re

a

l2

S

c

a

le

DInt

2

Re

a

l2

R

e

su

lt

**

S

el

ec

tor

S

wit

c

h

c

a

n

b

e c

ont

rol

led v

ia

the D

igi

ta

l I

n

p

u

ts

or

P

a

ra

me

te

r

1022.

U

s

e “

U

s

er

G

en

S

el

x

as

th

e

Dig

it

a

l in

p

u

t t

y

pe.

T

he D

igi

ta

l in

p

u

t

s

el

ec

ti

on i

s

a

n “

O

R

” f

u

n

c

ti

o

n

w

ith

P

a

rm

et

er

1022

.

S

el

ec

tor

S

wit

c

h

Co

n

tr

o

l T

ab

le

Dig

it

a

l In

P

1

0

2

2

U

s

er

G

en

S

el

0 O

R

P

1022 B

it

1

U

s

er

G

en

S

el

1 O

R

P

1022 B

it

2

U

s

er

G

en

S

el

2 O

R

P

1022 B

it

3

U

s

er

G

en

S

el

3 O

R

P

1022 B

it

4

Advertising