Operating Modes; Pc Operation At Startup - Omron SYSMAC CPM2B Operation Manual

Programmable controller
Hide thumbs Also See for SYSMAC CPM2B:
Table of Contents

Advertisement

Structure and Operation

1-3-2 Operating Modes

PROGRAM Mode
!
Caution
MONITOR Mode
RUN Mode
1-3-3 Operating Mode at Startup
14
CPM2B CPU Boards have 3 operating modes: PROGRAM, MONITOR, and
RUN.
The program cannot be executed in PROGRAM mode. This mode is used to
perform the following operations in preparation for program execution
• Changing initial/operating parameters such as those in the PC Setup
• Writing, transferring, or checking the program
• Checking wiring by force-setting and force-resetting I/O bits
The PC continues to refresh I/O bits even if the PC is in PROGRAM mode, so
devices connected to output points on the CPU Board or Expansion I/O Boards
may operate unexpectedly if the corresponding output bit is turned ON by
changing the contents of I/O memory from a Programming Device.
The program is executed in MONITOR mode and the following operations can
be performed from a Programming Device. In general, MONITOR mode is used
to debug the program, test operation, and make adjustments.
• Online editing
• Monitoring I/O memory during operation
• Force-setting/force-resetting I/O bits, changing set values, and changing pres-
ent values during operation
The program is executed at normal speed in RUN mode. Operations such as
online editing, force-setting/force-resetting I/O bits, and changing set values/
present values cannot be performed in RUN mode, but the status of I/O bits can
be monitored.
The operating mode of the CPM2B when the power is turned ON depends upon
the PC Setup settings and the Programming Console's mode switch setting if a
Programming Console is connected.
PC Setup setting
Word
Bits
DM 6600
08 to 15
00 to 07
Note The startup mode depends upon the setting of Communications Switch SW201
and the Programming Device connected to the peripheral port.
Programming
Device
None
PROGRAM mode
Programming
Operating mode set on the
Console
Programming Console's mode switch
Other device
PROGRAM mode (see note 1)
Note
1. The CPM2B will not be able to communicate with the Programming Device
in these cases.
2. The default setting of bits 08 to 15 of DM 6600 is 00. With this default setting,
the PC will automatically enter RUN mode if a Programming Console is not
connected and SW201 is ON. Be sure that it is safe for the PC to operate
before turning it ON under these conditions.
Setting
00
See note.
01
Startup mode is the same as the operating mode before
power was interrupted.
02
Startup mode is determined by bits 00 to 07.
00
PROGRAM mode
01
MONITOR mode
02
RUN mode
SW201 OFF
Section
Operating mode
SW201 ON
RUN mode (see note 2)
PROGRAM mode
(see note 1)
PROGRAM mode
1-3

Advertisement

Table of Contents
loading

Table of Contents