DVP-ES3 Series Programming Manual 2. Clearing the warning light SM22 3. The real-time clock Setting SM22 to ON clears the error log and the warning light. _2 SM220, SR220–SR226, and SR391–SR397 SM220: Calibrate the real-time clock within ±30 seconds When SM220 changes from OFF to ON, the system calibrates the real-time clock. If the second value in the real-time clock is in the range 0–29, the minutes value is fixed, and the seconds value is cleared to zero. If the value of the second in the real-time clock is in the range 30–59, the minutes value increases by one, and the seconds value is cleared to zero.
This table lists the corresponding functions and values of SR220–SR226 and SR391–SR397. SR391–SR397 correspond to SR220–SR226. The difference between SR220–SR226 and SR391–SR397 is that the former uses the binary-coded decimal while the latter uses the decimal system. For example, December is represented as 12 in SR392 while it is represented as 1100 in the binary-coded decimal. Refer to Chapter 6 for more information on the real-time clock. 4. Communication functions SM96–SM107, SM209–SM212, SR201–SR202, and SR209–SR213 SR209 records the communication format of the COM1 port on the PLC, and SR212 records the communication format of the COM2 port on the PLC.
The following table lists the settings for the communication protocols. Refer to Chapter 6 for more information on the communication instructions. 2-80 Device Binary-coded Decimal Function Value decimal system system SR220 SR391 Year 00–99 (A.D.) SR221 SR392 Month 1–12 SR222 SR393 Day 1–31 SR223 SR394 Hour 0–23 SR224 SR395 Minute 0–59 SR225 SR396 Second 0–59 SR226 SR397 Week 1–7 b0 Data length 7 (value=0) 8 (value=1) Parity bits 00 : None b1 01 : Odd parity bits b2 10 : Even parity bits b3 Stop bits 1 bit (value=0) 2 bits (value=1) b4 0001 (H 1) : 4800 b5 0010 (H 2) : 9600