184
Calculate the arctan value ( radian), save the result in the target address
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
Accurate clock BD board data read
Accurate clock BD board data write
Convert hour, minute, and second data
to seconds
Convert second data to hours, minutes,
and seconds
Time (hours, minutes, seconds) compare
Date (year, month, day) compare
※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.
(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