![background image](http://html1.mh-extra.com/html/omron/srm1-programing-02-2001/srm1-programing-02-2001_programming-manual_742414247.webp)
4-2
Section
CPM1/CPM1A Communications Functions
227
4-2
CPM1/CPM1A Communications Functions
4-2-1 Host Link Communications
Host Link communications were developed by OMRON for the purpose of con-
necting PCs and one or more host computers by RS-232C cable, and controlling
PC communications from the host computer. Normally the host computer issues
a command to a PC, and the PC automatically sends back a response. Thus the
communications are carried out without the PCs being actively involved. The
PCs also have the ability to initiate data transmissions when direct involvement
is necessary.
In general, there are two means for implementing Host Link communications.
One is based on C-mode commands, and the other on FINS (CV-mode) com-
mands. The CPM1/CPM1A supports C-mode commands only. For details on
Host Link communications, refer to
4-5
Host Link Commands.
PC Setup Settings
The CPM1/CPM1A’s peripheral port settings must be set properly in order to use
the Host Link communications, as shown in the following table.
Word
Bit
Function
Setting
DM 6650
00 to 07
Port settings
1
00: Standard (1 start bit, 7-bit data, 2 stop bits, even parity, 9,600 bps)
01: Settings in DM 6651
00
08 to 11
Link area for 1:1 PC Link via peripheral port
0: LR 00 to LR 15
0
(Any val-
ue is OK)
12 to 15
Communications mode
1
0: Host Link; 2: 1:1 PC Link Slave; 3: 1:1 PC Link Master; 4: 1:1 NT Link
0
DM 6651
00 to 07
Baud rate
1
00: 1.2K, 01: 2.4K, 02: 4.8K, 03: 9.6K, 04: 19.2K
00
(Any val-
ue is OK)
08 to 15
Frame format
1
Start
Length
Stop
Parity
00:
1 bit
7 bits
1 bit
Even
01:
1 bit
7 bits
1 bit
Odd
02:
1 bit
7 bits
1 bit
None
03:
1 bit
7 bits
2 bit
Even
04:
1 bit
7 bits
2 bit
Odd
05:
1 bit
7 bits
2 bit
None
06:
1 bit
8 bits
1 bit
Even
07:
1 bit
8 bits
1 bit
Odd
08:
1 bit
8 bits
1 bit
None
09:
1 bit
8 bits
2 bit
Even
10:
1 bit
8 bits
2 bit
Odd
11:
1 bit
8 bits
2 bit
None
00
(Any val-
ue is OK)
DM 6652
00 to 15
Transmission delay (Host Link)
1
0000 to 9999: In ms.
0000
DM 6653
00 to 07
Node number (Host Link)
1
00 to 31 (BCD)
00 to 31
08 to 15
Not used.
00
(Any val-
ue is OK)
Note
1. If an improper setting is used, a non-fatal error will occur, AR 1302 will be
turned ON, and the default setting (0, 00, or 0000) will be used.
2. For information on the Host Link settings for another OMRON PC, refer to
that PC’s Operation Manual.