omron — Second Word Returned (Y:$0003)

PMAC Product Guide 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 daisy chain 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 daisy chain 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 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 buffers (ROT) are open for entry. It is 0 if 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 over the serial port. 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) Examples: ??? ..................... ; 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 154 Online Commands