540
FX
3U
/FX
3UC
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 D
S3
S2
S1
TZCP
S D
S2
S1
D
TADD
S2
S1
D
TSUB
S2
S1
D
S
HTOS
D
S
STOH
D
TRD
S
TWR
D2
HOUR
D1
S