2 . Pr ogr am m i ng Conc e pts2- 4 5b) Use peripheral devices or WPLSoft to set the RTC value.Function Group π (PI)Number D1018~D1019Contents:1. D1018 and D1019 are combined as 32-bit data register for storing the floating point value ofπ2. Floating point value = H 40490FDBFunction Group Adjustment on Input Terminal Response TimeNumber D1020, D1021Contents:1. D1020 can be used for setting up the response time of receiving pulses at X0 ~X7 for ES2series MPU. Default: 10ms, 0~20ms adjustable.2. D1021 can be used for setting up the response time of receiving pulses at X10~X17 X7 forES2-E V3.48 /28SS2 V3.42 /28SA2 V3.0 /26SE with firmware V2.0 or later versions. Default:10ms, 0~20ms adjustable.3. When the power of PLC goes from “OFF” to “ON”, the content of D1020 is set to 10automatically.X0X70ms1ms10ms15ms011015Terminal response timeStatusmemoryUpdate inputstatusSet by D1020(default: 10)4. If the following programs are executed, the response time of X0 ~ X7 will be set to 0ms.However, the fastest response time of input terminals will be 50μs due to that all terminals areconnected with RC filters..M1000MOV K0 D1020normally ON contact5. It is not necessary to adjust response time when using high-speed counters or interrupts6. Using API 51 REFF instruction has the same effect as modifying D1020 and D1021.Function Group X6 pulse width detecting functionNumber M1083,M1084, D1023Contents:When M1084 = ON, X6 pulse width detecting function is enabled and the detected pulse width isstored in D1023 (unit: 0.1ms)M1083 On:detecting width of negative half cycle (OFFON)M1083 Off:detecting width of positive half cycle (ONOFF)Function Group Communication Error CodeNumber M1025, D1025Contents:In the connection between PLC and PC/HMI, M1025 will be ON when PLC receives illegalcommunication request during the data transmission process. The error code will be stored inD1025.01: illegal instruction code02: illegal device address.