How can I use the current date and time in the CPU module in application programs?

Fuji Electric Global

Global
  • Font Size
  • S
  • M
  • L
  • No : 1596
  • Displayed Date : 2023/04/25 19:00
  • Print

How can I use the current date and time in the CPU module in application programs?

How can I use the current date and time in the CPU module in application programs?
Category : 

Answer

The calendar data is not assigned in the memory. You need to use a program to read/write it. Use the following FBs among the open FBs released on our website
D300win
Y_ZFC002_ Read calendar Y_ZFC003_ Write calendar Standard
N_FC001_ Read calendar N_FC002_ Write calendar