
941
Basic I/O Unit Instructions
Section 3-23
Applicable Program Areas
Operands
I: Input Word (Data Line D0 to D3 Inputs)
Specify the input word allocated to the Input Unit and connect the digital
switch’s D0 to D3 data lines to the Input Unit as shown in the following dia-
gram.
O: Output Word (CS/RD Control Signal Outputs)
Specify the output word allocated to the Output Unit and connect the digital
switch’s control signals (CS and RD signals) to the Output Unit as shown in
the following diagram.
D: First Result Word
Specifies the leading word address where the external digital switch’s set val-
ues will be stored.
C1: Number of Digits
Specifies the number of digits that will be read from the external digital switch.
Set C1 to 0000 hex to read 4 digits or 0001 hex to read 8 digits.
C2: System Word
Specifies a work word used by the instruction. This word cannot be used in
any other application.
Block program areas
Step program areas
Subroutines
Interrupt tasks
Not allowed
OK
OK
Not allowed
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
−
−
−
−
−
−
−
−
I
D0
D1
D2
D3
D3
D2
D1
D0
Rightmost 4 digits
Leftmost 4 digits
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
−
−
−
−
−
−
−
−
−
−
O
CS0
CS1
CS2
CS3
CS signals
One Round Flag
RD0 Read signal
D
8
15
12 11
0
3
4
7
D+1
8
15
12 11
0
3
4
7
Digit 1
Digit 2
Digit 3
Digit 4
Digit 5
Digit 6
Digit 7
Digit 8
Note: Only when C1 = 0001 hex to read 8 digits.
(See note.)
C1
8
15
12 11
0
3
4
7
Number of digits
0000 hex: 4 digits
0001 hex: 8 digits
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...