16
Basic PC Operation and I/O Processes Section 1-3
1-3-8 DSW(87) Input Digits and Output Refresh Method
Make the settings shown below to set the number of input digits for the
DSW(87) instruction, and to set the output refresh method.
Refer to page 427 for details on the DSW(87) instruction and to SECTION 7
CPU Unit Operation and Processing Time for details on I/O refresh methods.
1-3-9 Peripheral Port Settings
Serial communications settings for the peripheral port are determined by pins
5 and 7 of the CPU Unit’s DIP switch, the hexadecimal setting in DM 6650,
and the device connected to the peripheral port.
Number of input digits for the DSW(87)
00: 4 digits
01: 8 digits
15 0
DM 6639
Bit
Output refresh method
00: Cyclic
01: Direct
Default: The number of input digits for the DSW(87) instruc-
tion is set to "4" and the output refresh method is cyclic.
DIP switch
settings
DM 6650
setting
Connected device Serial communications mode
Pin 5 Pin 7
OFF OFF Ignored Programming Console Programming Console bus
OFF ON 0000 Programming Device
other than a Program-
ming Console (such as
a personal computer)
Host Link, standard settings
Peripheral bus mode if CX-Pro-
grammer is set for peripheral
bus.
0001 Host Link, custom settings
Peripheral bus mode if CX-Pro-
grammer is set for peripheral
bus.
10@@ No-protocol
ON OFF Ignored Programming Console Programming Console bus
ON ON Ignored Programming Device
other than a Program-
ming Console (such as
a personal computer)
Host Link, standard settings
Peripheral bus mode if CX-Pro-
grammer is set for peripheral
bus.