104
Communications Functions Section 1-9
1-9-8 CPM1/CPM1A One-to-one Link Communications
In a one-to-one link, a CPM1/CPM1A is linked to another CPM1/CPM1A, a
CQM1, or a C200HS through an RS-232C Adapter and standard RS-232C
cable. One of the PCs will serve as the master and the other as the slave. The
one-to-one link can connect up to 256 bits (LR 0000 to LR 1515) in the two
PCs.
One-to-one CPM1/CPM1A
Links
The following diagram shows a one-to-one link between two CPM1s PCs.
Refer to the CPM1A Operation Manual for the corresponding information on
the CPM1A.
The words used for the one-to-one link are as shown below.
Limitations of One-to-one
Links with a CPM1/CPM1A
Only the 16 LR words from LR 00 to LR 15 can be linked in the CPM1/
CPM1A, so use only those 16 words in the CQM1 or C200HS when making a
one-to-one link with one of those PCs. A one-to-one link cannot be made to a
CPM1/CPM1A PC using LR 16 through LR 63 in the CQM1 or C200HS.
PC Setup Settings The settings relating to 1-to-1 PC communications must be set as shown in
the following table.
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 or 00) will be used.
2. For information on the 1-to-1 link settings for another OMRON PC, refer to
that PC’s Operation Manual.
3. For information on CPM1/CPM1A one-to-one link connections and wiring
diagrams refer to 3-4-7 Host Link Connections in the CPM1 Operation
Manual or CPM1A Operation Manual. For the SRM1 refer to 3-4-4 RS-
232C Port Wiring in the SRM1 Master Control Unit Operation Manual.
CPM1 CPU Unit
RS-232C Adapter
CPM1 CPU Unit
RS-232C Cable
RS-232C Adapter
LR00
LR07
LR08
LR00
LR07
LR08
LR15
Master
Area for writing
Area for reading
Slave
Area for writing
Area for reading
Write data
Read data
Read data
Write data
LR15
Word Bit Function Setting
(Master)
Setting
(Slave)
DM 6650 00 to 07
Port settings
1
00: Standard (1 start bit, 7-bit data, even parity, 2 stop bits, 9,600 bps)
01: Settings in DM 6651
00
(Any value
is OK)
00
(Any value
is OK)
08 to 11 Link area for one-to-one PC link via peripheral port
0: LR 00 to LR 15
00
(Any value
is OK)
12 to 15
Communications mode
1
0: Host link; 2: 1-to-1 PC link (slave); 3: 1-to-1 PC link (master); 4: NT link
32