Store PLCnext CommunityPLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. Oleksandr Guminskiy
  2. PLCnext Engineer
  3. Wednesday, 28 July 2021
Dear All!
I have the question about order of variable values processing.
There is a variable, that can be changed inside of plcnext controller program and by eHMI button click.
My question is when PlcNext controller will process eHMI variable change command, on the start of new program cycle, at the end of current program cycle, or it can be change by eHMI command in the middle of current cycle?
Where can I find information about behavior of controller in that case?

Thank you
Accepted Answer
Martin PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
Data is transmitted between the Runtime and the web page via GDS Port variables in the PLCnext Runtime. This should ensure data consistency, i.e. the value of GDS port variables should not change unexpectedly during program execution. This concept is described in the Info Center, here:
https://www.plcnext.help/te/PLCnext_Runtime/GDS_Global_Data_Space.htm
So, the data in the GDS port written from the HMI page should not change in the middle of program execution. It will change "between" program executions.
Hope this helps.
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
  1. more than a month ago
  2. PLCnext Engineer
  3. # Permalink


There are replies in this post but you are not allowed to view the replies from this post.