Operating Instructions
COMPAX-M / -S
Digital inputs and outputs
140
8.6.1.1 Digital inputs and outputs for COMPAX 1000SL
Allocation of logic inputs for input pins of X19
The source (input pin on X19) from which the respective logic input is to be read is
specified via parameters P156, P157 and P158. Inputs which are not read by an
input pin on X19 can be allocated a fixed "0" or "1 (this is not, of course, applicable
for all inputs). The parameters are 24 bits large with 4 bits defined per logic input.
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.
Source
fixed logical value (0 or 1) or pin of X19
=0
=1
/2
/3
/4
/5
/6
/7
/8
/9
Value:
0
1
2
3
4
5
6
7
8
9
factor
computed values
Allocation:
Input reads from
which source
Logical
inputs
1
Value * factor
P156 bit 0...3
Input 1
16
+
Value * factor
P156 bit 4...7
Input 2
256
+
Value * factor
P156 bit 8...11
Input 3
4096
+
Value * factor
P156 bit 12...15
Input 4
65536
+
Value * factor
P156 bit 16...19
Input 5
1048576
+
Value * factor
P156 Bit 20...23
Input 6
Σ
Total
Value of P156:
♦
Total
≤≤≤≤
8 388 607:
P156 = Total
♦
Total > 8 388 607:
P156 = Total – 16 777 216
1
Value * factor
P157 bit 0...3
Input 7
16
+
Value * factor
P157 bit 4...7
Input 8
256
+
Value * factor
P157 bit 8...11
Input 9
4096
+
Value * factor
P157 bit 12...15
Input10
65536
+
Value * factor
P157 bit 16...19
Input 11
1048576
+
Value * factor
P157 Bit 20...23
Input 12
Σ
Total
Value of P157:
♦
Total
≤≤≤≤
8 388 607:
P156 = Total
♦
Total > 8 388 607:
P156 = Total – 16 777 216
1
Value * factor
P158 bit 0...3
Input 13
16
+
Value * factor
P158 bit 4...7
Input 14
256
+
Value * factor
P158 bit 8...11
Input 15
4096
+
Value * factor
P158 bit 12...15
Input 16
Value of P158:
Σ
Note that only one selection can be made per line, i.e. only one cross is permitted!
Note
Allocation table:
Logical input is read by
X19 pin ...
Allocation table:
Logical input is read by
X19 pin ...
Allocation table:
Logical input is read by
X19 pin ...