PMAC Product Guide Bit 21 Servo Active: This bit is 1 if PMAC is currently executing servo update operations. It is 0 if PMAC is executing other operations. Note that communications can happen only outside of the servo update; so polling this bit will always return a value of 0. This bit is for internal use. Bit 20 Servo Error: This bit is 1 if PMAC could not complete its servo routines properly. This is a serious error condition. It is 0 if the servo operations have been completing properly. Second Character Returned: Bit 19 Data Gathering Function On: This bit is 1 when the data gathering function is active; it is 0 when the function is not active. Bit 18 Data Gather to Start on Servo:
This bit is 1 when the data gathering function is set up to start on the next servo cycle. It is 0 otherwise. It changes from 1 to 0 as soon as the gathering function actually starts. Bit 17 Data Gather to Start on Trigger: This bit is 1 when the data gathering function is set up to start on the rising edge of Machine Input 2. It is 0 otherwise. It changes from 1 to 0 as soon as the gathering function actually starts. Bit 16 (Reserved for future use) Third Character Returned: Bit 15 (Reserved for future use) Bit 14 Leadscrew Compensation On: This bit is 1 if leadscrew compensation is currently active in PMAC. It is 0 if the compensation is not active. Bit13 Any Memory Checksum Error:
This bit is 1 if a checksum error has been detected for either the PMAC firmware or the user program buffer space. Bit 12 of this word distinguishes between the two cases. Bit12 PROM Checksum Error: This bit is 1 if a firmware checksum error has been detected in PMAC’s memory. It is 0 if a user program checksum error has been detected or if no memory checksum error has been detected. Bit 13 distinguishes between these two cases. Fourth Character Returned: Bit 11 DPRAM Error: This bit is 1 if PMAC has detected an error in DPRAM communications. It is 0 otherwise. Bit 10 EAROM Error:
This bit is 1 if PMAC detected a checksum error in reading saved data from the EAROM (in which case it replaces this with factory defaults). It is 0 otherwise. Bits 8-9 (for internal use) Fifth Character Returned: Bit 7 (for internal use) Bit 6 TWS Variable Parity Error: This bit is 1 if the most recent TWS-format M-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 (Reserved for future use) Online Commands 153