hit counter script

Fnc166 - Trd / Read Rtc Data - Mitsubishi Electric FX3G SERIES Programming Manual

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

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
21.7
FNC166 – TRD / Read RTC data
Outline
This instruction reads the clock data of the built-in PLC real time clock.
1. Instruction format
FNC 166
TRD
2. Set data
Operand type
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
D
2
: This function is supported only in FX
Explanation of function and operation
1. 16-bit operation (TRD)
The clock data stored in D8013 to D8019 of the built-in PLC real time clock is read in the following format, and stored
to
D
to
D
Command
input
FNC166
Device
D8018
D8017
D8016
D8015
D8014
D8013
D8019
Caution
1. Number of occupied devices
Seven devices are occupied by
Make sure that these devices are not used in other controls for the machine.
576
Mnemonic
16-bit Instruction
P
3 steps TRD
TRDP
Specifies the head device number storing the clock data.
(Seven devices are occupied.)
Digit Specification
/FX
3U
+6.
This instruction reads the real time clock data in a PLC, and transfers it to seven
D
data registers.
TRD
Item
Year
Month
Day
Hour
Minute
Second
Day of week
D
.
21 Real Time Clock Control – FNC160 to FNC169
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
PLCs.
3UC
Clock data
0 to 99
(lower two digits)
1 to 12
1 to 31
0 to 23
0 to 59
0 to 59
0 (Sunday) to
6 (Saturday)
21.7 FNC166 – TRD / Read RTC data
Mnemonic
Operation Condition
Others
Con-
Real
Index
stant
Number
V
Z Modify K
H
E
Device
D 0
D 1
D 2
D 3
D 4
D 5
Second
D 6
Day of week
Data type
16-bit binary
Charac-
Pointer
ter String
" "
P
Item
Year
Month
Day
Hour
Minute

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents