Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84388members
353579posts

Function block not scanning all the time.

Modicon PAC Forum

A forum for topics related to the scope of Modicon PAC offers and ecosystem along the whole lifecycle: Modicon M580 and 340, EcoStruxure Control Expert, EcoStruxure Process Expert (Unity Pro) and more.

jm
Crewman
Crewman
2
1723
2 Replies 2
Omaelk
Administrator Administrator
Administrator
0 Likes
0
1715

Re: Function block not scanning all the time.

Hey @jm   , thank you for your question
 
I moved your question to this forum when the community of experts will be able to provide you the right support. 

 

PS: in the future, don't hesitate to post all your questions related to M580 in this forum 😉 

 

 

Eric_Coudurier
Lt. Commander Lt. Commander
Lt. Commander

Re: Function block not scanning all the time.

Are you sure that you DFB is executed at each cycle ?
you can check by setting a watch point on the DFB and look at the counter, if it remains to the same value that means the DFB is not executed. When the DFB is executed all the variables connected to it are exchanged. The EN pin on the DFB may be also the cause, if it is set to 0 the DFB is not executed. Another possibility is that the variables change their state after the DFB execution, so in the program animation, you see the last state. The watch point removes this ambiguity.
Here an example of a watch point on a FBD section. Select the DFB and set the watch point on it.

The state of the variables are also refreshed when the DFB is executed, so you can see the real state of your data.

2020-01-24_11-23-44.jpg