3.10.8
System ports
Individual inputs/outputs can be used separately in a user program or, alternatively, can be
addressed as a group, called a port.
The status of an input in an input port in read to a register on giving the fetch command. See
the Programming Manual. To set on output port, the value of a register is transferred to the
port Portsl, 2 and 11,12 are 4-bit ports and the numerical value they can handle is therefore
0-15. Ports 3,4 and 13,14 are 8-bits and can handle 0-255.
The ports are only active in connection with execution of REGISTER instructions. The normal
functions of the digital inputs/outputs in other program sections is not affected.
The port can contain 4 inputs/outputs (ports 11,12,1 and 2) or 8 input/outputs (ports 13, 4,3
and 4). There are also two sequential ports 70 and 80 which embrace both inputs and outputs.
Possible couplings between inputs/outputs and ports 1-4 or ports 11-14 are shown in the table
below. (LSB means Least Significant Bit and MSB means Most Significant Bit).
Port no.
Logical output
Port no.
Logical input
4
1 First bit (LSB)
2 • 4 0-15
3 •
4 Last bit (MSB)
13 First bit (LSB)
14 • 4 0-15
15 •
16 Last bit (MSB)
17 First bit (LSB)
18
19
20 • 8 0-255
21
22
23
24 Last bit (MSB)
25 First bit (LSB)
26
27
28 • 8 0-255
29
30
31
32 Last bit (MSB)
11
12
13
14
1 First bit (LSB)
2 • 4 0-15
3 •
4 Last bit (MSB)
13 First bit (LSB)
14 • 4 0-15
15 •
16 Last bit (MSB)
17 First bit (LSB)
18
19
20 • 8 0-255
21
22
23
24 Last bit (MSB)
25 First bit (LSB)
26
27
28 • 8 0-255
29
30
31
32 Last bit (MSB)
INSTALLATION
3:28
S3