8 CPU Unit Functions
8-30
NJ-series CPU Unit Software User’s Manual (W501)
8-5 Debugging
This section describes debugging.
The NJ-series Controller provides the following debugging operations.
• Forced refreshing
• Changing present values
• Online editing
• Data tracing
• Differential monitoring
Forced refreshing allows the user to refresh external inputs and outputs with user-specified values from
the Sysmac Studio to debug the system. Forced refreshing is executed not for the specified device vari-
ables, but for the I/O ports that are assigned to the device variables. The state that is specified with
forced refreshing is retained until forced refreshing is cleared from the Sysmac Studio. (Refer to Hold-
ing/Clearing Forced Refreshing on page 8-33 for information how forced refreshing is retained or
cleared according to changes in CPU Unit status. All forced refreshing is cleared when a fatal error
occurs, when a Clear All Memory operation is performed, when the operating mode is changed, when
power is interrupted, or when the project is downloaded.
Inputs
The I/O port and device variable change to the status that is specified with forced refreshing regard-
less of the status of the external input.
8-5-1 Forced Refreshing
Description
Sysmac Studio
TRUE
FALSE
Device variable
TRUE
CPU Unit
(2) I/O port and device variable change to TRUE.
I/O port
(1) I/O port changed to
TRUE with forced
refreshing.