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

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

Advertisement

CPM2A/CPM2C Communications Functions
Word
Bit
DM 6646
00 to 07
Baud rate
00: 1,200 bps; 01: 2,400 bps; 02: 4,800 bps; 3: 9,600 bps; 04: 19,200 bps
08 to 15
Frame format
00:
01:
02:
03:
04:
05:
06:
07:
08:
09:
10:
11:
(Other settings will cause a non-fatal error, the default settings (03) will be used,
and AR 1302 will turn ON.)
DM 6647
00 to 15
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.)
DM 6648
00 to 07
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.)
08 to 11
Start code enable (RS-232C)
0: Disable; 1: Use start code in DM 6649.
12 to 15
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 default setting (0) will be used, and
AR 1302 will turn ON.)
DM 6649
00 to 07
Start code (00 to FF)
(No-protocol, effective when bits 8 to 11 of DM 6648 are set to 1.)
08 to 15
No. of bytes of data received
(No-protocol, effective when bits 12 to 15 of DM 6648 are set to 0.)
00: 256 bytes
01 to FF: 1 to 255 bytes
End code (00 to FF)
(No-protocol, effective when bits 12 to 15 of DM 6648 are set to 1.)
Word
Bit
DM 6650
00 to 03
Port settings
0: Standard (1 start bit, 7-bit data, 2 stop bits, even parity, 9,600 bps; Host Link
1: Settings in DM 6651
(Other settings will cause a non-fatal error, the default setting (0) will be used, and
AR 1302 will turn ON.)
04 to 11
Not used
12 to 15
Communications mode
0: Host Link or peripheral bus; 1: No-protocol
(Other settings will cause a non-fatal error, the Host Link setting will be used, and
AR 1302 will turn ON.)
256
Start
Length Stop Parity
1
7
1
Even
1
7
1
Odd
1
7
1
None
1
7
2
Even
1
7
2
Odd
1
7
2
None
1
8
1
Even
1
8
1
Odd
1
8
1
None
1
8
2
Even
1
8
2
Odd
1
8
2
None
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.
Settings for Peripheral Port
unit number: 0)
Function
Function
Section
4-3
Setting
As required
0000 to
9999
As required
0 or 1
0 to 2
00 to FF
00 to FF
00 to FF
Setting
As required
0
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents