560
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
21 Real Time Clock Control – FNC160 to FNC169
21. Real Time Clock Control – FNC160 to FNC169
FNC160 to FNC169 provide operation and comparison instructions for the time data.
These instructions can set the time of the real time clock built in a PLC, and converts the format of the time data.
FNC No. Mnemonic Symbol Function Reference
160 TCMP RTC data compare Section 21.1
161 TZCP RTC data zone compare Section 21.2
162 TADD RTC data addition Section 21.3
163 TSUB RTC data subtraction Section 21.4
164 HTOS Hour to second conversion Section 21.5
165 STOH Second to hour conversion Section 21.6
166 TRD Read RTC data Section 21.7
167 TWR Set RTC data Section 21.8
168 − −
169 HOUR Hour Meter Section 21.9
TCMP S DS3S2S1
TZCP S DS2S1
DTADD S2S1
DTSUB S2S1
DSHTOS
DSSTOH
DTRD
STWR
D2
HOUR
D1S