Reference Manual

PMAC 2 Software Reference
PMAC On-Line Command Specification 171
<CONTROL-M>
Function
Enter command line.
Scope
Global
Syntax
ASCII Value 13D; $0D (<CR>)
Remarks
This character, commonly known as <CR> (carriage return), causes the alphanumeric
characters in the PMAC’s command-line-receive buffer to be interpreted and acted upon.
(Control-character commands do not require a <CR> character to execute.)
Note:
For multiple PMACs daisy-chained together on a serial interface, this
will act on all cards simultaneously, not just the software-addressed
card. For simultaneous action on multiple cards, it is best to load up
the command-line-receive buffers on all cards before issuing the
<CR> character.
Example
#1J+<CR>
P1<CR>
@0&1B1R@1&1B7R<CR> (This causes card 0 on the serial daisy-chain to have its CS 1
execute PROG 1 and card 1 to have its CS 1 execute
PROG 7 simultaneously.)
See Also
Talking to PMAC
<CONTROL-N>
Function
Report command line checksum.
Scope
Global
Syntax
ASCII Value 14D; $0E
Remarks
This character causes PMAC to calculate and report the checksum of the alphanumeric
characters of the present command lines (i.e. since the most recent carriage-return character).
As typically used, the host computer would send the entire command line up to, but not
including, the carriage return. It would then send the <CTRL-N> character, and PMAC
would return the checksum value. If this value agreed with the host’s internally calculated
checksum value, the host would then send the <CR> and PMAC would execute the command
line. If the values did not agree, the host would send a <CTRL-X> command to erase the
command line, then resend the line, repeating the process.
Note:
The PMAC Executive Program terminal mode will not display the
checksum values resulting from a <CTRL-N> command.
Example
With I4=1 and I3=2:
Host sends:......... J+<CTRL-N>
PMAC sends:..... <117dec> (117=74[J] + 43[+]; correct)
Host sends:......... <CR>
PMAC sends:..... <ACK><117dec> (handshake and checksum again)
Host sends:......... J/<CTRL-N>
PMAC sends:..... <122dec> (122 != 74[J] +47[/]; incorrect)
Host sends:......... <CTRL-X> (Erase the incorrect command)
........................... J/<CTRL-N> (Send the command again)