Chapter 6 Writing a Program
6-23
6.5.10
Checking and Compiling a Program
After you write a program, check the syntax of the programming language or compile the program. The syntax
and structure in the present window are checked after you run the Check function. The system checks the
entire project after you run the Compile function. If the system does not find any errors in the project, it
automatically generates execution code. After you successfully compile the program, the mother line at the left
side of the ladder diagram becomes black.
Check
From the Compile menu, click Check, or on the toolbar.
C
ompile
From the Compile menu, click Compile, or on the toolbar.
After you complete the check, the Compile Message page shows the check result. If there are any errors in
the project, the Compile Message window shows the related message. After you click the message, the
system automatically shows you where the error occurs. You can run the Check function or the Compile
function after you correct the error.