Omron CPM2C-S100C Operation Manual page 125

Sysmac cpm2c-s series
Table of Contents

Advertisement

PC Setup
Word(s)
Bit(s)
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),
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
00 (Hex):
01 (Hex):
02 (Hex):
03 (Hex):
04 (Hex):
05 (Hex):
06 (Hex):
07 (Hex):
08 (Hex):
09 (Hex):
10 (Hex):
11 (Hex):
(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)
Host Link unit number: 0
Start bits
Data bits
1 bit
7 bits
1 bit
7 bits
1 bit
7 bits
1 bit
7 bits
1 bit
7 bits
1 bit
7 bits
1 bit
8 bits
1 bit
8 bits
1 bit
8 bits
1 bit
8 bits
1 bit
8 bits
1 bit
8 bits
Function
Stop bits
Parity
1 bit
Even
1 bit
Odd
1 bit
None
2 bits
Even
2 bits
Odd
2 bits
None
1 bit
Even
1 bit
Odd
1 bit
None
2 bits
Even
2 bits
Odd
2 bits
None
Section 4-6
103

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpm2c-s110cCpm2c-s100c-drtCpm2c-s110c-drt

Table of Contents