Omron CJ2 CPU UNIT SOFTWARE User Manual page 312

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

9 PLC Setup
Precautions for Correct Use
Precautions for Correct Use
The contents of the DM, EM, HR, and AR Areas in the CPU Unit are not backed up to internal
flash memory. The contents of the DM, EM, HR, and AR Areas are retained by the battery when
the power is turned OFF or interrupted. This data may be lost if there is a battery error. Provide
measures in the program using the Battery Error Flag (A402.04) to re-initialize data.
Detect Duplicated Refreshing Error (Setting Whether to Detect Duplicate
Refresh Errors)
This setting determines whether duplicate refresh errors are detected (default: detect). Duplicate
refresh errors will be detected in the following cases if this parameter is set to the default (ON:
detect).
Parameter
Detect Dupli-
OFF: Do not
cated
detect
Refreshing
ON: Detect
Error
Stop CPU on Instruction Error
This setting determines whether operation will be stopped if an instruction execution error occurs
(default: Do not stop). Stopping the CPU Unit for instruction errors is used when debugging the pro-
gram. A program error will be generated as an instruction error if any of the following flags is turned
ON if Stop CPU on Instruction Error is set to stop the CPU Unit.
Instruction
error
Parameter
Stop CPU
OFF: Continue
on Instruc-
ON: Stop
tion Error
9-10
Settings
Default
ON
This setting determines whether duplicate refresh
errors are detected. If this setting is set to ON
(detect) and an error is detected, the ERR/ALM indi-
cator on the CPU Unit will flash and the Duplicate
Refresh Error Flag (A402.13) will be turned ON.
CPU Unit operation will continue.
Instruction error flag
Address
Instruction Processing
A295.08
Error Flag
Indirect DM/EM BCD
A295.09
Error Flag
Illegal Access Error
A295.10
Flag
Settings
Default
OFF
This setting determines whether
instruction errors (instruction pro-
cessing errors (ER) and illegal
access errors (AER)) are treated
as non-fatal or fatal errors.
Function
OFF: Do not stop
Cause
The ER Flag was turned
ON.
Operation
The contents of a DM/EM
word was not BCD when
continues.
BCD was required for
indirect addressing.
Attempted to access part
of memory that is off-limits
from the program.
Function
Related
flags and
words
A402.13
(Duplicate
Refresh
Error Flag)
ON: Stop
Operation
stops.
Related flags and words
A295.08 (Instruction Process-
ing Error Flag), A295.09 (Indi-
rect DM/EM BCD Error Flag,
A295.10 (Illegal Access Error
Flag) (If this setting is set to
OFF, these flags won't be turned
ON even if an instruction error
occurs.)
CJ2 CPU Unit Software User's Manual

Advertisement

Table of Contents
loading

Table of Contents