Reference Manual

PMAC 2 Software Reference
198 PMAC On-Line Command Specification
variable read or write operation with a device supporting parity had a parity error; it is 0 if the
operation with such a device had no parity error. The bit status is indeterminate if the
operation was with a device that does not support parity.
Bit 5 MACRO Auxiliary Communications Error: This bit is 1 if the most recent
MACRO auxiliary read or write command has failed. It is set to 0 at the beginning of each
MACRO auxiliary read or write command.
Bit 4 MACRO Ring Check Error: This bit is 1 if the MACRO ring check function
is enabled (I1001 > 0) and PMAC has either detected I1004 ring communication errors in an
I1001 servo-cycle period, or has failed to detect the receipt of I1005 ring sync packet.
Sixth character returned
:
Bits 2-3 (Reserved for future use)
Bit 1 All Cards Addressed: This bit is set to 1 if all cards on a serial daisychain
have been addressed simultaneously with the @@ command. It is 0 otherwise.
Bit 0 This Card Addressed: This bit is set to 1 if this card is on a serial daisychain
and has been addressed with the @n command. It is 0 otherwise.
SECOND WORD RETURNED (Y:$0003)
Seventh character returned
:
Bit 23 (For internal use)
Bit 22 Host Communication Mode: This bit is 1 when PMAC is prepared to send its
communications over the “host port” (PC bus or STD bus). It is 0 when PMAC is prepared
to send its communications over the VMEbus or the serial port. It changes from 0 to 1 when
it receives an alphanumeric command over the host port. It changes from 1 to 0 when it
receives a <CTRL-Z> over the serial port.
Bits 20-21 (For Internal Use)
Eighth character returned
:
Bit 19 Motion Buffer Open: This bit is 1 if any motion program buffer (PROG or
ROT) is open for entry. It is 0 if none of these buffers is open.
Bit 18 Rotary Buffer Open: This bit is 1 if the rotary motion program buffer(s)
(ROT) is (are) open for entry. It is 0 if this is (these are) closed.
Bit 17 PLC Buffer Open: This bit is 1 if a PLC program buffer is open for entry. It
is 0 if none of these buffers is open.
Bit 16 PLC Command: This bit is 1 if PMAC is processing a command issued from
a PLC or motion program through a CMD” “ statement. It is 0 otherwise. It is primarily for
internal use.
Ninth character returned
:
Bit 15 VME Communication Mode: This bit is 1 when PMAC is prepared to send its
communications over the VME bus “mailbox” port. It is 0 when PMAC is prepared to send
its communications over the “host port” (PC bus or STD bus) or the serial port. It changes
from 0 to 1 when it receives an alphanumeric command over the VME bus mailbox port. It
changes from 1 to 0 when it receives a <CTRL-Z> over the serial port.