![Omron CPM2C Скачать руководство пользователя страница 24](http://html1.mh-extra.com/html/omron/cpm2c/cpm2c_operation-manual_742519024.webp)
!
1-3
Section
This is the program written by the user. The CPM2C executes the program cycli-
cally. (Refer to
1-3-5 Cyclic Operation and Interrupts
for details.)
The program can be divided broadly into two parts: the “main program” that is
executed cyclically and the “interrupt programs” that are executed only when the
corresponding interrupt is generated.
The PC Setup contains various startup and operating parameters. The PC Set-
up parameters can be changed from a Programming Device only; they cannot
be changed from the program.
Some parameters are accessed only when PC’s power supply is turned ON and
others are accessed regularly while the power is ON. It will be necessary to turn
the power OFF and then ON again to enable a new setting if the parameter is
accessed only when the power is turned ON.
Note Refer to
Section 1 PC Setup
in the
Programming Manual
(W353) for more de-
tails.
The Communications Switches determine whether the peripheral port and
RS-232C port operate with the standard communications settings or the com-
munications settings in the PC Setup.
1-3-2 Operating Modes
CPM2C CPU Units 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
Caution
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 Unit or Expansion I/O Units may
operate unexpectedly if the corresponding output bit is turned ON by changing
the contents of I/O memory.
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.
Program
PC Setup
Communications
Switches
PROGRAM Mode
MONITOR Mode
RUN Mode
Содержание CPM2C
Страница 1: ...CPM2C Programmable Controllers Operation Manual Produced June 1999...
Страница 2: ...http www bzxindaxin com http www gk world com...
Страница 3: ...http www bzxindaxin com http www gk world com...
Страница 4: ...http www bzxindaxin com http www gk world com...
Страница 5: ...http www bzxindaxin com http www gk world com...
Страница 6: ......