Industry Online Support
Technical Forum
3/22/2011 3:30 PM | |
Posts: 2 Rating: (0) |
How i can use the FC8 for extract the time Splitted from time comparision. |
Last edited by: O_Moderator at: 3/23/2011 8:05 AMnew subject after splitting |
|
3/22/2011 5:40 PM | |
Joined: 1/28/2009 Last visit: 9/10/2024 Posts: 6849 Rating: (1365) |
Check the following codes as an sample: [code] CALL "READ_CLK"//SFC1 RET_VAL:=MW0 CDT :=#test CALL "DT_DATE"//FC6 IN :=#test RET_VAL:=MW4 CALL "DT_TOD"/FC8 IN :=#test RET_VAL:=MD8 CALL "DT_DAY"//FC7 IN :=#test RET_VAL:=MW12[/code] Also check the following topic for more details: Handling Time of Day!BR |
Follow us on