EasyManua.ls Logo

Xinje XL Series - 4-10 RTC Instructions

Xinje XL Series
456 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
Loading...
184
ATAN D50 D60
X0
Calculate the arctan value ( radian), save the result in the target address
D51 D50
D61 D60
Note: Before the instruction is executed, the data in parameter S must be floating number;
otherwise, the execution result will be wrong.
4-10 RTC Instructions
Mnemonic
Function
Chapter
TRD
Clock data read
4-10-1
TWR
Clock data write
4-10-2
MOV
Accurate clock BD board data read
4-10-3
TO
Accurate clock BD board data write
4-10-4
TADD
Clock data add
4-10-5
TSUB
Clock data sub
4-10-6
HTOS
Convert hour, minute, and second data
to seconds
4-10-7
STOH
Convert second data to hours, minutes,
and seconds
4-10-8
TCMP
Time (hours, minutes, seconds) compare
4-10-9
DACMP
Date (year, month, day) compare
4-10-10
※1: To use the instructions, The Model should be equipped with RTC function;
※2: There are some errors in the clock of XD/XL series PLC, which is about ±5 minutes per
month. It can be calibrated regularly by HMI or in the PLC program.
※3: If high time accuracy is required, XD-RTC-BD can be used together ,with the error of
about 13 seconds per month.
Description
(D51,D50)ATAN (D61,D60)RAD
Binary Floating Binary Floating
ATAN value
Binary Floating
RAD value (angle×π/180)
Assign the binary floating
value
tudonghoatoancau.com

Table of Contents

Related product manuals