Cpm1/Cpm1A Communications Functions; Host Link Communications - Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual

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

Advertisement

CPM1/CPM1A Communications Functions

4-2

CPM1/CPM1A Communications Functions

4-2-1 Host Link Communications

PC Setup Settings
Word
Bit
DM 6650 00 to 07 Port settings
00: Standard (1 start bit, 7-bit data, 2 stop bits, even parity, 9,600 bps)
01: Settings in DM 6651
08 to 11
Link area for 1:1 PC Link via peripheral port
0: LR 00 to LR 15
12 to 15 Communications mode
0: Host Link; 2: 1:1 PC Link Slave; 3: 1:1 PC Link Master; 4: 1:1 NT Link
DM 6651 00 to 07 Baud rate
00: 1.2K, 01: 2.4K, 02: 4.8K, 03: 9.6K, 04: 19.2K
08 to 15 Frame format
00:
01:
02:
03:
04:
05:
06:
07:
08:
09:
10:
11:
DM 6652 00 to 15 Transmission delay (Host Link)
0000 to 9999: In ms.
DM 6653 00 to 07 Node number (Host Link)
00 to 31 (BCD)
08 to 15 Not used.
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.
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.
1
1
1
1
Start
Length
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
1
1
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.
Function
Stop
Parity
1 bit
Even
1 bit
Odd
1 bit
None
2 bit
Even
2 bit
Odd
2 bit
None
1 bit
Even
1 bit
Odd
1 bit
None
2 bit
Even
2 bit
Odd
2 bit
None
Section
4-2
Setting
00
0
(Any val-
ue is OK)
0
00
(Any val-
ue is OK)
00
(Any val-
ue is OK)
0000
00 to 31
00
(Any val-
ue is OK)
227

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents