Jump to content

Time and Date update Function Block


Isakovic

Recommended Posts

I'll explain the problem I had, maybe it helps somebody.

I have several controllers that need to have synchronized RTC, and there was a problem that time update didn't work properly. After some troubleshooting I found that "Status" variables need to be defined in order for function blocks to work.

This does not work (usually):

1719291847_doesnotwork.thumb.PNG.b19ce3c3270426407db836db9bb2b3b9.PNG

This does work:

works.PNG.0132c4cbc8e36df8957f0f2bda2a1d5d.PNG

Both cases compile the same without error or warning.

UniLogic version 1.28.34
PLC USP-070-B08

  • Upvote 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.