4
PC Setup Section 1-1
Errors in the PC Setup If an incorrect PC Setup setting is accessed, a non-fatal error (error code 9B)
will be generated, the corresponding error flag (AR 2400 to AR 2402 in the
CQM1, AR 1300 to AR 1302 in the CPM1/CPM1A/SRM1) will be turned ON,
and the default setting will be used instead of the incorrect setting.
1-1-2 CQM1 PC Setup Settings
The PC Setup is broadly divided into four categories: 1) Settings related to
basic CQM1 operation and I/O processes, 2) Settings related to pulse output
functions, 3) Settings related to interrupts, and 4) Settings related to commu-
nications. This section will explain the settings according to these classifica-
tions.
The following table shows the setting in order in the DM area. For details, refer
to the page numbers shown.
Word(s) Bit(s) Function Page
Startup Processing (DM 6600 to DM 6614)
The following settings are effective after transfer to the PC only after the PC is restarted.
DM 6600 00 to 07 Startup mode (effective when bits 08 to 15 are set to 02).
00: PROGRAM; 01: MONITOR 02: RUN
16
08 to 15 Startup mode designation
00: Programming Console switch
01: Continue operating mode last used before power was turned off
02: Setting in 00 to 07
DM 6601 00 to 07 Not used.
08 to 11 IOM Hold Bit (SR 25212) Status
0: Reset; 1: Maintain
17
12 to 15 Forced Status Hold Bit (SR 25211) Status
0: Reset; 1: Maintain
DM 6602 to
DM 6610
00 to 15 Not used.
DM 6611 00 to 15 CQM1-CPU43-EV1: Mode setting for ports 1 and 2
0000: High-speed counter mode; 0001: Pulse output mode
CQM1-CPU44-EV1: Origin compensation setting for port 1 (4-digit BCD)
25, 63
DM 6612 00 to 15 CQM1-CPU44-EV1: Origin compensation setting for port 2 (4-digit BCD) 63
Pulse Output and Cycle Time Settings (DM 6615 to DM 6619)
The following settings are effective after transfer to the PC the next time operation is started.
DM 6615 00 to 07 Word for pulse output.
00: IR 100; 01: IR101; 02: IR 102... 15: IR 115
24
08 to 15 Not used.
DM 6616 00 to 07 Servicing time for RS-232C port (effective when bits 08 to 15 are set to 01)
00 to 99 (BCD): Percentage of cycle time used to service RS-232C port.
18
08 to 15 RS-232C port servicing setting enable
00: 5% of the cycle time
01: Use time in 00 to 07.
DM 6617 00 to 07 Servicing time for peripheral port (effective when bits 08 to 15 are set to 01)
00 to 99 (BCD): Percentage of cycle time used to service peripheral.
18
08 to 15 Peripheral port servicing setting enable
00: 5% of the cycle time
01: Use time in 00 to 07.
DM 6618 00 to 07 Cycle monitor time (effective when bits 08 to 15 are set to 01, 02, or 03)
00 to 99 (BCD): Setting (see 08 to 15)
21
08 to 15 Cycle monitor enable (Setting in 00 to 07 x unit; 99 s max.)
00: 120 ms (setting in bits 00 to 07 disabled)
01: Setting unit: 10 ms
02: Setting unit: 100 ms
03: Setting unit: 1 s