
99
PC Setup
Section 4-6
Note
1.
The same data can be read immediately with PRV(62).
2.
The time and date can be set while AR 2114 is ON. The new setting be-
comes effective when AR 2115 is turned ON. (AR 2114 and AR 2115 are
turned OFF automatically when the new setting goes into effect.)
3.
The units for the maximum and current cycle times are determined by the
setting in bits 08 to 15 of DM 6618. A setting of 00 specifies 0.1-ms units,
01 specifies 0.1-ms units, 02 specifies 1-ms units, and 03 specifies 10-ms
units.
4-6
PC Setup
4-6-1
Overview
The PC Setup (DM 6600 to DM 6655) contains various settings that control
PC operation. Changes to the PC Setup are saved when the CPM2C-S is
turned OFF, program execution is started, or program execution is stopped.
Always perform one of the following operations after changing the PC Setup:
• Switch the CPM2C-S to MONITOR mode or RUN mode.
• Turn the CPM2C-S OFF and then ON again.
Changing PC Setup
Settings
The PC Setup (DM 6600 to DM 6655) can be edited from a Programming
Device. The settings in DM 6600 to DM 6644 can be changed only when the
PC is in PROGRAM mode. The settings in DM 6645 to DM 6655 can be
changed when the PC is in PROGRAM mode or MONITOR mode, although
the PC’s cycle time will be quite long when the settings are changed in MONI-
TOR mode.
CPU Unit Access of PC
Setup Settings
The CPM2C-S CPU Unit reads parts of the PC Setup at different points of PC
operation. The CPU Unit timing is as follows:
DM 6600 to DM 6614:
Read once when the PC is turned ON.
DM 6615 to DM 6644:
Read once at the start of program execution.
DM 6645 to DM 6655:
Read regularly while the PC is ON.
PC Setup Errors
If there is an error in the PC Setup settings, a non-fatal error (error code 9B)
will be generated when the CPU Unit accesses that part of the PC Setup. The
PC Setup Error Flags (AR 1300 to AR 1302) indicate the part of the PC Setup
where the error is located. The default setting (usually 0000) is used instead
of the incorrect setting.
AR 21
(Note 2)
00 to 07
Day of the Week
3
(00 to 06, BCD)
00: Sunday
01: Monday
02: Tuesday
03: Wednesday
04: Thursday
05: Friday
06: Saturday
08 to 12
Not used.
13
30-second Compensation Bit
Turn this bit ON to round off to the nearest minute. When the seconds are 00 to 29, the seconds
are cleared to 00 and the rest of the time setting is left unchanged. When the seconds are 30 to
59, the seconds are cleared to 00 and the time is incremented by one minute.
14
Clock Stop Bit
Turn this bit ON to stop the clock. The time/date can be overwritten while this bit is ON.
15
Clock Set Bit
To change the time/date, turn ON AR 2114, write the new time/date (being sure to leave AR 2114
ON), and then turn this bit ON to enable a new time/date setting. The clock will restart and both
AR 2114 and AR 2115 will be turned OFF automatically.
AR 22
00 to 15
Not used.
AR 23
00 to 15
Power-off Counter
(4 digits BCD)
This is the count of the number of times that the power has been turned off.
To clear the count, write “0000” from a Programming Device.
Word(s)
Bit(s)
Function
Содержание CPM2C-S100C
Страница 2: ......
Страница 3: ...CPM2C S Programmable Controller Operation Manual Revised September 2009 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 14: ...xiv ...
Страница 180: ...158 One to one PC Link I O Response Time Section 7 4 ...
Страница 222: ...200 Programming Example Section 8 3 ...
Страница 250: ......
Страница 256: ......
Страница 258: ......
Страница 260: ...238 Support Software Appendix C ...
Страница 268: ......