Debugging Using Virtual External Inputs
8-2 Debugging Using Virtual External Inputs
8-2-1 Outline of Debugging Using Virtual External Inputs
Debugging Items
Debugging Methods
1,2,3... 1. Considering debugging items.
Decide debugging items using virtual external inputs.
2. Considering debugging methods
Decide debugging methods using virtual external inputs. Decide the gen-
eration method of the virtual external input data according to the debug-
ging contents.
3. Generating virtual external inputs
Generate virtual external inputs. The contents are different depending on a
data generation method.
4. Running by virtual external inputs
Actually generate virtual external inputs to run the program.
5. Checking the result
Check the result caused the program execution. The time chart monitor-
ing, the data tracing, and the Data Replay file of the CX-Programmer can
be used to check.
Consider debugging items in the following viewpoints, for example.
• Normal/Abnormal operation
• Automatic/Semi-automatic/Manual
• Interlocking among equipment
• Data collection/monitoring from the application programs on the com-
puter
Consider debugging methods in the following viewpoints, for example.
Data from actual units is available.
•
Easily operable from the
•
CX-Programmer.
Describe operation conditions in logic
•
expressions.
Try complicated input conditions.
•
Refer to 8-3 Generating Virtual External Inputs.
Refer to 8-4 Running by Virtual External Inputs.
Refer to 8-5 Checking the Result.
Section 8-2
Data tracing
Command log
I/O Condition
Ladder program for de-
bugging
159