Reference Manual

PMAC 2 Software Reference
PMAC On-Line Command Specification 199
Bits 12-14 (For Internal use)
Tenth character returned
:
Bit 11 Fixed Buffer Full: This bit is 1 when no fixed motion (PROG) or PLC
buffers are open, or when one is open but there are less than I18 words available. It is 0
when one of these buffers is open and there are more than I18 words available.
Bits 8-10 (Internal use)
Eleventh and twelfth characters returned
:
Bits 0-7 (Reserved for future use)
Example
??? .................... ; Ask PMAC for global status words
003000400000 ; PMAC returns the global status words
........................... ; 1st word bit 13 (Any checksum error) is true;
........................... ; 1st word bit 12 (PROM checksum error) is true;
........................... ; 2nd word bit 23 (for internal use) is true;
; All other bits are false
See Also
On-line commands ?, ??, <CTRL-G>
Memory registers X:$0003, Y:$0003.
@
Function
Report currently addressed card on serial daisy-chain
Scope
Global
Syntax
@
Remarks
This command causes the addressed PMAC on a serial daisy-chain to report its number to the
host. If all cards are addressed, card @0 will return an @ character.
I1 must be set to 2 or 3 for this command to be accepted. Otherwise, ERR003 is reported.
Example
@ ;Ask PMAC chain which card is addressed
4 ;PMAC @4 reports that it is addressed
See Also
Addressing Commands (Talking to PMAC)
Multiple-Card Applications (Synchronizing PMAC to External Events)
I-variable I1
On-line commands #, #{constant}, &, &{constant}, @{constant}
Jumpers E40-E43 (PMAC-PC, -Lite, -VME)
Switches SW1-1 to SW1-4 (PMAC-STD)
@{card}
Function
Address a card on the serial daisy-chain.
Scope
Global
Syntax
@{card}
where:
{card} is a hexadecimal digit (0 to 9, A to F), representing the number of the card on
the serial daisychain to be addressed; or the @ character, denoting that all cards are to be
addressed simultaneously.
Remarks
This command makes the PMAC board specified by {card} the addressed board on the
serial daisychain. (the one on which subsequent commands will act). The addressing is
modal, so all further commands will affect this board until a different board is addressed. At