Compiler Output
This tab displays information about the last project compilation. It shows information messages as well as Warnings and Errors (highlighted in red). Successful and unsuccessful output is reported within this tab to help identify and troubleshoot problem areas of the program development.
-
-
Double-click an error to open the program in the workspace and jump directly to the relevant location in the editor. This lets you rework the program and fix the error.
In the image above, the first warning is for Sample_Inst. Double clicking that item opens that item's location in the Dictionary.
When there is a long list of statements, only the bottom part is displayed. Do not forget to scroll up.
To clean-up your application, do as follows:
- Scroll up to start from top and locate the first error message
- Fix the error
-
-
Because fixing one piece of code can eliminate multiple compiler output error, it is recommended to recompile each time you correct an error.
When no more errors exist, the following messages are displayed:
- PLC "Programmable Logic Controller" A Programmable Logic Controller, PLC, or Programmable Controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Used to synchronize the flow of inputs from (physical) sensors and events with the flow of outputs to actuators and events successful (the IEC "International Electrotechnical Commission" IEC is a not-for-profit, non-governmental international standards organization that prepares and publishes International Standards for all electrical, electronic and related technologies 61131-3 code is correct)
- Device compile successful (is related to the Motion part (e.g. CAM profiles), EtherCAT ***EtherCAT is an open, high-performance Ethernet-based fieldbus system. The development goal of EtherCAT was to apply Ethernet to automation applications which require short data update times (also called cycle times) with low communication jitter (for synchronization purposes) and low hardware costs XML "Extensible Markup Language " XML is a general-purpose markup language. It is classified as an extensible language because it allows its users to define their own tags file...)
- Generating Modbus ModBus is a serial communications protocol and is now the most commonly available means of connecting industrial electronic devices. ModBus is often used to connect a supervisory computer with a remote terminal unit in supervisory control and data acquisition (SCADA) systems. Versions of the ModBus protocol exist for serial port and Ethernet (it is widely used with TCP/IP over Ethernet) files (related to the variables mapped with the HMI "Human-machine interfaces " Also known as computer-human interfaces (CHI), and formerly known as man-machine interfaces, they are usually employed to communicate with PLCs and other computers, such as entering and monitoring temperatures or pressures for further automated control or emergency response)
- Project compile successful (the complete project is ready to be downloaded to the target)
Text displayed:
Operands of "*" or "/" must be numbers and have the same type
Meaning:
This error appears in a ST "Structured text" A high-level language that is block structured and syntactically resembles Pascal instruction when a constant does not have the expected type in a multiplication or division operation. Typically, REAL is the default precision for floating points, so you have to explicitly declare your long real constants with the LREAL# prefix when required.
- Controller : PLC and MachineLogic refer to the program in the Project Explorer
- GS stands for Graphical and Step (T is for Transition)
- 101 is the reference in the editor
- -P1(4) refers to the P1 tab and the 4th line in the source code
FFLD Location details
- Controller : PLC and Main refer to the program in the Project Explorer
- GS stands for Graphical and Step (T is for Transition)
- 5 is the reference in the editor
- -N refers to the N tab
- NW15 stands for Network number 15
- (4,2) correspond to the X,Y coordinates of the cell relative to the current network
ST Location details
- Controller : PLC and MyST_function refer to the program in the Project Explorer
- (5) refers to the 5th line in the source code