Trial Operation And Debugging; Forced Set/Reset; Differential Monitoring - Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual

Programmable controllers
Table of Contents

Advertisement

Trial Operation and Debugging

7-2

Trial Operation and Debugging

7-2-1

Forced Set/Reset

Programming Device Operation
7-2-2

Differential Monitoring

A Programming Device can force-set (ON) or reset (OFF) specified bits (CIO
Area, Auxiliary Area, HR Area, and timer/counter Completion Flags). Forced
status will take priority over status output from the program or I/O refreshing.
This status cannot be overwritten by instructions, and will be stored regard-
less of the status of the program or external inputs until it is cleared from a
Programming Device.
Force-set/reset operations are used to force input and output during a trial
operation or to force certain conditions during debugging.
Force-set/reset operations can be executed in either MONITOR or PRO-
GRAM modes, but not in RUN mode.
Note Turn ON the Forced Status Hold Bit (A50013) and the IOM Hold Bit (A50012)
at the same time to retain the status of bits that have been force-set or reset
when switching the operating mode.
Turn ON the Forced Status Hold Bit (A50013) and the IOM Hold Bit (A50012),
and set the Forced Status Hold Bit at Startup setting PLC Setup to retain the
status of the Forced Status Hold Bit hold to retain the status of bits that have
been force-set or reset when turning OFF the power.
Forced ON regardless
of programming
Input ignored
The following areas can be force-set and reset.
CIO (I/O bits, data link bits, CPU Bus Unit bits, Special I/O Unit bits, Inner
Board bits, SYSMAC BUS bits, Optical I/O Unit bits, work bits), WR Area,
Timer Completion Flags, HR Area, Counter Completion Flags. (The Inner
Board, SYSMAC BUS, and I/O Terminal Areas are supported by the CS-
series CPU Units only.)
• Select bits for forced setting/resetting.
• Select forced set or forced reset.
• Clear forced status (including clearing all forced status at the same time).
When the CPU Unit detects that a bit set by a Programming Device has
changed from OFF to ON or from ON to OFF, the results are indicated in the a
Differentiate Monitor Completed Flag (A50809). The Flag will turn ON when
conditions set for the differential monitor have been met. A Programming
Device can monitor and display these results on screen.
Output Unit
CPU Unit
Forced
set
Forced
set
Section 7-2
361

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents