EasyManua.ls Logo

Omron CJ - 10-2005 - Clock Read;Change

Omron CJ - 10-2005
194 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
116
Clock Read/Change Section 6-1
6-1 Clock Read/Change
Note When the CPU Unit is in RUN mode, the clock can be read but can-
not be changed.
This operation is used to read or set the CPU Unit’s internal clock.
• A battery is not installed in CS1-series PLCs when they are shipped.
When the battery is installed in the CPU Unit, the CPU Unit clock will read
as shown below. 00–01–00 = day, month, year; 00:00:00 = hours, min-
utes, seconds; SUN(0) = Sunday.
• The CPU Unit’s internal clock will start when the following Clock Read/
Change operation is executed, when the time is read/changed from
another Peripheral Device, when a FINS command is used to read/
change the time, or when the DATE instruction is executed from the user
program.
• The time data for the CPU Unit’s internal clock is stored in the Calendar/
Clock Area (A351 to 354) in the Auxiliary Area.
Key Sequence
Operation Example The following example shows how to set clock data for the first time.
1,2,3... 1. From the initial display, access the special function display.
…
2. Select 0: TIM.
3. To change the settings, press the CHG Key. When the CHG Key is
pressed, the cursor will be displayed on the digit to be changed.
RUN MONITOR PROGRAM
See note OK OK
TIM 00-00-00
00:00:00: SUN(0)
MON
Data
Initial display
SHIFT WRITEFUN
0
Specify: Yr Mth Day Hr Min S
CHG
↓
↑
CLR
000000 CT00
FUN
SHIFT
MON
0:CLOCK
0
TIM 00-01-01
00:00:00: SUN(0)

Table of Contents