Chapter 2 Devices 2_ *1: Refer to the HWCONFIG settings in ISPSoft for the user-defined baudrate. *2: Refer to section 6.19.3 for the use of communication flags and registers. 5. Clearing the device contents SM204/SM205 Refer to Section 2.1.4 for more information on the latched areas in the device range. 6. PLC error log SR40-SR161 SR40: The maximum number of error logs stored in SR40 is 20. Each error log occupies 6 registers. SR41: The error log pointer points to the latest error log. When an error occurs, the value of the error log pointer increases by one. The range of pointer values is 0–19.
For example, the error log pointer points to the fourth error log when the value in SR41 is 3. The time of the error and the position where the error occurs are recorded in SR42–SR161. The following table lists the corresponding functions of these data registers. 2-109 0111 (H 7) : 230400 1000 (H 8) : 500000 1001 (H 9) : 921000 1010 (16#A) : Undefined 1011 (16#B) : Undefined 1100 (16#C) : Undefined 1101 (16#D) : Undefined 1110 (16#E) : Undefined 1111 (16#F) : User-defined*1 b8-b15 Undefined (reserved) Device number Device which is cleared SM204 All non-latched areas are cleared.
The non-latched areas in the input relays, the output relays, the stepping relays, and the auxiliary relays are cleared. The non-latched areas in the timers, the counters, and the 32-bit counters are cleared. The non-latched areas in the data registers and the index registers are cleared. The watchdog timer does not act during this period of time. SM205 All latched areas are cleared. The latched areas in the timers, counters, and 32-bit counters are cleared. The latched auxiliary relays are cleared. The latched data registers are cleared. The watchdog timer does not act during this period of time.
Time when the error occurs Module Error Number Slot ID code Year Month Day Hour Minute Second 1 SR42 Low byte SR43 SR44 SR45 High byte SR45 Low byte SR46 High byte SR46 Low byte SR47 High byte SR47 Low byte 2 SR48 Low byte SR49 SR50 SR51 High byte SR51 Low byte SR52 High byte SR52 Low byte SR53 High byte SR53 Low byte 3 SR54 SR55 SR56 SR57 High SR57 Low SR58 High SR58 Low SR59 High SR59 Low