EasyManuals Logo
Home>Mitsubishi>Controller>FX1N Series

Mitsubishi FX1N Series Programming Manual

Mitsubishi FX1N Series
466 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #299 background imageLoading...
Page #299 background image
FX Series Programmable Controlers Applied Instructions 5
5-179
5.14.5 TRD (FNC 166)
Contents:
The current time and date of the real time clock are
read and stored in the 7 data devices specified by
the head address D.
The 7 devices are set as follows:
Points to note:
The year is read as a two digit number. This can be change to a 4 digit number by setting
D8018 to 2000 during the first program scan; see following program extract.
Mnemonic Function
Operands
Program steps
D
TRD
FNC 166
(Time
Read)
Reads the current
value of the real
time clock to a
group of registers
T, C, D
Note: 7 consecutive devices are used.
TRD, TRDP:
5steps
Device Meaning Values Device Meaning
D8018 Year 00-99 Þ D
+0 Year
D8017 Month 01-12 Þ D
+1 Month
D8016 Date 01-31 Þ D
+2 Date
D8015 Hours 00-23 Þ D
+3 Hours
D8014 Minutes 00-59 Þ D
+4 Minutes
D8013 Seconds 00-59 Þ D
+5 Seconds
D8019 Day 0-6 (Sun-Sat) Þ D
+6 Day
FX
1S
FX1N FX2N
FX2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
M34
D12TRD
[ D ]
M8002
K2000 D8018
MOV
If this is done then the clock year should not be used during the first scan as it will be a two
digit number before the instruction and a value of 2000 after the instruction until the END
instruction executes. After the first scan the year is read and written as a 4 digit number.

Table of Contents

Other manuals for Mitsubishi FX1N Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX1N Series and is the answer not in the manual?

Mitsubishi FX1N Series Specifications

General IconGeneral
BrandMitsubishi
ModelFX1N Series
CategoryController
LanguageEnglish

Related product manuals