179
Programming Example Section 7-4
to move the cursor to the next digit. The following table shows the setting
ranges for each value.
4. Press the WRITE Key to write the new value.
Press the CLR Key to return to the initial display.
7-3-28 Displaying the Cycle Time
This operation is used to display the current average cycle time (scan time). It
is possible only in RUN or MONITOR mode while the program is being exe-
cuted.
1,2,3... 1. Press the CLR Key to bring up the initial display.
2. Press the MONTR Key to display the cycle time.
There might be differences in displayed values when the MONTR Key is
pressed repeatedly. These differences are caused by changing execution
conditions.
Note “MS” indicates milliseconds.
7-4 Programming Example
This section demonstrates all of the steps needed to write a program with the
Programming Console.
7-4-1 Preparatory Operations
Use the following procedure when writing a program to the CQM1H for the
first time.
1,2,3... 1. Set the Programming Console’s mode switch to PROGRAM mode and
turn ON the CQM1H’s power supply. The password input display will ap-
pear on the Programming Console.
2. Enter the password by pressing the CLR and then the MONTR Key.
Year Month Day Hour Minute Second Day-of-week
00 to 99 01 to 12 01 to 31 00 to 23 00 to 59 00 to 59 0 to 6
(SUN to SAT)
WRITE
TIM 99
–
03
–
19
11:04:32 FRI(5)
RUN MONITOR PROGRAM
OK OK No
MONTR
SCAN TIME
012.1MS
RUN
MONITOR
PROGRAM
<PROGRAM>
PASSWORD!
CLR
MONTR
<PROGRAM>