Delta Tau GEO BRICK LV Reference Manual

Page of 760
Turbo PMAC/PMAC2 Software Reference
 
Turbo PMAC On-line Command Specification 
 392 
 
{constant} (optional) is an integer from 1 to 65,535 specifying the number of consecutive 
memory addresses to be read; if this is not specified, Turbo PMAC assumes a value of 1; 
 
the second optional {constant} is an integer from 1 to 16 specifying the number of values to be 
reported on a single line; if this is not specified, Turbo PMAC will fit as many as it can on one line. 
This command causes Turbo PMAC to report the contents of the specified memory word address or range 
of addresses to the host (it is essentially a PEEK command).  The command can specify either short (24-
bit) words in Turbo PMAC’s X-memory, short (24-bit) words in Turbo PMAC’s Y-memory, or long (48-
bit) words covering both X and Y memory (X-word more significant).  This choice is controlled by the 
use of the XY, or L address prefix in the command, respectively. 
If the letter H is used after the R in the command, Turbo PMAC reports back the register contents in 
unsigned hexadecimal form, with six digits for a short word, and 12 digits for a long word.  If the letter H 
is not used, Turbo PMAC reports the register contents in signed decimal form. 
Example: 
RHX:$078000 
; Request contents of X-reg $078000 (491520) in hex 
8F4017 
; Turbo PMAC responds in unsigned hex 
RHX:491520 
; Request contents of X-reg 491520 ($078000) in hex 
8F4017 
; Turbo PMAC responds in unsigned hex (note no '$') 
RX:$078000 
; Request contents of same register in decimal 
-7389161 
; Turbo PMAC responds in signed decimal 
RX:491520 
; Request contents of same register in decimal 
-7389161 
; Turbo PMAC responds in signed decimal 
RX0 
; Request contents of servo cycle counter in decimal 
2953211 
; Turbo PMAC responds in signed decimal 
RL$000088 
; Request contents of  #1 cmd. pos. reg in decimal 
3072000 
; Turbo PMAC responds (=1000 counts) 
RHY:$3501,4 
; Request contents of first four lines of conversion table 
078000 078004 078008 07800C 
; Turbo PMAC responds 
RHY:$3501,4,1 
; Request contents of first four lines of conversion table 
078000  
; Turbo PMAC responds, one address per line 
078004  
078008  
07800C 
See Also: 
Turbo PMAC Memory Mapping (Computational Features) 
On-line command W{address} 
Memory and I/O Map Description. 
RESUME PLC 
Function: 
Resume execution of specified PLC programs. 
Scope: 
Global 
Syntax: 
RESUME PLC {constant}[,{constant}...] 
 
RES PLC {constant}[,{constant}...] 
 
RESUME PLC {constant}[..{constant}] 
 
RES PLC {constant}[..{constant}] 
where: 
 
{constant} is an integer from 0 to 31, representing the program number 
This command causes Turbo PMAC to resume execution of the specified uncompiled PLC program or 
programs at the point where execution was suspended with the PAUSE PLC command.  This can either 
be at the top of the program, or at a point inside the program.