5/29/2010 8:55 AM | |
Joined: 3/11/2007 Last visit: 1/16/2025 Posts: 226 Rating: (13) |
How can create a programmer working week? How do I separate the date / time? Thanks for your help. Giuseppe |
5/29/2010 9:12 AM | |
Joined: 3/21/2006 Last visit: 1/14/2025 Posts: 10239 Rating: (1182) |
Hello Giuseppe, Take a look at SIMATIC S7 S7-1200 Programmable controller how to read system time. Search for "RD_SYS_T" (Read System Time). best regards, Hristo Mihalev |
5/29/2010 2:59 PM | |
Joined: 10/7/2005 Last visit: 1/24/2025 Posts: 3032 Rating: (1059) |
Hello automatizzando have a look at the "Clock Alarm" function as described in the link below, I have a feeling you will like it: How can you schedule a program event with the S7-1200 PLC? I hope thishelps |
Last edited by: fritz at: 5/29/2010 3:01 PMCheers |
|
6/1/2010 2:08 AM | |
Joined: 10/7/2005 Last visit: 1/24/2025 Posts: 3032 Rating: (1059) |
Hello automatizzando Goingby the description of the Block, I'd say you will have to call it three times with values 2 (Monday), 3 (Tuesday) and6 (Friday) for the "Week" parameter,use a seperate bit for the "OUT" parameter (e.g. M 7.2, M 7.3 and M 7.6) and then simply "OR"these three bits together. I hope this helps |
Cheers |
|
Follow us on