Rockwell Automation 8520 9/Series CNC Integration Maintenance Manual Documentation Set User Manual
Page 516

G01
Chapter 9B
Integrating Your Teach Pendant
9B-5
You use this type of command to take advantage of functions supplied in
the teach interface software. For this type of command, SD1 and SD2 have
specific definitions:
Field
Definition
SD1
Type of Request
SD2
Sub-process. For single process systems, you can use any
value for this field. For multi-process systems, set at 1 for
sub-process 1, and set at 2 for sub-process 2.
Sending to a Process
If you’re sending to a multi-process system, use the SD2 field to indicate
the process. For example, if you send a request for the current block to
process 2
CMD SD1 SD2 SD3 TNS TNS
DLE STX
61
01
02
00
03
00 DLE ETX BCC
and the application software responds with this message packet:
CMD SD1 SD2 SD3 TNS TNS
DATA
DLE STX
61
01
02 00
04
02
N00001G71 NULL DLE ETX BCC
ASCII
You don’t have to indicate the process for requests to display error
messages or requests that end the display of error messages on the teach
pendant.
Requesting the Current Block: SD1=01
To request the current block, send a message with CMD=61 (hex) and
SD1=01. For example:
CMD SD1 SD2 SD3 TNS TNS
DLE STX
61
01
00
00
00
01 DLE ETX BCC
the application software responds with this message packet:
CMD SD1 SD2 SD3 TNS TNS
DATA
DLE STX
61
01
00 00
00
03 N00001G71 NULL DLE ETX BCC
ASCII
The current block information is an ASCII string of up to 128 characters
ending with a NULL. If there is no block active, no active program, or no
active MDI block, then the application software returns a NULL.
9B.5
Sending Commands to the
Application Software
(CMD=61 hex)