3
PC Setup Section 1-1
1-1 PC Setup
The PC Setup comprises various operating parameters that control CQM1/
CPM1/CPM1A/SRM1 operation. In order to make the maximum use of
CQM1/CPM1/CPM1A/SRM1 functionality when using interrupt processing
and communications functions, the PC Setup may be customized according
to operating conditions.
At the time of shipping, the defaults are set for general operating conditions,
so that the CQM1/CPM1/CPM1A/SRM1 can be used without having to
change the settings. You are, however, advised to check the default values
before operation.
Default Values The default values for the PC Setup are 0000 for all words. The default values
can be reset at any time by turning ON SR 25210.
!Caution When data memory (DM) is cleared from a Programming Device, the PC
Setup settings will also be cleared to all zeros.
1-1-1 Changing the PC Setup
PC Setup settings are accessed at various times depending on the setting, as
described below.
• DM 6600 to DM 6614: Accessed only when PC’s power supply is turned
on.
• DM 6615 to DM 6644: Accessed only when program execution begins.
• DM 6645 to DM 6655: Accessed regularly when the power is on.
Since changes in the PC Setup become effective only at the times given
above, the CQM1/CPM1/CPM1A/SRM1 will have to be restarted to make
changes in DM 6600 to DM 6614 effective, and program execution will have to
be restarted to make changes in DM 6615 to DM 6644 effective.
When DM 6602 bits 00 to 03 are set to protect the program memory, DM 6602
cannot be changed using the PC Setup operation of the Support Software. To
change DM 6602, use the I/O Monitor or DM Edit operation.
Making Changes from a
Peripheral Device
The PC Setup can be read, but not written into, from the user program. Writ-
ing can be done only by using a Programming Device.
Although the PC Setup is stored in DM 6600 to DM 6655, settings can be
made and changed only from a Programming Device (e.g., SSS, or Program-
ming Console). DM 6600 to DM 6644 can be set or changed only while in
PROGRAM mode. DM 6645 to DM 6655 can be set or changed while in either
PROGRAM mode or MONITOR mode.
The following settings can be made in PROGRAM mode from the SSS using
menu operations. All other settings must be made using the hexadecimal set-
ting operation.
• Startup Mode (DM 6600)
• I/O Hold Bit Status and Forced Status Hold Bit Status (DM 6601)
• Cycle Monitor Time (DM 6618)
• Cycle Time (DM 6619)
• RS-232C Port Settings (DM 6645 to DM 6649)
Note The RS-232C Port Settings (DM 6645 to DM 6649) are not used in CPM1/
CPM1A PCs because these PCs aren’t equipped with an RS-232C port.