EasyManuals Logo

Xinje XD5 User Manual

Xinje XD5
389 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 #175 background imageLoading...
Page #175 background image
174
TWR D0
X0
Write the RTC value to the PLC.
Write the set clock data into PLC’s real time clock.
In order to write real time clock, please set the 7 registers value from D0 to D6.
After executing TWR instruction, the time in real time clock will immediately change to be
the new time. It is a good idea to set the time few minutes late as the current time, and then
drive the instruction when the real time reaches this value.
Note: when choosing secret download program advance mode in XDPpro software, the RTC
only can be changed through TWR instruction.
There is another method to write the RTC. In the XDPpro software, please click the clock
details in project bar on the left. Then click write into the current time.the PC will auto-write
the current time to the PLC.
4-10-3Clock compare [TCMP]
1. Instruction Summary
Compare three continuous clocks time.
Clock compare [TCMP]
16 bits
TCMP
32 bits
-
Condition
Normally ON/OFF,
rising/falling edge
Suitable
model
XD, XL
Hardware
-
Software
-
Unit
Item
Clock data
Data for clock setting
D0
Year
0-99
D1
Month
1-12
D2
Date
1-31
D3
Hour
0-23
D4
Minute
0-59
D5
Second
0-59
D6
Week
0 (Sun.)-6 (Sat.)
Unit
Item
SD018
Year
Special data register for real
time clock t
SD017
Month
SD016
Date
SD015
Hour
SD014
Minute
SD013
Second
SD019
Week

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Xinje XD5 and is the answer not in the manual?

Xinje XD5 Specifications

General IconGeneral
BrandXinje
ModelXD5
CategoryController
LanguageEnglish

Related product manuals