Kaiyi — 2.2.14 Special Data Registers

AH500 Programming Manual 2-60 CPU5X0-RS2 CPU5X0-EN OFF STOP RUN SR Function    Attribute Default ON RUN STOP SR407 When the PLC runs, the value in SR407 increases by one every second. SR407 counts from 0 to 32767, and then from -32768 to 0. ○ ○ 0 0 – R/W 0 SR408 When the PLC runs, the value in SR408 increases by one every scan cycle. SR408 counts from 0 to 32767, and then from -32768 to 0. ○ ○ 0 0 – R/W 0 *SR409 The pulse is ON for n seconds and is OFF for n seconds during the 2n second clock pulse. The interval n is stored in SR409, and the setting range is 1~32767.

○ ○ – – – R/W 30 *SR410 The pulse is ON for n milliseconds and is OFF for n milliseconds during the 2n millisecond clock pulse. The interval n is stored in SR410. ○ ○ – – – R/W 30 SR411 The current scan time is stored in SR411 and SR412, and the unit of measurement is 100 microseconds. The value of the millisecond is stored in SR411. (The range is 0~65535.) The value of the microsecond is stored in SR421. (The range is 0~900.). For example, 12 is stored in SR411 and 300 is stored in SR412 when the current scan time is 12.3 milliseconds. ○ ○ 0 – – R 0 SR412 ○ ○ 0 – – R 0 SR413 The maximum scan time is stored in SR413 and SR414, and the unit of measurement is 100 microseconds.

The value of the millisecond is stored in SR413. ○ ○ 0 – – R 0 SR414 ○ ○ 0 – – R 0 SR415 The maximum scan time is stored in SR415 and SR416, and the unit of measurement is 100 microseconds. The value of the millisecond is stored in SR415. ○ ○ 0 – – R 0 SR416 ○ ○ 0 – – R 0 *SR453 If an error occurs during the operation of the memory card, the error code will be recorded. ○ ○ – – – R 0 SR621 Interrupt character used in the instruction RS (COM1) ○ ○ – – – R/W 0 SR622 Interrupt character used in the instruction RS (COM2) ○ ○ – – – R/W 0 SR623 Bit 0~bit 15: The conditions of the interrupt programs I0~I15 are set by the instruction IMASK. ○ ○ FFFF – – R FFFF SR624 Bit 0~bit 15:

The conditions of the interrupt programs I16~I31 are set by the instruction IMASK. ○ ○ FFFF – – R FFFF