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 #174 background imageLoading...
Page #174 background image
173
The RTC (real time clock) value is in BCD code format (SD013 to SD019). Please choose
hex format to monitor the RTC value in XDPpro software. The value can be transformed to
decimal format by BIN instruction. After reading the RTC by TRD instruction, the value will
show in decimal format.
After reading the RTC by TRD, the value becomes decimal value.
after executing TRD instruction, D0 to D6 are occupied.
4-10-2Write Clock Data [TWR]
1. Instruction Summary
Write the clock data:
Write clock data [TWR]
16 bits
-
32 bits
TWR
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
Software
requirement
-
2. Operands
Operands
Function
Data Type
S
Write the clock data to the register
16 bits, BIN
3. Suitable Soft Components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
Unit
Item
D0
Year
D1
Month
D2
Date
D3
Hour
D4
Minute
D5
Second
D6
Week
Unit
Item
Clock data
Special data register for real
time clock t
SD018
Year
0-99
SD017
Month
1-12
SD016
Date
1-31
SD015
Hour
0-23
SD014
Minute
0-59
SD013
Second
0-59
SD019
Week
0 (Sun.)-6 (Sat.)
Word
Operand
System
Constant
Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
D
Description

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