10/27/2012 7:39 PM | |
Posts: 7 Rating: (0) |
HEY PEOPLE i have an urgent query i want to read real time from cpu clock which date and time instruction (rd_sys_t, wr_sys_t, rd_loc_t) i need to use and in which sequence (ladder ?) and do i need to use them in separate blocks mean "RD_SYS_T" (call in FC1) and "WR_SYS_T" (call in OB1) i just want to get a signal output in sunchronizing with real time clock of cpu eg suppose if i want to get signal everyday at 07:00 am wt value i need to enter in RET_VAL ofRD_SYS_T andWR_SYS_T thanks alot it would be highly appreciable if you can help me via small project i attached my project kindly do check and let me know about blocks as well as addressing REGARDS
AttachmentMESI.zip (866 Downloads) |
Last edited by: Fahud Saqib at: 10/27/2012 8:04 PM |
|
10/29/2012 10:17 AM | |
Posts: 3 Rating: (0) |
Hi Fahud, Hope this will help you. Let us know how you get on. Regards AttachmentMESII.zip (605 Downloads) |
10/29/2012 10:46 AM | |
Joined: 9/23/2005 Last visit: 1/13/2025 Posts: 4391 Rating: (1462)
|
Hi, take a look at: In STEP 7 (TIA Portal) V11, how can you schedule a program event for an S7-1200? http://support.automation.siemens.com/BR/view/en/42781160 |
Denilson Pegaia |
|
10/30/2012 10:01 AM | |
Posts: 7 Rating: (0) |
hey rkl thnx alot seriously i have come to some point but the problem is this thati can't see the live hour minute and seconds going on but yes nanoseconds is kept on changing at the monitor side i have attached file sir kindly do reply me as it is very important for me to overcome this problem. Regards Waiting
Attachmenttyari mesi ki.zip (449 Downloads) |
Last edited by: Fahud Saqib at: 10/30/2012 10:06 AM |
|
10/30/2012 10:48 AM | |
Posts: 3 Rating: (0) |
Hi Fahud, In your program the instruction WR_SYS_T is executed every scan which means that you keep writing the same set time to your PLC and don’t actually give it time to update. The reason you see changes on the nanoseconds is because the scan time on the PLC is a couple of milliseconds so the nanoseconds changes before the instruction is executed again. Please see on attached PDF what you need to do to resolve the issue (this is in my attachment MESII.zipsent yesterday). Hope this helps Regards RKL AttachmentWrite PLC time.pdf (547 Downloads) |
10/30/2012 12:55 PM | |
Posts: 7 Rating: (0) |
thanks alot its working Your efforts are highly appreciable again thanks alot REGARDS |
This contribution was helpful to1 thankful Users |
Follow us on