6, zero-based learning simulation screen industrial --WINCC

☞☞☞ Click to see more outstanding industrial PLC blog ☜☜☜

> Hello everyone I'm your friend JamesBin, the lesson we have learned how to run the program, this section let us look at how to proceed.

Build screen

New canvas

Special Note: This step must be done before the completion of the article after the otherwise not be performed successfully.
Here Insert Picture Description

Add the button element

Here Insert Picture Description

Associated variable

Graphic variables associated with the start button
Here Insert Picture Description
Here Insert Picture Description
start button animate
Here Insert Picture Description
Here Insert Picture Description

simulation

11. Stop button graphics context variables and animate the start button and the same, but not the same variable associated, pay attention to
distinguish.
12. The motor only need to animate, concrete steps and start button, like, pay attention to the associated variable is not the same.
13. Start simulation
Here Insert Picture Description
Note: This process will take some time to perform
Here Insert Picture Description
Step 5 represents the phenomenon after the start of the search, after only five did not go wrong, it can be 6
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

Operating results show

Here Insert Picture Description
Here Insert Picture Description

Monitoring program

Surveillance program to monitor the program running in the state, and this step requires the combination of Articles section.
Here Insert Picture Description
Here Insert Picture Description
  Appear dashed line represents the program can run, no programming error. If the program appears logical errors, without programming, error, the program can be monitored, to discover what point the logic of a problem, and then modify the program.
  Here you can also change the button state more directly, to run the program, no longer need to enter the picture will be able to debug (which requires program is relatively small, too big are not appropriate)
Here Insert Picture Description
Here Insert Picture Description
  is about the only way to do common procedure here until after skilled after master the software, you can find there is also a lot of powerful features, some steps here and also about the order or different operations, until you practice makes perfect, can according to their own favorite way to operate.
Here Insert Picture Description

Published 71 original articles · won praise 109 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_45172832/article/details/104657352