Advanced I/O Instructions
ID212
Input Unit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
COM
Switch no. 8
COM
Note The data read signal is not required in the example.
Preparations
Using the Instruction
The following example illustrates connections for an A7B Thumbwheel Switch.
7
6
5
The inputs can be connected to the CPU Unit's input terminals or a DC Input
Unit with 8 or more input points and the outputs can be connected from a
Transistor Output Unit with 8 or more output points.
When using DSW(87), make the following setting in the PC Setup in PRO-
GRAM mode before executing the program.
Digital Switch Settings (PC Setup)
Number of digits to read
00: 4 digits
01: 8 digits
Default: 4 digits
Do not make any changes to bits 0 to 7. They are not related to DSW(87).
DSW(87)
8
4
2
4
3
2
1
Output Unit
15
Bit
DM6639
IW
IW: Input word
OW: Output word
OW
R: First register word
R
Section 5-31
A7B
Thumbwheel
Switch
1
OD212
C
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DC
COM
0
− −
429
Need help?
Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?
Questions and answers