Mitsubishi FX3G Series Programming Manual page 563

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
Cautions
1)
Number of occupied devices
Three devices are occupied by
Make sure that these devices are not used in other controls for the machine.
2)
When utilizing the time (hour, minute, and second) of the built-in PLC real time clock
Read the values of special data registers using the TRD (FNC166) instruction, and then specify those word
devices as the operands.
Program example
X000
FNC162
TADD
S
10 (hour)
1
S
+1 30 (minute)
1
S
+2 10 (second)
1
10:30:10
When the operation result exceeds 24 hours
S
1
18 (hour)
10 (minute)
30 (second)
18:10:30
Series
S
,
S
1
2
S
S
D
1
2
D 10
D 20
D 30
S
3 (hour)
2
+
S
+1 10 (minute)
2
S
+2 5 (second)
2
3:10:5
S
2
10 (hour)
+
20 (minute)
5 (second)
10:20:5
21 Real Time Clock Control – FNC160 to FNC169
21.3 FNC162 – TADD / RTC Data Addition
and
D
respectively.
( D10 ,D11 ,D12)+(D20 ,D21 ,D22)
→ ( D30 ,D31,D32)
D
13 (hour)
D
+1 40 (minute)
D
+2 15 (second)
13:40:15
D
4 (hour)
30 (minute)
35 (second)
4:30:35
18+10=28(≥24)
21
22
23
24
25
26
27
28
29
30
561

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents