Delta Electronics AH — A.2. Special Data Registers Table (SR)

Appendix 2. Special Data Registers Table A.2. Special Data Registers Table (SR) Every special data register has its definition and specific function. The system statuses and the error messages are stored in the special data registers. Besides, the special data registers can be used to monitor the system statuses. The special data registers and their functions are listed as follows. For more information regarding the SR numbers marked “*”, refer to A.3 Additional Remarks on SM and SR. The “R” in the attribute column indicates that the special data register can read the data, whereas the “R/W” in the attribute column indicates that it can read and write the data.

In addition, the mark “–” indicates that the status of the special data register does not make any change. The mark “#” indicates that the system will be set according to the status of the PLC, and users can read the setting value and refer to the related manual for more information. A2_ A-37 AH-xxEMC(CPU) AH-xxEMC(Module) OFF STOP RUN SR Function    Attribute Default ON RUN STOP SR0 Error-detecting code of the PLC operation error ○ ○ 0 0 – R 0 SR1 The address of the operation error is locked.

○ ○ 0 0 – R 0 SR2 ○ ○ 0 0 – R 0 SR4 Error-detecting code of the grammar check error ○ ○ 0 0 – R 0 SR5 Address of the instruction/operand check error ○ ○ 0 0 – R 0 SR6 ○ ○ 0 0 – R 0 SR8 Step address at which the watchdog timer is ON ○ ○ 0 – – R 0 *SR40 Number of error logs ○ ○ – – – R 0 *SR41 Error log pointer ○ ○ – – – R 0 *SR42 Error log 1: The rack number and the slot number ○ ○ – – – R 0 *SR43 Error log 1: The module ID ○ ○ – – – R 0 *SR44 Error log 1: The error code ○ ○ – – – R 0 *SR45 Error log 1: The year and the month ○ ○ – – – R 0 *SR46 Error log 1: The day and the hour ○ ○ – – – R 0 *SR47 Error log 1: The minute and the second ○ ○ – – – R 0 *SR48 Error log 2:

The rack number and the slot number ○ ○ – – – R 0 *SR49 Error log 2: The module ID ○ ○ – – – R 0 *SR50 Error log 2: The error code ○ ○ – – – R 0 *SR51 Error log 2: The year and the month ○ ○ – – – R 0 *SR52 Error log 2: The day and the hour ○ ○ – – – R 0