Enabling STOP and PAUSE Keys
In addition to the function keys and numeric keypad, there are three other keys. The STOP
key, and the PAUSE and CONTINUE keys are enabled by default, and can be disabled by
user commands.
Typically, if an application uses the STOP key, the key will be enabled (DSTP1) in the power-
up sequence. However, the STOP key can be enabled and disabled in any sequence, and at
any time.
The PAUSE and CONTINUE keys can be enabled in any sequence. The DCNT command
enables the PAUSE and CONTINUE keys.
If SSH is enabled (SSH1), the STOP key will function as a controlled stop. After motion is
halted, the Controller will resume command processing with the command directly following
the command that was stopped with the STOP key.
Sample Program
This section provides an example of an RP240 application program. Refer to the Software
Reference Guide for a more detailed description of the commands.
Power-up Sequence
A configuration sequence can be used to initialise the Controller to a state compatible with
the RP240 and used to initialise variables.
XE63
XD63
LD3 1DSTP1
VAR20=5
VAR21=1
XR21
XT
Sequence
In this example sequence #21 provides the main menu for a demonstration program. Control
is transferred to another sequence based on a function key input.
XE21
XD21
1DCLR0
1DPC106
1DTXT”DIGIPLAN’S RP240 DEMO PROGRAM”
1DPC200
1DTXT”ACCESS”
1DPC235
1DTXT”EXIT”
VAR1=FUN
IF(VAR1=1)
XG22
ELSE
IF(VAR1=6)
1DCLR0
HALT
ELSE
1DPC220
1DTXT”WRONG BUTTON!”
T1
XG21
NIF
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание PDHX-E Series
Страница 3: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 15: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 68: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 92: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 98: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 101: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...