![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268983.webp)
944
Basic I/O Unit Instructions
Section 3-23
DSW(210) reads the 4-digit or 8-digit switch data once every 16 cycles, and
then starts over and continues reading the data. The One Round Flag (bit 05
of O) is turned ON once every 16 CPU Unit cycles.
DSW(210) reads the 4-digit or 8-digit data once in 16 cycles, and then starts
over and reads the data again in the next 16 cycles.
When executed, DSW(210) begins reading the switch data from the first of the
sixteen cycles, regardless of the point at which the last instruction was
stopped.
There is no restriction on the number of times that DSW(210) can appear in
the program (unlike the C200HX/HG/HE and CQM1H Series).
External Connections
Connect the digital switch or thumbwheel switch to Input Unit contacts 0 to 7
and Output Unit contacts 0 to 4, as shown in the following diagram. The fol-
lowing example illustrates connections for an A7B Thumbwheel Switch.
The inputs and outputs can be connected to the following kinds of Basic I/O
Units and High-density I/O Units as long as they are not mounted in a SYS-
MAC BUS Remote I/O Rack.
• DC Input Units with 8 or more input points
• Transistor Output Units with 8 or more output points
1
3
5
7
9
11
13
15
COM
0
2
4
6
8
10
12
14
COM
ID212
1
3
5
7
9
11
13
15
COM
0
2
4
6
8
10
12
14
DC
OD212
1
2
4
8
7
6
5
4
3
2
1
C
Input Unit
Switch no. 8
Output Unit
Note
The data read signal is not connected in this example.
A7B
Thumbwheel
Switch
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...