Chapter 2 Devices 5. Clearing the contents of the device SM204/SM205 Please refer to section 2.1.4 for more information related to the latched areas in the device range. 6. The error log in the PLC SR40~SR161 SR40: The maximum number of error logs which are stored in SR40 is 20. Every 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 when the errors occur and the positions where the errors occur are recorded in SR42~SR161.
The corresponding functions of these data registers are as follows. 2-85 b4 0001 (16#1) : 4800 b5 0010 (16#2) : 9600 b6 0011 (16#3) : 19200 b7 0100 (16#4) : 38400 0101 (16#5) : 57600 0110 (16#6) : 115200 0111 (16#7) : 260400 RS-232 does not support the baud rate. 1000 (16#8) : 520800 RS-232 does not support the baud rate. 1001 (16#9) : 1041600 RS-232 does not support the baud rate. 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, the auxiliary relays, and the link registers 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. It takes 530 milliseconds to clear the device. 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. It takes 30 milliseconds to clear the device. The watchdog timer does not act during this period of time.
Module Error Time when the error occurs Number Rack Slot ID code Year Month Day Hour Minute Second 1 SR42 High byte 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 High byte 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 High byte SR54 Low byte SR55 SR56 SR57 High byte SR57 Low byte SR58 High byte SR58 Low byte SR59 High byte SR59 Low byte 4 SR60 High byte SR60 Low byte SR61 SR62 SR63 High byte SR63 Low byte SR64 High byte SR64 Low byte SR65 High byte SR65 Low byte 5 SR66 High byte SR66 Low byte SR67 SR68 SR69 High byte SR69 Low byte SR70 High byte SR70 Low byte SR71 High byte SR71 Low byte