Test Input; Differential Monitoring - Omron CJ2 CPU - REV 10-2010 User Manual

Cj2 cpu unit software
Table of Contents

Advertisement

10 CPU Unit Functions
Forced Status Hold Bit
Name
Forced Status Hold Bit

10-7-2 Test Input

The ON/OFF status of the DIP switch pin 6 on the front of the CPU Unit is stored in the DIP Switch Pin
Status Flag (A395.12) in the Auxiliary Area. For debugging or other purposes, an input can be manipu-
lated manually as a test without using an Input Unit.
SYSMAC
RUN
CJ2H
ERR/ALM
CPU64-EIP
INH
PRPHL
PROGRAMMABLE
COMM
CONTROLLER
BKUP
Auxiliary Area Flags and Words
Name
DIP Switch Pin Status Flag

10-7-3 Differential Monitoring

When the CPU Unit detects that a bit set by the CX-Programmer has changed from OFF to ON or from
ON to OFF, the results are indicated in the Differentiate Monitor Completed Flag (A508.09). The Flag
will turn ON when conditions set for the differential monitor have been met. The CX-Programmer can
monitor and display these results on screen.
CPU Unit
I/O memory
Bit A
Monitored
for OFF to
ON
transition.
10-64
Address
A500.13
Turn this bit ON to preserve the status of bits that have
been force-set or force-reset when changing between
PROGRAM and RUN or MONITOR mode or when
turning ON the power.
ON
Pin 6 ON: A395.12 is ON.
Pin 6 OFF: A395.12 is OFF.
Address
A395.12
Contains the status set on pin 6 of the CPU Unit's
DIP switch. (Refreshed every cycle.)
CX-Programmer
Detects bit A OFF
to ON transition.
Function
Function
CJ2 CPU Unit Software User's Manual
Access
Read/write
Access
Read only

Advertisement

Table of Contents
loading

Table of Contents