185
Programming Example Section 4-3
4-3 Programming Example
This section demonstrates all of the steps needed to write a program with the
Programming Console.
4-3-1 Preparatory Operations
Use the following procedure when writing a program to the CPM2C for the first
time.
1,2,3... 1. Set the Programming Console’s mode switch to PROGRAM mode and
turn on the CPM2C’s power supply. The password input display will appear
on the Programming Console.
2. Enter the password by pressing the CLR and then the MONTR Key.
3. Clear the CPM2C’s memory by pressing the CLR, SET, NOT, RESET, and
then the MONTR Key. Press the CLR Key several times if memory errors
are displayed.
4. Display and clear error messages by pressing the CLR, FUN, and then the
MONTR Key. Continue pressing the MONTR Key until all error messages
have been cleared.
5. Press the CLR Key to bring up the initial programming display (program ad-
dress 00000). The new program can be written at this point.
!Caution Check the system thoroughly before starting or stopping the CPM2C to pre-
vent any accidents that might occur when the program is first started.
RUN
MONITOR
PROGRAM
<PROGRAM>
PASSWORD!
CLR
MONTR
<PROGRAM> BZ
CLR
SET
NOT
RESET
MEMORY CLR?
HR CNT DM
MONTR
END HR CNT DM
00000MEMORY CLR
CLR
FUN
FUN (0??)
MONTR
ERR/MSG CHK OK
CLR