11/4/2011 11:36 AM | |
Joined: 1/28/2009 Last visit: 8/31/2025 Posts: 6874 Rating:
|
Dear WildChild, Check the attachment for LAD solution,Also check this link: How can you read out the date and time with SFC1 (READ_CLK) and input them with SFC0 (SET_CLK)? Best regards AttachmentDAY.pdf (152 Downloads) |
11/4/2011 12:33 PM | |
Posts: 26 Rating:
|
A question... if I try to do this in a FC it doesn't work but if I do the same in OB1 it works ok Why?
|
11/4/2011 12:47 PM | |
Joined: 1/28/2009 Last visit: 8/31/2025 Posts: 6874 Rating:
|
Dear WildChild, Please check the attachment for LAD solution in FC.It really works fine in my case.You may easily underestand the differences between 2 solutions! Best regards AttachmentDAY_1.zip (107 Downloads) |
11/4/2011 1:56 PM | |
Posts: 26 Rating:
|
Thank very much for your help!! |
This contribution was helpful to
1 thankful Users |
11/16/2011 8:16 PM | |
Joined: 1/28/2009 Last visit: 8/31/2025 Posts: 6874 Rating:
|
Dear WildChild, Please note that you can define new variable with date and time data type.My solution is implemented in FC2,See the attachment. But if you insist on using FC1, please define new variable and transfer data accordingly to corresponding local memory area. Best regards, Hamid Hosseini AttachmentSFC0.zip (94 Downloads) |
Follow us on