![background image](http://html1.mh-extra.com/html/omron/cpm2c-s100c/cpm2c-s100c_operation-manual_742520126.webp)
104
PC Setup
Section 4-6
Peripheral Port Communications Settings
The following settings are read regularly by the CPU while the PC is ON.
If pin 3 of the CPM2C-S CPU Unit’s DIP switch is ON, communications through the CPM2C-S’ peripheral port are gov-
erned by the default settings (all 0) regardless of the settings in DM 6650 through DM 6651.
When connecting a computer running OMRON Support Software to the peripheral bus, turn OFF pin 3 of the DIP switch
and set DM 6650 to 0001 (host link port settings specified in DM 6651). The computer cannot be connected to the periph-
eral bus if bits 00 to 03 of DM 6650 are set to 0 (standard port settings).
DM 6650
00 to 03
Port settings
00 (Hex): Standard (1 start bit, 7 data bits, even parity, 2 stop bits, 9,600 bps),
Host Link unit number: 0
01 (Hex): Settings in DM 6651
(Any other setting specifies standard settings, causes a non-fatal error, and turns ON AR 1302.)
04 to 11
Not used.
12 to 15
Communications mode
0 (Hex): Host Link or peripheral bus; 1 (Hex): No-protocol
(Any other setting specifies Host Link, causes a non-fatal error, and turns ON AR 1302.)
DM 6651
00 to 07
Baud rate
00 (Hex): 1,200 bps; 01 (Hex): 2,400 bps; 02 (Hex): 4,800 bps;
03 (Hex): 9,600 bps; 04 (Hex): 19,200 bps
08 to 15
Frame format
Start bits
Data bits
Stop bits
Parity
00 (Hex):
1 bit
7 bits
1 bit
Even
01 (Hex):
1 bit
7 bits
1 bit
Odd
02 (Hex):
1 bit
7 bits
1 bit
None
03 (Hex):
1 bit
7 bits
2 bits
Even
04 (Hex):
1 bit
7 bits
2 bits
Odd
05 (Hex):
1 bit
7 bits
2 bits
None
06 (Hex):
1 bit
8 bits
1 bit
Even
07 (Hex):
1 bit
8 bits
1 bit
Odd
08 (Hex):
1 bit
8 bits
1 bit
None
09 (Hex):
1 bit
8 bits
2 bits
Even
10 (Hex):
1 bit
8 bits
2 bits
Odd
11 (Hex):
1 bit
8 bits
2 bits
None
(Any other setting specifies standard settings (1 start bit, 7 data bits; even parity, 2 stop bits,
9,600 bps), causes a non-fatal error, and turns ON AR 1302.)
DM 6652
00 to 15
Transmission delay (0000 to 9999 BCD sets a delay of 0 to 99,990 ms.)
(Any other setting specifies a delay of 0 ms, causes a non-fatal error, and turns ON AR 1302.)
DM 6653
00 to 07
Node number (Host Link)
00 to 31 (BCD)
(Any other setting specifies a node number of 00, causes a non-fatal error, and turns ON
AR 1302.)
08 to 11
Start code selection for no-protocol communications
0 (Hex): Disables start code; 1 (Hex): Enables start code in DM 6649
(Any other setting disables the start code, causes a non-fatal error, and turns ON AR 1302.)
12 to 15
End code selection for no-protocol communications
0 (Hex): Disables end code; 1 (Hex): Enables end code in DM 6649;
2 (Hex): Sets end code of CR, LF.
(Any other setting disables the end code, causes a non-fatal error, and turns ON AR 1302.)
DM 6654
00 to 07
Start code (00 to FF)
(This setting is valid only when bits 8 to 11 of DM 6648 are set to 1.)
08 to 15
When bits 12 to 15 of DM 6648 set to 0:
Sets the number of bytes to receive. (00: 256 bytes; 01 to FF: 1 to 255 bytes)
When bits 12 to 15 of DM 6648 set to 1:
Sets the end code. (00 to FF)
Word(s)
Bit(s)
Function
Summary of Contents for CPM2C-S100C
Page 2: ......
Page 3: ...CPM2C S Programmable Controller Operation Manual Revised September 2009 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 10: ......
Page 14: ...xiv ...
Page 180: ...158 One to one PC Link I O Response Time Section 7 4 ...
Page 222: ...200 Programming Example Section 8 3 ...
Page 250: ......
Page 256: ......
Page 258: ......
Page 260: ...238 Support Software Appendix C ...
Page 268: ......