Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 266

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

CPM2A/CPM2C Communications Functions
PC Setup
Word
Bit
DM 6645
00 to 03
04 to 07
08 to 11
12 to 15
DM 6646
00 to 07
08 to 15
DM 6647
00 to 15
DM 6648
00 to 07
08 to 11
12 to 15
246
The PC Setup settings that are required depend on whether a peripheral port or
an RS-232C port is used.
Settings for RS-232C Port
Note If SW1 on the front panel of the CPU Unit is ON, the RS-232C port will operate
with the default settings regardless of the settings in DM 6645 to DM 6649.
Port settings
0: Standard (1 start bit, 7-bit data, 2 stop bits, even parity, 9,600 bps; Host
Link unit number: 0)
1: Settings in DM 6646
(Other settings will cause a non-fatal error, the default setting will be used,
and AR 1302 will turn ON.)
CTS control settings
0: Disable; 1: Set
Link words for 1:1 PC Link
0: LR 00 to LR 15; Other: Not effective
Communications mode
0: Host Link (default setting); 1: RS-232C (no-protocol); 2: 1:1 PC Link Slave;
3: 1:1 PC Link Master; 4: 1:1 NT Link
(Other settings will cause a non-fatal error, the Host Link setting will be used,
and AR 1302 will turn ON.)
Baud rate:
00: 1,200 bps 01: 2,400 bps 02: 4,800 bps 03: 9,600 bps 04: 19,200 bps
Frame format
Start
Length Stop Parity
00:
1
7
1
01:
1
7
1
02:
1
7
1
03:
1
7
2
04:
1
7
2
05:
1
7
2
06:
1
8
1
07:
1
8
1
08:
1
8
1
09:
1
8
2
10:
1
8
2
11:
1
8
2
(Other settings will cause a non-fatal error, the default settings (03) will be
used, and AR 1302 will turn ON.)
Transmission delay (Host Link)
0000 to 9999 (BCD): Set in units of 10 ms, e.g., setting of 0001 equals 10 ms
(Other settings will cause a non-fatal error, the default setting (0000) will be
used, and AR 1302 will turn ON.)
00 to 31 (BCD): Node number (Host Link)
(Other settings will cause a non-fatal error, the default setting (00) will be
used, and AR 1302 will turn ON.)
Start code enable (RS-232C)
0: Disable; 1: Use start code in DM 6649.
End code enable (RS-232C)
0: Disable (number of bytes received)
1: Use end code in DM 6649.
2: CR, LF
(Other settings will cause a non-fatal error, the disable setting will be used,
and AR 1302 will turn ON.)
Function
Even
Odd
None
Even
Odd
None
Even
Odd
None
Even
Odd
None
Section
4-3
Setting
Match host
parameters
0 or 1
Any
0
Match host
parameters
0000 to 9999
00 to 31
Any
Any

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents