Browse FAQs

How can my scada read hours, minutes and seconds from my M221

Published date: 01 October 2019

Issue:
I want to display hours, minutes and seconds on my scada from my M221

Product Line:
M221, Ecostruxure Machine Expert Basic, SoMachine Basic

Resolution:
Add an %RTCi block to your program. The hours, minutes and seconds can be accessed through objects %RTCi.HOURS, %RTCi.MINUTES and %RTCi.SECONDS
Now use an Operation Block to move the %RTCi objects to %MWx words so your scada can access them. (E.g. %MW0:=%RTC0.HOURS)
See attached screen capture for programming example.
 

Was this helpful?

What can we do to improve the information ?