Omron CPM2B 사용자 설명서
4-5
Section
PC Setup
67
Word(s)
Function
Bit(s)
High-speed Counter Settings (DM 6642 to DM 6644)
The following settings are effective after transfer to the PC the next time operation is started.
DM 6642
00 to 03
High-speed counter mode (Effective only when bits 08 to 15 are not set to 00.)
0: Differential phase mode (5 kHz)
1: Pulse + direction input mode (20 kHz)
2: Up/down input mode (20 kHz)
4: Increment mode (20 kHz)
1: Pulse + direction input mode (20 kHz)
2: Up/down input mode (20 kHz)
4: Increment mode (20 kHz)
04 to 07
High-speed counter reset mode (Effective only when bits 08 to 15 are set to 01.)
0: Z phase and software reset; 1: Software reset only
0: Z phase and software reset; 1: Software reset only
08 to 15
High-speed counter/Synchronized pulse control for IR 00000 to IR 00002
00: Don’t use either function.
01: Use as high-speed counters.
02: Use for synchronized pulse control (10 to 500 Hz).
03: Use for synchronized pulse control (20 Hz to 1 kHz).
04: Use for synchronized pulse control (300 Hz to 20 kHz).
01: Use as high-speed counters.
02: Use for synchronized pulse control (10 to 500 Hz).
03: Use for synchronized pulse control (20 Hz to 1 kHz).
04: Use for synchronized pulse control (300 Hz to 20 kHz).
DM 6643,
DM 6644
DM 6644
00 to 15
Not used.
RS-232C Port Communications Settings
The following settings are effective after transfer to the PC.
If CPU Board communications switch SW202 is ON, communications through the RS-232C port are governed by the
default settings (all 0) regardless of the settings in DM 6645 through DM 6649.
default settings (all 0) regardless of the settings in DM 6645 through DM 6649.
DM 6645
00 to 03
Port settings
0: Standard (1 start bit, 7 data bits, even parity, 2 stop bits, 9,600 bps, Host Link unit number: 0)
1: Settings in DM 6646
1: Settings in DM 6646
(Any other setting will cause a non-fatal error and AR 1302 will turn ON.)
04 to 07
CTS control setting
0: Disable CTS control; 1: Enable CTS control
0: Disable CTS control; 1: Enable CTS control
(Any other setting will cause a non-fatal error and AR 1302 will turn ON.)
08 to 11
Link words for 1:1 PC Link
0: LR 00 to LR 15 (Any other settings are ineffective.)
0: LR 00 to LR 15 (Any other settings are ineffective.)
12 to 15
Communications mode
0: Host Link; 1: No-protocol; 2: 1:1 PC Link Slave; 3: 1:1 PC Link Master; 4: NT Link
0: Host Link; 1: No-protocol; 2: 1:1 PC Link Slave; 3: 1:1 PC Link Master; 4: NT Link
(Any other setting causes a non-fatal error and turns ON AR 1302.)
DM 6646
00 to 07
Baud rate
00: 1,200 bps; 01: 2,400 bps; 02: 4,800 bps; 03: 9,600 bps; 04: 19,200 bps
00: 1,200 bps; 01: 2,400 bps; 02: 4,800 bps; 03: 9,600 bps; 04: 19,200 bps
08 to 15
Frame format
Start bits
Data bits
Stop bits
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 bits
Even
04:
1 bit
7 bits
2 bits
Odd
05:
1 bit
7 bits
2 bits
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 bits
Even
10:
1 bit
8 bits
2 bits
Odd
11:
1 bit
8 bits
2 bits
None
(Any other setting specifies standard settings (1 start bit, 7 data bits; even parity, 2 stop bits),
causes a non-fatal error, and turns ON AR 1302.)
causes a non-fatal error, and turns ON AR 1302.)
DM 6647
00 to 15
Transmission delay (0000 to 9999 BCD sets a delay of 0 to 99,990 ms.)
(Any other setting specifies a delay of 0 ms, causes a non-fatal error, and turns ON AR 1302.)