AS Series Programming Manual 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. _2 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–SR216 SR215 and SR216 record the communication port protocol on the PLC. The following table lists the functions represented by the interface codes. The FCOPM function card only is only supported as Function Card 2. When the communication port protocol for the PLC is RS485, RS232, or RS422, then 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-108 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 Code 0 1 2 3 4 5 6 Function No card RS232 RS422 RS485 F2AD F2DA FCOPM 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 b6 0011 (H 3) : 19200 b7 0100 (H 4) : 38400 0101 (H 5) : 57600 0110 (H 6) : 115200