Debugging Using Virtual External Inputs Section 8-2
155
8-2 Debugging Using Virtual External Inputs
8-2-1 Outline of Debugging Using Virtual External Inputs
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.
Refer to 8-3 Generating Virtual External Inputs.
4. Running by virtual external inputs
Actually generate virtual external inputs to run the program.
Refer to 8-4 Running by Virtual External Inputs.
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.
Refer to 8-5 Checking the Result.
Debugging Items
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
Debugging Methods
Consider debugging methods in the following viewpoints, for example.
· Data from actual units is available. à Data tracing
· Easily operable from the CX-
Programmer.
à Command log
· Describe operation conditions in logic ex-
pressions.
à I/O Condition
· Try complicated input conditions. à Ladder program for de-
bugging
AUDIN - 8, avenue de la malle - 51370 Saint Brice Courcelles - Tel : 03.26.04.20.21 - Fax : 03.26.04.28.20 - Web : http: www.audin.fr - Email : info@audin.fr