Date and time not working. (Help)

Avatar_41

Member
Join Date
Aug 2019
Location
Istanbul
Posts
96
Hello guys, I want to use the project in the link. (https://support.industry.siemens.com/cs/document/*1***0*6/how-can-you-read-out-the-date-and-time-with-sfc1-(read_clk)-and-set-them -with-sfc0-(set_clk)-?dti=0&lc=en-WW).
The time and date reading part of the project works, so I can see the values, but when I want to change the time, it does not respond. I am sharing my project below, can you help me please? Good work.
 
Last edited:
You need to understand how to use function blocks and their instance data. When you call an FB, the value of the input is copied to the instance DB - so it does not make sense to use the instance data itself as the passed parameter - similarly for the output data.


The reason your date setting does not work is because the edge detection storage bit is declared as an input - it needs to be a STAT.
 

Similar Topics

Hello All, I am facing a wierd problem on S7-400 PLC. I am trying to extract date using following simple logic & using PLCSIM to test it. SFC1...
Replies
6
Views
2,850
Has anyone found a way to convert/replace/update the firmware on old Parker TS80xx series HMIs (i.e. TS8010, TS8006, etc) to accept Crimson...
Replies
0
Views
25
Hello, I have an automation direct d2 262 plc and C-more HMI EA9T6CL-R. I need to prepare a program, scheduled to be performed on a future date. I...
Replies
1
Views
51
Hi All, we've recently upgraded from FTView SE v10 to v12. Since the upgrade we've been having a problem where the HMI is slow to update tags in...
Replies
0
Views
49
Good Morning , Not sure how many use Markem-Imaje SmartDate X60 Printers , but I'm having trouble finding a good manual for...
Replies
5
Views
363
Back
Top Bottom