Please read the following section - this will make it easier for you to draw systems.
PLC-Lab is equipped with a 2D physics engine. The user does not have to write scripts for the movement of the objects; instead, the dynamics are calculated by the physics engine. The structure of a system in PLC-Lab works by placing a component (lamp, switch, rectangle, circle, ...) on the draw-window and then configuring it in a property window.
The most basic objects in PLC-Lab are switches and lamps. As a rule, you can only specify 1 operand or one symbol here: An input at a switch or an output for a lamp.
Recommendation: First create all operands in the symbol table that are to be used in the system. This has the advantage that, for example, address changes can simply be made in the symbol table. The points of use in the system are then automatically adapted. Because the symbols can be dragged and dropped into the objects, you also save paperwork.
The "Gravity" property is typically enabled for dynamic objects. This means that the object falls down if it is not stopped by another object. In most cases, gravity is preferred for dynamic objects. When gravity is off, the object floats on the draw-window. If you want to draw a system from a bird's eye view, this might be useful.
In PLC-Lab, an object is either a physics object or a decoration object. The physics engine ignores the latter. The property "Is physics object" is inactive. The physics objects differ in:
This setting can be found in the "Properties object" window within the "Physics properties" section. In this section you can also find the properties for the surface friction, the elasticity, and the density of an object.
If you want to transport objects from A to B, the conveying element is the best choice in most cases. This element must be imagined as an air flow that can be switched on and off, which exerts a force on objects and thus sets them in motion. The conveying element is represented by a rectangle and can be rotated at will. This allows the force to be exerted at any angle. When the conveying element touches (even partially) a dynamic object, a force is exerted.
If you want to move or rotate an object, then joints come into play. If you want to move an object in one direction, you can use the "prismatic joint". A cylinder with a cylinder rod does just that. If you want to rotate something (fan), you use the "revolute joint". These connections always have a switchable motor with which you can control the movement. They are also equipped with numerous sensors, which can be evaluated with operands. Influencing these movements is also possible in many ways, both with analog and binary signals.
Often you need objects (e.g. bottles, crates, ...) that are processed in some way in a system. With the help of the Creator you can duplicate an object set as the parent object in RUN mode. In this way you can, for example, supply a belt with crates. The counterpart is called Destroyer, which removes the created objects again. A Destroyer can be any object. All you have to do is switch on the property "Object is a destroyer" in the property window and set the ID (or 0 for all).
As the name suggests, this can be used, for example, to indicate the filling level of a container. The inflows and drains can be controlled with both binary and digital signals. Numerous sensors are available to evaluate the fill level.
Dynamic objects can be combined with the help of the "Solid joint" or the body group to form any contiguous body.
The solid joint is used, for example, when you want to attach an object (or several objects) to the piston rod of a cylinder. Or you want to build a sieve with the corresponding gaps. Because there can be gaps between the individual objects of a body. This possibility of assembling arbitrary bodies is one of the reasons why PLC-Lab is so versatile.
After the installation you will find the folder PLC-Lab-Editor in your documents. Here you will find sample projects and useful graphic symbols in the Items folder: Bottles, crates (high, flat), balls, etc.
With PLC-Lab, a virtual project can be set up in 2D. Be creative and use the various setting options. Take a look at the examples and instructions in the PLC-Lab manual (www.mhj-wiki.de). With the many possible settings, it makes no sense to try to set up a system using trial and error in PLC-Lab.
If you are not yet familiar with PLC-Lab, we recommend the following procedure:
Once you have completed these steps, you will have the basic knowledge for developing your own projects in PLC-Lab. The time for working on the aforementioned topics is well invested because with the acquired knowledge, you will be able to develop your own projects much faster.
Note on PLC-Lab-Runtime: The software PLC-Lab Runtime is included in the books 'Step7-Workbook S7-1500/1200' and 'Grafcet-Workbook'. With PLC-Lab you can load and modify the example projects from these books. A file saved with PLC-Lab can however not be opened with PLC-Lab Runtime. The PLC-Lab contains new features that are not available in the Runtime version.
When the orange update icon appears, a new version is available. Please download and install the new version. You don't have to uninstall first.