Reference Manual
PMAC 2 Software Reference
PMAC I-Variable Specification 37
The <CONTROL-W> command permits the host to load command strings into dual-ported
RAM (Option 2 required), instead of the normal command interface, then cause the
command to be accepted by sending a single byte (ASCII 23D is <CTRL-W>) to the
command interface.
Note:
The <CONTROL-W> function is now effectively obsolete. The
newer bidirectional DPRAM ASCII communications feature
enabled by I58 is superior and should be used instead.
Example
For instance, if I47 is set to $D200, PMAC will look to its memory register Y:$D200
(wherever it sits in the host memory space) on receipt of a <CTRL-W> to see where to
look for the command string. If Y:$D200 holds a value of $D700, PMAC will take the
command string starting at register Y:$D700, incrementing addresses until it finds the null
character (value 0).
See Also
Option 2 Dual-Ported RAM Manual
Memory-map registers $D000-$DFFF.
I-variables I56, I58
On-line command <CONTROL-W>
I48 DPRAM Servo Data Enable
Range
0 .. 1
Units
none
Default
0
Remarks
I48 enables or disables the dual-ported RAM (DPRAM) servo data reporting function.
When I48=1 and the GATHER command has been issued, PMAC copies key data from the
servo control registers to fixed registers in the DPRAM every I19 servo cycles for easy
access by the host computer. Servo data for motors up to the number specified by I59 are
reported.
When I48=0, the DPRAM servo data reporting function is disabled. Regular data
gathering can be enabled in this mode.
Refer to the description of DPRAM functions for more information.
See Also
DPRAM Servo Data Reporting (Option 2 DPRAM Manual)
I-variables I19, I49, I59
On-line commands GATHER, ENDGATHER
I49 DPRAM Background Data Enable
Range
0 .. 1
Units
none
Default
0
Remarks
I49 enables or disables the dual-ported RAM (DPRAM) background data reporting
function. When I49=1, PMAC copies key data from the background information registers
to fixed registers in the DPRAM for easy access by the host computer. Each time the host
computer reads these registers and signals it is done, PMAC will copy the data again. Data
for motors and coordinate systems up to the number specified by I59 are reported.
When I49=0, the DPRAM background data reporting function is disabled.
Refer to the description of DPRAM functions for more information.