Programming Example; Reading And Setting The Clock; Preparatory Operations - Omron SYSMAC CPM2B Operation Manual

Hide thumbs Also See for SYSMAC CPM2B:
Table of Contents

Advertisement

Programming Example

7-2-30 Reading and Setting the Clock

1,2,3...
7-3

Programming Example

7-3-1

Preparatory Operations

1,2,3...
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
This operation is used to read or set the CPU's clock. The clock can be read
in any mode, but can be set in MONITOR or PROGRAM mode only.
Operation
Read clock
OK
Set clock
No
1. Press the CLR Key to bring up the initial display.
2. Press the FUN Key, SHIFT Key, and then the MONTR Key to display the
date and time.
FUN
SHIFT MONTR
3. Press the CHG Key to change the date and/or time.
The digit that can be changed will flash. If necessary, input a new value
with the Up and Down Arrow Keys or Numeric Keys. Press the CHG Key
to move the cursor to the next digit. The following table shows the setting
ranges for each value.
Year
Month
00 to 99
01 to 12
01 to 31
4. Press the WRITE Key to write the new value.
WRITE
Press the CLR Key to return to the initial display.
This section demonstrates all of the steps needed to write a program with the
Programming Console.
Use the following procedure when writing a program to the CPM2B for the first
time.
1. Set the Programming Console's mode switch to PROGRAM mode and
turn on the CPM2B's power supply. The password input display will appear
on the Programming Console.
MONITOR
RUN
PROGRAM
2. Enter the password by pressing the CLR and then the MONTR Key.
RUN
MONITOR
OK
OK
TIM
99-02-22
11:04:32
TIM CHG?~9-02-22
CHG
11:04:32
Day
Hour
Minute
00 to 23
00 to 59
INST TBL
FUN018:HEX
<PROGRAM>
PASSWORD!
Section 7-3
PROGRAM
OK
OK
MON(1)
MON(1)
Second
Day-of-week
00 to 59 0 to 6
(SUN to SAT)
READ
153

Advertisement

Table of Contents
loading

Table of Contents