208
Jetter AG
10 Programming
// Displaying day of the week
Case
RTCregs.DayOfWeek
Of
0
: Trace(
'Sunday'
);
Break
;
1
: Trace(
'Monday'
);
Break
;
2
: Trace(
'Tuesday'
);
Break
;
3
: Trace(
'Wednesday'
);
Break
;
4
: Trace(
'Thursday'
);
Break
;
5
: Trace(
'Friday'
);
Break
;
6
: Trace(
'Saturday'
);
Break
;
End_Case
;
// Displaying date
Trace(StrFormat(
' , %2d.%02d.%4d , '
,
RTCregs.Day,
RTCregs.Month,
RTCregs.Year +
2000
));
// Displaying time (plus cr/lf)
Trace(StrFormat(
'%2d:%02d:%02d$n'
,
RTCregs.Hour,
RTCregs.Minute,
RTCregs.Second));
End_Loop
;
End_Task
;
Summary of Contents for JVM-407B-HMI
Page 1: ...User Manual JVM 407B HMI 60879892 We automate your success...
Page 14: ......
Page 26: ...26 Jetter AG 2 Product description and design Rear view...
Page 34: ......
Page 80: ......
Page 106: ......
Page 144: ......
Page 168: ......
Page 178: ......
Page 182: ......
Page 258: ......
Page 268: ......
Page 274: ......
Page 294: ...294 Jetter AG Appendix Rear view...
Page 299: ......