![background image](http://html1.mh-extra.com/html/omron/cpm2c-s100c/cpm2c-s100c_operation-manual_742520125.webp)
103
PC Setup
Section 4-6
RS-232C 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’ RS-232C port are gov-
erned by the default settings (all 0) regardless of the settings in DM 6645 through DM 6649.
DM 6645
00 to 03
Port settings
0 (Hex): Standard (1 start bit, 7 data bits, even parity, 2 stop bits, 9,600 bps),
Host Link unit number: 0
1 (Hex): Settings in DM 6646
(Any other setting will cause a non-fatal error and AR 1302 will turn ON.)
04 to 07
CTS control setting
0 (Hex): Disable CTS control; 1 (Hex): Enable CTS control
(Any other setting will cause a non-fatal error and AR 1302 will turn ON.)
08 to 11
Link words for 1:1 data link
0 (Hex): LR 00 to LR 15 (Any other settings are ineffective.)
12 to 15
Communications mode
0 (Hex): Host Link; 1 (Hex): No-protocol; 2 (Hex): 1:1 PC Link Slave;
3 (Hex): 1:1 PC Link Master; 4 (Hex): NT Link
(Any other setting causes a non-fatal error and turns ON AR 1302.)
DM 6646
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 6647
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 6648
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 6649
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
Содержание CPM2C-S100C
Страница 2: ......
Страница 3: ...CPM2C S Programmable Controller Operation Manual Revised September 2009 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 14: ...xiv ...
Страница 180: ...158 One to one PC Link I O Response Time Section 7 4 ...
Страница 222: ...200 Programming Example Section 8 3 ...
Страница 250: ......
Страница 256: ......
Страница 258: ......
Страница 260: ...238 Support Software Appendix C ...
Страница 268: ......