Industrial Automation
Industrial Automation | Europe

What is myOMRON?

Click here to find out

Search myKnowledge

Login

Username

Password



Register / Forgot password?

Follow

myKnowledge

Main > Product Type > Software > Programming
Minimize Text   Default    Enlarge Text
 

Print
E-mail

Should I Worry About Warnings After Compiling In CX-Programmer?


There is a big difference between an "Error" and a "Warning". An "Error" indicates that it may not be compiled and that a syntax error is present in the program. These can not be downloaded. This error must be restored.
A "Warning" after compiling may affect the operation of the program. However, the program can have downloaded  "Warnings" and the PLC can be put to RUN / Monitor.

There are several warnings. Of course, not all warnings can have a negative impact in the program.
The following example shows that there is a double output used, a so-called "Double Coil" or "Duplicated output". This is also shown by the SET and RSET command or in data processing instructions in the program when multiple commands send data to the same contact. This may be correct and the warning can be ignored. The misuse of data types in an command is given as a warning.



 
One can determine whether these warnings should be shown or not. Click on PLC and then Check Program Options. Choose options on or off, which controls are shown for the compiles.




Comments (View All Comments / Add Comment)

Related Articles
How Do Duplicated Outputs Work In A Step Program Area?
If the same bit is output twice from the same program, you will get the duplicated output warning regardless, but as long as the same bit is not output twice from the same...
How To Save The Windows Event Log
Introduction Microsoft Windows provides an Event Log where all applications may store warnings and errors found during execution.  When debugging a system fault, it...
How To Lock The I/O Of A Machine During A Transition To PROGRAM Mode?
Setting the "IOM Hold Bit" A500.12 (CS1/CJ1/CJ2) will hold the state of Inputs and Outputs during changing of PLC mode, for example from RUN to PROGRAM for a...
 
Created 2008-10-15
Modified 2008-12-09
Views 520

 

You are not logged in.