Chapter 6 Applied Instructions Note 1: If this function is enabled, the value in D is ON. and -2 indicates the last 2 nd week. If the value in S 2 is -2 and S 2 +1 is 7, it indicates the last 2 Sunday of Note 2: The setting range for S 2 and S 4 is 1— 4 or -1— -4. The value -1 indicates the last week of the month the month. If the date is set incorrectly, the daylight saving function cannot be enabled. The SM0 is ON, and the error code in SR0 is 16#200B. Note 3: If the value in S 2 +1 / S 4 +1 is out of range, the default setting value is 7, indicating Sunday. Note 4: If S 5 is set out of range, the daylight saving function cannot be enabled.
The SM0 is ON, and the error code in SR0 is 16#200B. Note 5: If the device for operand S 2 and S 4 is K or 16#, the values are not saved, the SM0 is ON, and the error code in SR0 is 16#2003. • Read the daylight saving time function (refer to example 1-3) When the operand S is 2, the function of daylight saving time is being read. S 1 and S 2 : setting for the month to start daylight saving time; S 3 and S 4 : setting for the month to end daylight saving time; S 5 : settings for the change due to daylight saving time; unit: minute. When S is set to read the state of the daylight saving function and the output state of D is ON, the PLC saves the setting values in the operands S 1 – S 5 .
The device is set to D while S is set to read. If the device is set to K or 16#, the values are not saved, the SM0 is ON, and the error code in SR0 is 16#2003. Devices with firmware version after V1.04 (V1.04 included) adds 4 to the function codes in S , after the daylight saving state is read. For example, after the daylight saving state is read, the function codes 0, 1, 3 become 4, 5 and 7. 6_ When the DST state is OFF, the operand and descriptions are shown below. When the DST state is ON and in mode 1, the operand and descriptions are shown below. 6-511 Operand Description S Before firmware V1.04 (V1.04 excluded), function code is fixed to 2.
After firmware V1.04 (V1.04 included), function code is 4, indicating the DST state is OFF. S1- S5 Invalid operand D DST state is OFF. Operand Description S Before firmware V1.04 (V1.04 excluded), function code is fixed to 2. After firmware V1.04 (V1.04 included), function code is 5, indicating the DST state is ON and in mode 1. S1 The month to start daylight saving time S2 The date to start daylight saving time S3 The month to end daylight saving time S4 The date to end daylight saving time