Test
Break Profile Step
Activate Deactiv Edit Go Rll State Test
View
The TEST command displays a menu of commands to test any loaded PDL2 programme from outside the
programme editor. This is particularly effective for testing multiple programmes. The TEST command cannot
be used when memory, system or programme protection is on or when the controller is in the FATAL status.
·
Break displays a menu of commands to set up and use break points in a programme.
Insert Purge View
Break
Profile Step
A break point is a point in the programme at which programme execution will break, placing the system
in the ready state. To resume the programme, press the RUN key. Holdable programmes also require a
START.
BREAK commands can be used for any programme loaded, including the currently activated ones. The
system automatically numbers break points.
The Insert command inserts a break point. Inserted break points take effect immediately.
A programme name and a line number parameter are required; the line number must correspond to an
executable code. The break occurs at the specified line number before the statement is executed. If a
line number is not specified an error message is displayed.
Options: /Label allows a label to be specified instead of a line number.
/Routine allows a routine name to be specified instead of a line number.
It is also necessary to use both /LABEL and /ROUTINE options to specify a label inside a
routine.
Syntax: PTBI <programme_name> <line number>
PTBI/L <programme_name> <label>
PTBI/R <programme_name> <routine_name>
PTBI/LR <programme_name> <routine_name> <label>
PTBI/RL <programme_name> <routine_name> <label>
·
Purge removes break points from a programme. A break point number can be specified or an asterisk
can be used to purge all break points.
Syntax: PTBP <brk_pt_num> <programme_name>
·
View displays a list of break points. A programme name can be specified also using the asterisk. If not,
all the break points referring to all programmes are shown.
Options: /Nopage
Syntax: /PTBV <programme_name>
C3G Plus OPERATOR INTERFACE
03/0499 3-47
PROGRAM COMMAND