Omron CPM2B Manuale Utente

Pagina di 149
!
!
6-1
Section
Using a Programming Console
80
6-1-2 Changing the CPM2B’s Mode with the Mode Switch
Once the Programming Console has been connected, its mode switch can be
used to change the CPM2B’s operating mode. The mode display (<PRO-
GRAM>, <MONITOR>, or <RUN>) will appear on the Programming Console
screen.
No key operations can be performed while the mode display is displayed on
the Programming Console screen. Press CLR to clear the display so that key
operations can be performed.
If the SHIFT Key is pressed while the mode switch is turned, the original dis-
play will remain on the Programming Console’s screen and the mode display
won’t appear.
The CPM2B will enter RUN mode automatically if a Programming Console
isn’t connected when the CPM2B is turned on.
Mode display
Initial display
<PROGRAM>    BZ
CLR
SHIFT
CLR
00000
RUN
MONITOR
PROGRAM
RUN
MONITOR
PROGRAM
RUN
MONITOR
PROGRAM
<MONITOR>    BZ
<RUN>        BZ
Operation
Operation
Operating Modes
PROGRAM Mode
The CPM2B program isn’t executed in PROGRAM mode. Use PROGRAM
mode to create and edit the program, clear memory, or check the program for
errors, or check output wiring.
MONITOR Mode
The CPM2B program is executed in MONITOR mode and I/O is processed just
as it is in RUN mode. Use MONITOR mode to test system operations, such as
monitoring CPM2B operating status, force-setting and resetting I/O bits, chang-
ing the SV/PV of timers and counters, changing word data, and online editing.
RUN Mode
This is the CPM2B’s normal operating mode. The CPM2B’s operating status can
be monitored from a Programming Device, but bits can’t be force-set/force-reset
and the SV/PV of timers and counters can’t be changed.
Caution
Check the system thoroughly before changing the operating mode of the PC to
prevent any accidents that might occur when the program is first started.
Caution
Never change the mode while pressing any of the keys.