![background image](http://html1.mh-extra.com/html/omron/srm1-programing-02-2001/srm1-programing-02-2001_programming-manual_742414024.webp)
!
1-1
Section
PC Setup
2
1-1
PC Setup
The PC Setup comprises various operating parameters that control PC opera-
tion. In order to make the maximum use of PC 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 PC can be used without having to change the settings. You are, howev-
er, advised to check the default values before operation.
Default Values
The default values for the PC Setup are 0000 for all words (except for the low
battery error enable in DM 6655 bits 12 to 15 for CPM2A CPU Units). The default
values can be reset at any time by turning ON SR 25210 in PROGRAM mode.
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 PC will have to be restarted to make changes in DM 6600 to DM 6614 effec-
tive, 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.
The PC Setup can be read, but not overwritten, from the user program. Writing
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 Programming
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 cycle time will be rather long when the PC Setup
is changed in 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 setting
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.
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 1300 to AR 1302) will be turned
ON, and the default setting will be used instead of the incorrect setting.
Making Changes from a
Programming Device