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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...