Which programming language is multifunctional

PC Worx is based on the well-known Interbus software CMD and the IEC programming tool Multiprog from KW-Software. The tool, which has been continuously developed since 1996 together with numerous users and various partners, is now used in all industrial areas. Right from the start, the focus was on a uniform engineering environment for all control classes so that devices and controls can easily be exchanged for one another. The software is also compatible with the previous versions, so that a ten-year-old project can also be transferred to the current PC Worx version using the appropriate conversion steps. In this way, the user's know-how can continue to be used on the new hardware. During the conversion, differences in the hardware - for example with regard to a remote bus or local bus output - are taken into account by an assistant who, guided by dialog, suggests a hardware alternative. IEC programming languages ​​In the beginning only Interbus networks could be configured with PC Worx, today the configurator supports numerous bus systems whose interfaces have been integrated into the controller. In addition to Interbus, these are currently Profinet, Modbus TCP and Sercos II. Via a Profinet proxy, additional fieldbus systems such as Profibus can be conveniently configured using GSDML device description files (Fig. 2). PC Worx is programmed according to the international standard IEC 61131-3, whereby the programming languages ​​ladder diagram (LAD), function diagram (FBD) and instruction list (STL) as well as the more complex languages ​​structured text (ST) and sequential function chart (AS) are included in the basic configuration of the software package are. Program blocks of the basic languages ​​LAD, FBD and STL as well as an ST block can be translated into any other basic language. Network templates can also be created for the basic languages ​​in which placeholders can be defined for individual multiple use. PC Worx also supports the File Exchange Format of IEC61131 and the PLCopen Exchange Format based on XML. This means that there are two standardized ways of exchanging program codes with other programming tools. Editors In PC Worx, the programming process is simplified by numerous editors for the various languages. Syntax Coloring shows, for example, key words such as \ ’IF… THEN… ELSE \‘ through different coloring in ST, so that the readability of the commands and variables is improved and the clarity of the text-based program source code is increased. IntelliSense completes variable names as well as structure and function block elements automatically. This functionality is available in both the textual and graphic programming languages ​​via the variable dialog. Colored symbols in the graphic editors make it clear whether it is a standard module or a block programmed by the user. You can switch to the source code in both online and offline mode by double-clicking the block. Comprehensive wizards for all programming languages ​​show the available operations for the selected hardware (Figure 3). The LAD programming language is available in two versions - depending on whether the user wants to work with a free-graphic or a rigid, grid-oriented editor. In contrast to the free-graphic LAD editor, the fixed-format ladder editor is based on cells that divide the worksheet into rows and columns. In addition to an autorouting function that prevents collisions within the network, the rigid editor is characterized by the combination with ST control instructions within the ladder diagram network. The innovative functionality provides the ladder programmer with powerful high-level language functions that are difficult or impossible to map in the standard ladder diagram. Foreign language concept Due to advancing globalization, the engineering software and the programs generated from it must be internationally usable. In PC Worx, the user can switch between all common national languages. Since the software is one of the few programming environments that supports the Chinese language, it is particularly suitable for machine and system builders who address this market (Fig. 4). In addition, all comments can be exported, translated and re-imported from the automation program. Then you simply switch to the translated language. Online programming During commissioning or optimization of the application, changes can be made online with PC Worx. Extending complex links, adding standard and user blocks, adding further I / O points or changing the program cycle time is possible with almost no restrictions during operation. It is only not possible to add tasks and fieldbus participants during runtime or to change task properties. In this way, the program can be developed completely online without having to stop the control (Fig. 7). Debug options A cross-reference window that shows the programmer all the variables used in the application with a hardware assignment is also part of the basic equipment of PC Worx, as is a logic analyzer for displaying standard, structure or array data types. Further functions are the setting of breakpoints, step and trace as well as the integrated force list. The package is rounded off by a simulation environment that enables the program to be tested without hardware (Fig. 5). The soft PLC rack is built up automatically when the hardware tree is linked with the variables via the process data. After the simulation process, the communication connection can be switched to the real hardware without losing the variable assignment or programming. With the multiuser interface, several users can work on one project. For this purpose, a server project is generated from the project, in which the users participate via a client project. Due to the multi-project capability, several PLCs can also be programmed in one project. Automation solutions PC Worx enables the implementation of all relevant automation concepts. This includes the networking of small systems in which a few I / O points are wired in parallel or widely distributed signals are integrated into the network via Interbus, Profinet or Ethernet. In larger applications, decentralized concepts that work with small to medium-sized subordinate controllers are ideal. Communication with the coordinating controller and the subordinate I / O devices is implemented via Interbus, Profinet or Ethernet. The modular structure makes commissioning and maintenance of the overall application considerably easier (Fig. 6). The engineering software is also characterized by the support of IT-based communication, whereby the user has almost no limits thanks to the transparent Ethernet TCP / UDP modules. For example, it is possible to connect to SQL databases during runtime or to map Modbus TCP. Box 1 PC Worx Express - easy programming of small controllers With PC Worx Express, Phoenix Contact provides an engineering tool with which small controllers in the 100 performance class can be easily programmed. This is achieved, among other things, by a clear user interface and a reduction in expert functions. Nevertheless, PC Worx Express offers many of the tried and tested PC Worx functions such as project creation, fast application development and easy downloading, monitoring and commissioning of the PLC program. Intelligent automatisms such as inserting program instances into the task or simplified variable handling accelerate the programming process. PC Worx Express can be downloaded free of charge from the Phoenix Contact homepage. If the application requires the extended functions of PC Worx, the project created with PC Worx Express can be opened with the standard programming environment in order to transfer the created data to PC Worx.