Reference Manual
PMAC 2 Software Reference
282 PMAC On-Line Command Specification
• {constant} (optional) is an integer from 1 to 16 specifying the number of consecutive
memory addresses to be read; if this is not specified, PMAC assumes a value of 1
Remarks
This command causes 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) word(s) in PMAC’s X-memory, short (24-bit) word(s) in
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 X, Y, or L address prefix in the
command, respectively.
If the letter H is used after the R in the command, PMAC reports back the register contents in
unsigned hexadecimal form, with 6 digits for a short word, and 12 digits for a long word. If
the letter H is not used, PMAC reports the register contents in signed decimal form.
Example
RHX:49152...... ; Request contents of X-register 49152 ($C000) in hex
8F4017............. ; PMAC responds in unsigned hex (note no ‘$’)
RHX:$C000...... ; Request contents of X-reg $C000 (49152) in hex
8F4017............. ; PMAC responds in unsigned hex
RX:49152 ........ ; Request contents of same register in decimal
-7389161 ........ ; PMAC responds in signed decimal
RX:$C000 ........ ; Request contents of same register in decimal
-7389161 ........ ; PMAC responds in signed decimal
RX0 .................... ; Request contents of servo cycle counter in decimal
2953211 .......... ; PMAC responds in signed decimal
RL$0028 .......... ; Request contents of #1 cmd. pos. reg in decimal
3072000 .......... ; PMAC responds (=1000 counts)
RHY1824,12 ... ; Request set-up words of the conversion table
00C000 00C004 00C008 00C00C 00C010 00C014 00C018
00C01C 400723 0000295 000000 000000 ; PMAC responds in hex
See Also
PMAC Memory Mapping (Computational Features)
On-line command W{address}
Memory and I/O Map Description.
RESUME PLC
Function
Resume execution of specified PLC program(s).
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
Remarks
This command causes 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 be either at the top of the program, or at a point inside the program.