Parker PDHX-E Series User Manual page 89

Table of Contents

Advertisement

Sequence Debugging Tools
After creating your sequences, you may need to debug them to ensure that they are
performing properly. The Controller provides several debugging tools.
In trace mode, you can trace a sequence as it is executing
You can single step through a program
Error messages can be enabled explaining why the Controller has stopped execution
Trace Mode
You can use the trace mode to debug a sequence or a program of sequences. The trace
mode allows you to track, command by command, the entire sequence. It displays to your
terminal, over the RS-232C serial link, all of the commands as they are executed. The
following example demonstrates the trace mode.
Step 1
Create the following sequence:
Step 2
Define the sequence #3.
Step 3
Enter the following command to enable the Trace mode.
Step 4
You will now execute the sequence. The commands will be displayed on the terminal as
each command in the sequence is run. Enter the following command:
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Command
XE1
XD1
A10
V5
L5
GOSUB3
N
XT
Command
XE3
XD3
D50000
G
XT
Command
1XTR1
Command
XR1
*SEQUENCE 001 COMMAND A10
*SEQUENCE 001 COMMAND V5
*SEQUENCE 001 COMMAND L5
*SEQUENCE 001 COMMAND GOSUB3 LOOP COUNT 1
Description
Erases sequence #1
Begins definition of sequence #1
2
Acceleration is 10 rps
Velocity is 5 rps
Loop 5 times
Jump to sequence #3
Ends the loop
Ends the definition of sequence #1
Description
Erases sequence #3
Begins definition of sequence #3
Sets the distance to 50000 steps
Initiates motion
Ends the definition of sequence #3
Description
Enable the trace mode
Description
Run sequence #1 - response is:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pdhx15-ePdhx15e-d

Table of Contents