Cpm1/Cpm1A One-To-One Link Communications - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Communications Functions
1-9-8

CPM1/CPM1A One-to-one Link Communications

One-to-one CPM1/CPM1A
Links
RS-232C Adapter
Write data
Read data
Limitations of One-to-one
Links with a CPM1/CPM1A
PC Setup Settings
Word
Bit
DM 6650 00 to 07 Port settings
00: Standard (1 start bit, 7-bit data, even parity, 2 stop bits, 9,600 bps)
01: Settings in DM 6651
08 to 11 Link area for one-to-one PC link via peripheral port
0: LR 00 to LR 15
12 to 15 Communications mode
0: Host link; 2: 1-to-1 PC link (slave); 3: 1-to-1 PC link (master); 4: NT link
Note
104
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.
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.
RS-232C Cable
CPM1 CPU Unit
The words used for the one-to-one link are as shown below.
Master
LR00
Area for writing
LR07
LR08
Area for reading
LR15
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.
The settings relating to 1-to-1 PC communications must be set as shown in
the following table.
1
1
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.
RS-232C Adapter
Slave
Area for reading
Area for writing
Function
Section 1-9
CPM1 CPU Unit
LR00
Read data
LR07
LR08
Write data
LR15
Setting
Setting
(Master)
(Slave)
00
00
(Any value
(Any value
is OK)
is OK)
0
0
(Any value
is OK)
3
2

Advertisement

Table of Contents
loading

Table of Contents