Operating instructions, Compax-m / -s, Digital inputs and outputs 142 – Parker Products COMPAX-M /-S (L) User Manual

Page 142

Advertising
background image

Operating Instructions

COMPAX-M / -S

Digital inputs and outputs

142

Allocation of output pins of X19 to the logic outputs

The target (output pin on X19) on which the respective logic output is to be written
is specified via parameters P159 and P160. The parameters are 24 bits large with
4 bits defined for allocating each output to an output pin
This allocation can be easily done with the assistance of the ServoManager.
With direct access via RS232, a terminal or a fieldbus, the following table can be
used for setting the parameters.

Outputs

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

value:

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

factor

computed values

Allocation:
output is
assigned to pin
X

X19
Outp
ut
Pin

1

Value * factor

P159 bit 0...3

/15

16

+

Value * factor

P159 bit 4...7

/16

256

+

Value * factor

P159 bit 8...11

/17

4096

+

Value * factor

P159 bit 15...11

/18

Value of P159:

Σ

1

Value * factor

P160 bit 0...3

/19

16

+

Value * factor

P160 bit 4...7

/20

256

+

Value * factor

P160 bit 8...11

/21

4096

+

Value * factor

P160 bit 11...15

/22

Value of P160:

Σ

Example:

The following assignment must be configured:
Output 1

X19 Pin 15

Output 3

X19 Pin 16

Output 4

X19 Pin 17

Output 5

X19 Pin 18

Output 8

X19 Pin 19

Output 10

X19 Pin 20

Output 14

X19 Pin 21

Output 16

X19 Pin 22

You can see the calculation of the
setting values on the right.

Note

With P233=49 (or P234=49 respectively) physical outputs pin 22 – pin 15 are

written to the optimization display status S13 (S14). Meaning: pin 15 = bit 8 ...
pin 22 = bit 15.

Allocation table:

output is assigned ... to

pin X19

Allocation table:

output is assigned ... to

pin X19

Outputs

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

Value:

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

factor

computed values

Allocation:
output is
assigned to pin
X

X19
Out-
put
Pin

X

1

0*1=0

P159 bit 0...3

/15

X

16

+

2*16=32

P159 bit 4...7

/16

X

256

+

3*256=768

P159 bit 8...11

/17

X

4096

+

4*4096=16384

P159 bit 11...15

/18

Value of P159:

Σ

17184

X

1

7*1=7

P160 bit 0...3

/19

X

16

+

9*16=144

P160 bit 4...7

/20

X

256

+

13*256=3328

P160 bit 8...11

/21

X

4096

+

15*4096=61440

P160 bit 11...15

/22

Value of P160:

Σ

64919

Advertising