MHJ-SoftwareMHJ WikiOnline manuals PLC-Lab 3D Studio v1

⚙️Other Skills

25 min readUpdated 2026-09-04

This page is relevant for ✅Studio ❌Player

⚙️ 3D-Label

3D label in space (e.g., for signal names, status display).

Property Type Description
LabelType Selection (Label3DType) Type of label (e.g., Input, Info).
Content Text Content of the label.
FontSize Number Font size.
RotateToCamera 1/0 TRUE = rotates towards the camera.
Color Color value Text color.
ColorString Text (HTML) Color as a hex string.
UseColor 1/0 TRUE = color display is active.

--neue beschreibung START--

How it works: The {3D-Label} skill creates a text label as a 3D object in space. The text is rendered as a floating text element and can be rotated automatically toward the camera via RotateToCamera so that it is readable from any viewing direction. FontSize and Color adjust the appearance.

Types (LabelType): In addition to freely labeled texts, there is the Status type: in combination with an operand, the label displays the value of the symbol live and colors itself accordingly – suitable, e.g., for status displays at stations. The text type can be prepared in advance in the Blender object name, e.g. {3D-Label} for a static label or {status} for a status display. PositionOffsetMillimeter can be used to offset the label relative to the object.

Application notes

No material required: The 3D object does not need its own material, since the text is fully generated by the skill.
Placement: The text is oriented to the shape (bounding box) of the object – a flat object works well as a label plate.

-- neue Beschreibung ENDE--

⚙️ ColorSwitcher

From version (v1.4.5). Changes the color of an object to a target color and can reset it after a period of time. Use this skill, for example, to represent the heating of a component.

| Property | Type | Description | |---------------------------------|---------------------------- -|------------------| | Id | Number (read-only) | Internal ID of the object. | | Description | Text | User-defined description. | | ObjectName | Text (read-only) | Name of the object in the scene. | | Error | Text | Displays an error message (if available). | | Enabled | 🏷️ Symbol (Bool, output) | Activates the ColorSwitcher. | | TargetColor | Color (RGB/Hex) | Target color to which the object is switched. | | DurationTargetColorSeconds | Number (seconds) | Duration until the target color is reached. | | DurationRestoreColorSeconds | Number (seconds) | Duration for restoring the original color when Enabled is deactivated. |

--neue beschreibung START--

How it works: The {ColorSwitcher} skill smoothly blends the colors of all materials of the object from the original color to the TargetColor as long as the Enabled operand is TRUE. When Enabled becomes FALSE, the color blends back to the original color within the time specified by DurationRestoreColorSeconds. The transitions are interpolated over time – the object gradually "glows" on or off instead of switching abruptly.

Application notes

Application: Typical use cases are the visualization of heating processes (e.g., a workpiece glowing red in an oven) or state visualizations where a smooth color gradient is desired.
All materials affected: The color change affects all materials of the object. Separate parts that should not change color into their own objects.

-- neue Beschreibung ENDE--

⚙️Collider

Sets the collision properties of an object.

Property Type Description
Id Number (readonly) Internal ID of the object.
Description Text User-defined description of the object.
ObjectName Text (readonly) Internal object name (e.g., imported from Blender).
Error Text Displays an error message (if any).
Enable 🏷️ Symbol (Bool, Output) Switch the collider on and off. (v1.4.0)
CopySettingsFromId Number ID of another object whose settings will be copied.
EnableSensorTriggering TRUE/FALSE The object can trigger sensors.
SensorTriggerType All, Inductive, ... Filters which objects are allowed to trigger.
EnableCollision TRUE/FALSE Is the object a solid body?
ColliderType Box, Sphere, Mesh, etc. Geometry shape of the collider.
PhysicLayer Number Assigns the object to a specific physics layer.
RemovePlayerConstraints TRUE/FALSE Removes movement constraints for players upon contact.
CollectPlayerObjects TRUE/FALSE Objects created with the Creator can be frozen to save computing time. A typical example is objects in a container that are no longer required. When frozen, these objects can no longer be moved or removed.
MaterialProperties.DynamicFriction Number (0–1) Sliding friction while moving.
MaterialProperties.StaticFriction Number (0–1) Static friction when at rest.
MaterialProperties.FrictionCombine Average, Maximum, Minimum, Multiply Friction combination mode with other materials.
MaterialProperties.Bounciness Number (0–1) Bounciness upon collision.
MaterialProperties.BounceCombine Average, Maximum, Minimum, Multiply Bounce combination mode.
AudioProperties.Enable TRUE/FALSE Enables audio playback.
AudioProperties.ClipName Text Filename with extension of the sound to play.
AudioProperties.LoopAudio TRUE/FALSE Repeats the audio continuously.
AudioProperties.Volume Number (0–1) Volume level of the audio output.
DirectedForceProperties.Enabled TRUE/FALSE Enables directional force. The object is no longer a solid body!
DirectedForceProperties.EnableOperand 🏷️ Symbol (Bool, Input) Operand to activate the force.
DirectedForceProperties.Force Number Strength of the directional force.
DirectedForceProperties.Axis X, Y, Z, Xn, Yn, Zn Direction of the force.
HideObject TRUE/FALSE Hides the object in RUN mode.

--neue beschreibung START--

How it works: The {Collider} skill defines the physical behavior of an object: whether it is a solid body, which sensors it can trigger, and how its surface behaves (friction, bounce). It is the basis for the cooperation of many other skills – e.g., {LimitSwitch}, {EndlessRotation}, or {ScaleSize} – and for collisions with objects that have the {Player} skill.

Sensor triggering (EnableSensorTriggering, SensorTriggerType): With EnableSensorTriggering, the object becomes capable of triggering sensors. SensorTriggerType defines the sensor type (e.g., inductive, capacitive, optical). A sensor with the same type then detects the object – sensors with a different type ignore it. This allows realistic mapping, e.g., that an inductive sensor only reacts to metal parts.

Physics (ColliderType, PhysicLayer, MaterialProperties): ColliderType selects the collision shape (box, sphere, mesh, etc.). PhysicLayer assigns the object to a physics layer; with the IgnoreLayerSettings in the {Tools} skill, layer pairs can be excluded from collisions. The MaterialProperties control friction and bounce behavior on the surface.

Further functions: With Enable, the PLC can switch the collider on and off (the object can then be penetrated by other objects, for example). DirectedForceProperties applies a directed force to other objects (e.g., to blow them away). CollectPlayerObjects freezes objects created with the {Creator} to save computing time. HideObject hides the object during the simulation.

-- neue Beschreibung ENDE--

⚙️Creator

Object generator for e.g., workpieces, components, simulations.

Property Type Description
Disable 🏷️ Symbol (Bool, Output) Deactivates the creator.
CreateNextItem 🏷️ Symbol (Bool, Output) Creates the next object.
CreateRandomItem 🏷️ Symbol (Bool, Output) Creates a random object.
DelayInSeconds Float (e.g. 1.3) Start delay.
MaxNumberOfChilds Number Limits the number of created objects.
AutoDestroy 1/0 TRUE = created objects are automatically deleted when the max number is reached.
CreateAlways 1/0 TRUE = continuously creates objects.
PauseInSecondsAfterCreate Float (e.g. 1.5) Pause after creation.
RotateCreatorIfReady 1/0 TRUE = rotates the creator when ready (not disabled).
RotateSpeed Number Rotation speed.
AudioProperties.Enable TRUE/FALSE Enables audio playback.(v1.4.0)
AudioProperties.ClipName Text Filename with extension of the sound to play.
AudioProperties.LoopAudio TRUE/FALSE Repeats the audio continuously.
AudioProperties.Volume Number (0–1) Volume level of the audio output.

--neue beschreibung START--

How it works: The {Creator} skill creates copies of a template object placed as a child (e.g., a workpiece) as soon as the condition is met: either on a rising edge of CreateNextItem, randomly from several templates via CreateRandomItem, or continuously if CreateAlways is active. Newly created objects appear with a fade-in effect (dissolve) and then behave according to physics – e.g., falling onto a conveyor belt.

Quantity control (MaxNumberOfChilds, AutoDestroy): MaxNumberOfChilds limits how many created objects exist at the same time. If AutoDestroy is enabled, the oldest objects are automatically removed once the limit is reached – this keeps the number of objects in the simulation constant.

Timing (DelayInSeconds, PauseInSecondsAfterCreate): DelayInSeconds delays the first creation, and PauseInSecondsAfterCreate sets a minimum pause between two creations. This allows feeding processes to be dosed realistically.

Application notes

Create the template: The object to be created is attached as a child object below the creator object and equipped with the {Player} and {Collider} skills. Use the multi-creator variant if different workpieces are to be created.
Cooperation with the destroyer: In combination with the {Destroyer} skill, closed loops are created – created workpieces can, for example, be removed again at the end of the belt.

-- neue Beschreibung ENDE--

⚙️ Destroyer

Destroys objects on contact or signal.

Property Type Description
IsEnabled 🏷️ Symbol (Bool, Output) Activates the destroyer.
CopySettingsFromId ID Number Copies settings from another creator.
IsEnabled 🏷️ Symbol (Bool, Output) Is the Destroyer switched on?
DestroyOnlyCreatorId 0 or creator ID If the creator ID is specified, the Destroyer only removes objects from a specific creator. (v1.4.0)

--neue beschreibung START--

How it works: The {Destroyer} skill removes created objects from the simulation as soon as they touch its automatically created trigger area. It only affects objects created by a {Creator} – objects manually placed in the scene are preserved. With DestroyOnlyCreatorId, the destruction can be restricted to objects of a specific creator; by default (0), all creator objects are removed.

Activation (IsEnabled): Via the IsEnabled operand, the PLC can switch the destroyer on and off. When disabled, objects pass through the area unharmed. With CopySettingsFromId, the settings are adopted from another destroyer to simplify maintenance with multiple destroyers.

Application notes

Dimension the area: The trigger area corresponds to the size of the destroyer object. Place it where objects are to be removed reliably (e.g., at the end of the belt) and design the 3D object invisible or as a simple unit (e.g., with the {Hide} skill).
Typical application: At the end of a conveyor belt or in a collection container, so that the number of objects in the simulation does not increase indefinitely.

-- neue Beschreibung ENDE--

⚙️Hide

Hide object via symbol.

Property Type Description
HideAddress 🏷️ Symbol (Bool, Output) Signal to show/hide.
Negate 1/0 Symbol is queried negated (v1.4.2)
IsRecursiv 1/0 TRUE = all child objects are also hidden.

--neue beschreibung START--

How it works: The {Hide} skill hides the object while the HideAddress operand is TRUE (or FALSE if Negate is enabled). With IsRecursiv, all child objects are hidden as well. The skill has no effect on physics – a hidden object remains collidable.

Application notes

Typical application: Making helper objects invisible, such as sensor blocks, trigger zones, scales ({WeightSensor}), or destroyer areas ({Destroyer}), which are only functional but should not be visible.

-- neue Beschreibung ENDE--

⚙️MoveableLight

Movable light object with control.

Property Type Description
Axis X, Y, Z, Xn, Yn, Zn Reference axis of the light.
Address 🏷️ Symbol (Bool, Output) Activation signal.
MyColor Color value Light color.
Intensity Number Brightness.
RangeInMM Number Light range.
SpotAngle Number Light cone angle.

--neue beschreibung START--

How it works: The {MoveableLight} skill turns a 3D object into a movable light: when the skill is assigned, a spotlight (light cone) is created automatically that follows the object. The light cone shines along the configured axis (Axis) of the object – if the object is oriented during the simulation (e.g., by a robot or a drive), the light pans along. The light is switched on and off via the Address operand; for an object tagged with {NC} in the name, the behavior is inverted.

Light properties: MyColor defines the light color, Intensity the brightness, RangeInMM the light range, and SpotAngle the opening angle of the light cone. The light casts soft shadows.

Application notes

Design the object: Model the object as a lamp or light fixture (e.g., a spotlight head with a reflective surface). The light cone emerges from the object in the direction of the selected axis.
Difference to SceneLight: The {MoveableLight} is a bundled, object-bound light (e.g., signal light, work light), whereas the {SceneLight} is a position-independent scene light.

-- neue Beschreibung ENDE--

⚙️ObjectHelper

Internal helper component for transformation behavior.

Property Type Description
KeepInitWorldRotation 1/0 TRUE = maintain world rotation at start.

--neue beschreibung START--

How it works: The {ObjectHelper} skill is a helper skill that preserves the world orientation of an object: with KeepInitWorldRotation enabled, the object is reset to the rotation it had when the model was loaded in every simulation frame. The object can still be moved in position but does not rotate – e.g., when a parent object is rotated or when physical effects would change its orientation.

Application notes

Difference to KeepInitRotation: The {KeepInitRotation} skill serves the same purpose and can additionally be switched on and off by the PLC via an operand. The {ObjectHelper} works purely statically and does not require an operand – suitable for objects whose orientation should be permanently fixed.

-- neue Beschreibung ENDE--

⚙️Particle

(v1.4.3) Particle effects with physical properties for decoration and visualization. The particle that is created must be the child of the object that contains the skill. For example, a small cube object or a sphere that is displayed as a particle.

Property Type Description
Start 🏷️ Symbol (Bool, output) Starts/stops particle emission.
MaxParticles Number Maximum number of particles that can exist simultaneously (default: 1000).
LocalAxis X, Y, Z, Xn, Yn, Zn Local direction of particle emission.
Speed Number Speed (m/s) of the particles when leaving the emitter (default: 0.5).
EmissionRate Number Number of particles emitted per second (default: 10.0).
Lifetime Number Lifetime of the particles in seconds (default: 3.0).
UsePhysics TRUE/FALSE TRUE = Gravity acts on particles.
EnableCollisions TRUE/FALSE TRUE = Particles collide with the world.
Bounce Number (0–1) Bounce strength upon collision (0 = no bounce, 1 = fully elastic, default: 0.5).
Dampen Number (0–1) Energy loss upon collision due to friction (default: 0.1).

--neue beschreibung START--

How it works: The {Particle} skill emits copies of a particle object placed as a child (e.g., small cubes or spheres) along the local axis LocalAxis. The Start operand controls the emission from the PLC, EmissionRate determines the number of particles per second, Speed the velocity when leaving the emitter, and LifetimeSeconds the lifetime of a particle. MaxParticles limits the total number to keep performance stable.

Physics of the particles: The particles behave physically: with Collide, they collide with the environment; Bounce determines the strength of the rebound (0 = no bounce, 1 = fully elastic) and Dampen the energy loss due to friction on each impact. This allows, e.g., sparks, splashing water, or bulk material to be simulated realistically.

Application notes

Particle template: The particle object (child) should be as small and simple as possible, since many copies can be created. The origin of the emitter object determines where the particles appear.
Application: Splashing water at a washing station, sparks during welding, bulk material at a transfer point – for decoration and to increase the realism of the simulation.

-- neue Beschreibung ENDE--

⚙️PlayAudio

Audio output via trigger or collision.

Property Type Description
Enable 1/0 TRUE = enabled.
ClipName Text Filename with extension of the audio file. Example: laser.mp3. MP3 or OGG. Copy the file into the folder Audio within the project folder.
TriggerOperand 🏷️ Symbol (Bool, Output) Signal to play.
PlayOnTriggerHiEdge 1/0 TRUE = only on rising edge.
PlayOnCollision 1/0 TRUE = audio on collision.
LoopAudio 1/0 TRUE = loop audio clip.
StopOnTriggerFalse 1/0 TRUE = Stops playing if the trigger is FALSE.
Volume 0.0 to 1.0 Volume
Note

Create the Audio folder in the project directory and copy the audio files to this folder. Formats: MP3, OGG. Make sure that the files are not too large.

--neue beschreibung START--

How it works: The {PlayAudio} skill plays a sound when the TriggerOperand operand becomes TRUE or – with PlayOnCollision enabled – when a collision with another object occurs. With PlayOnTriggerHiEdge, the sound is only triggered on the rising edge instead of every frame; with StopOnTriggerFalse, playback stops as soon as the signal becomes FALSE again. LoopAudio repeats the clip endlessly, and Volume controls the loudness.

Application notes

File storage: The audio files (MP3/OGG) must be located in the Audio folder of the project and are referenced by file name with extension (e.g., laser.mp3).
Relation to other skills: Many skills come with their own audio settings (e.g., {Lamp}, {Creator}, {SwitchOrButton}). The {PlayAudio} skill is suitable for standalone sound effects on any object, e.g., a warning tone at a blocked light barrier or the noise of a press.

-- neue Beschreibung ENDE--

⚙️Player

Settings for physical properties of a player object (e.g., workpiece).

Property Type Description
AllowMouseDrag 1/0 The object can be moved with the mouse. The height of the object can be changed by pressing V at the same time.
RemoveOnMouseClick 1/0 Object disappears on click.
UseGravity 1/0 Gravity acts on the object.
Drag Number Air resistance.
AngularDrag Number Rotational damping.
InitialHighDrag Number Initial drag. (Default=20) (v1.5.3)
InitialHighDragMs Number Duration in ms of the initial drag. (Default=1000) (v1.5.3)
Mass Number Mass of the object.
IsMagnetic 1/0 Is attracted by magnets.
IsKinematic 1/0 No physics, only manual movement.
SolverIterations Number Quality of physics calculation.
PlayerConstraints Object Movement constraints.

--neue beschreibung START--

How it works: The {Player} skill turns an object into a physical body: it assigns the physics component to the object, with mass (Mass), gravity (UseGravity), air resistance (Drag, AngularDrag), and the movement restrictions (PlayerConstraints). Almost all movement- and sensor-related skills require the involved objects to have the {Player} skill – it is therefore one of the most important foundations of the simulation.

Operation with the mouse: With AllowMouseDrag, the user can move the object with the mouse during the simulation (holding the V key also changes the height). With RemoveOnMouseClick, the object disappears on a click – useful for manually removing workpieces from the plant.

Physics behavior: With IsKinematic, the object does not react to forces and only moves through drives (e.g., {Conveyor}). IsMagnetic determines whether the object can be gripped by the {Magnet} skill. InitialHighDrag strongly damps the object during the first milliseconds so that created or dropped objects come to rest calmly.

Application notes

Choose a realistic mass: The mass influences the behavior in collisions, on conveyor belts, and during weight measurement ({WeightSensor}). Choose plausible values matching the object size.
Lock axes: Via PlayerConstraints, individual movement and rotation axes can be locked – e.g., so that an object can only fall but not tip over.

-- neue Beschreibung ENDE--

⚙️ RfIdTag

Identifies an object as an RFID tag. The RFID tag has internal memory that can be read from and written to using the RfId skill.

The RfIdTag skill is assigned to the movable object or workpiece that is to be used as an RFID data carrier.

--neue beschreibung START--

How it works: The {RfIdTag} skill turns an object into an RFID data carrier. Each tag automatically receives a unique UID and an internal user memory that can be read and written by the {RfId} skill. The object with the tag (e.g., a workpiece or pallet carrier) should also be equipped with the {Player} skill so that it can be transported through the plant.

Application notes

Typical application: Workpiece tracking – a tag is transported with the workpiece, and at individual stations the {RfId} reader reads or writes data such as workpiece type or production step. The data remains stored on the object throughout the entire simulation.

-- neue Beschreibung ENDE--


⚙️ RfId

RFID reader/writer for detecting, reading, and writing to objects with the RfIdTag skill.

The skill automatically generates a trigger zone. If exactly one RFID tag is within this zone, its UID or user memory can be read or written to.

If multiple RFID tags are within the detection zone at the same time, an error is returned.

| Property | Type | Description | | --------------- | -------------------------- | ----------------------- -------------------------------------------------------------------------------------------------- - | | TagMemAddress | 🏷️ Symbol (Number, Output) | Start address for reading from or writing to the RFID memory. Default=0 | | Length | 🏷️ Symbol (number, Output) | Number of bytes to be read from or written to the RFID memory. The RFID memory has a size of 1024 bytes. Default=4 | | InAddressData | Number | Start address in the input range. Read RFID data is written to the inputs starting at this address. Default=100 | | OutAddressData | Number | Start address in the output range. The data to be written is read from the outputs starting at this address. Default=100| | Execute | 🏷️ Symbol (Bool, Output) | Starts the read or write operation. The evaluation depends on the set mode. | | Mode | 🏷️ Symbol (Boolean, Output) | Determines which RFID function is executed. See below. Default:1 (Read UID)| | IsTagPresent | 🏷️ Symbol (Boolean, Input) | TRUE if exactly one valid RFID tag is within the detection range. | | Done | 🏷️ Symbol (Boolean, Input) | TRUE if the current read or write operation was executed successfully. | | Busy | 🏷️ Symbol (Boolean, Input) | Indicates that an operation is in progress. | | RfIdError | 🏷️ Symbol (Boolean, Input) | TRUE if an RFID error occurs: when multiple tags are detected simultaneously. | | Status | 🏷️ Symbol (Word, Input) | Status or error code of the RFID reader/writer: 1 if multiple tags are detected simultaneously.|

Mode:

| Mode | Name | Description | | -------: | --------------------- | --------------------------- ----------------------------------------------------------------- - | | 1 | ReadUid | Reads the internal ID of the RFID tag. The ID is output as four bytes starting at InAddressData. | | 2 | ReadUserMemoryCyclic | Reads the user memory continuously as long as Execute is TRUE. | | 3 | WriteUserMemoryCyclic | Writes to user memory continuously as long as Execute is TRUE. | | 4 | ReadUserMemoryOnce | Reads user memory once upon a rising edge on Execute. | | 5 | WriteUserMemoryOnce | Writes to user memory once upon a rising edge on Execute. |

Reading the UID:

In ReadUid mode, the RFID tag’s internal ID is read as a 32-bit value and written to four consecutive input bytes.

--neue beschreibung START--

How it works: The {RfId} skill simulates an RFID reader/writer. When assigned, a trigger area is created automatically. If exactly one object with the {RfIdTag} skill is within this area, the IsTagPresent operand reports TRUE and the data carrier can be read or written. If several tags are in the area at the same time, an error is reported via RfIdError (or Status = 1) and no operation is executed – just like with a real reader, which cannot resolve collisions between multiple data carriers.

Operating principle (Mode, Execute): Via Mode, the operating mode is selected (see table above). Execution is controlled by the Execute operand: in the Once modes, a rising edge is sufficient; in the Cyclic modes, reading or writing continues for as long as Execute is TRUE. The access position in the tag memory is specified by the PLC via TagMemAddress (byte offset) and Length (number of bytes). After each completed operation, the device sets Done to TRUE for a short time; Busy signals an ongoing operation.

Data transfer (InAddressData, OutAddressData): When reading, the bytes from the tag memory are copied to the simulation inputs starting at InAddressData, from where the PLC can read them via the process-image-based communication. When writing, the bytes from the outputs starting at OutAddressData are transferred to the tag memory. The data remains stored on the tag and travels with the workpiece through the entire plant.

Application notes

Flowchart in the PLC program: A typical sequence is: wait for IsTagPresent → set TagMemAddress/Length → pulse Execute → react to Done → read the data from the inputs or write it to the outputs beforehand.
Positioning the device: Model the reader (e.g., a write head on the belt or a read coil at a station) so that the tag object passes through the trigger area. The size of the object determines the range.

-- neue Beschreibung ENDE--

⚙️SceneLight

Simulated light in the scene (spotlight, signal light, etc.).

Property Type Description
LightOn 🏷️ Symbol (Bool, Output) Turn light on/off.
NegateBehavior 1/0 TRUE = invert behavior.
Color Color value Light color.
Intensity Number Light intensity.

--neue beschreibung START--

How it works: The {SceneLight} skill switches an existing light in the scene (e.g., position light or ceiling lighting) on and off via the LightOn operand. It is a directional scene light (directional light) that illuminates the entire scene evenly – in contrast to the object-bound {MoveableLight} with its light cone. The position and orientation of the light correspond to those of the default scene light at the start.

Behavior (NegateBehavior, Color, Intensity): With NegateBehavior, the logic is inverted – the light is then on when the operand is FALSE (the same behavior can also be achieved by tagging the object name with {NC}). Color and Intensity determine color and brightness.

Application notes

Create the object: The 3D object must have a light component, which is added automatically when the skill is assigned. Without a {...} tag in the object name, the object is treated as the default light of the scene.
Application: Simulation of machine room lighting switched by the PLC, or of fault lamps that color the scene in case of an alarm.

-- neue Beschreibung ENDE--

⚙️Tools

Advanced tools at runtime in 3D-Studio. Allows the definition of custom logical and mathematical calculations, as well as selectively ignoring layer collisions.

Property Type Description
CalculatorsBool List of objects List of boolean calculations. Each calculation consists of a target variable (Target), a condition (Condition) (v1.4.0) and a logical expression (Expression). Symbols must be specified in square brackets in the logical and the condition expression, e.g.: [S1] and [S2] or not [S3]. In the Target field, the symbol must be specified without brackets.
CalculatorsAnalog List of objects List of analog calculations for mathematical operations. Example: [Value1] + [Value2] * 2. Here too, symbols must be in square brackets.
IgnoreLayerSettings List of objects Defines layer pairs (Layer1, Layer2) that should ignore each other during collisions.

--neue beschreibung START--

How it works: The {Tools} skill is a computing unit within the simulation that evaluates logical and mathematical expressions independently of the PLC. For each entry in CalculatorsBool or CalculatorsAnalog, the expression (Expression) is calculated in every simulation cycle and the result is written to the symbol specified in Target. The symbols can be any inputs or outputs of the symbol table – this allows, e.g., derived signals, interlocks, or calculated values to be generated without loading the PLC.

Condition (Condition): Via the Condition field (v1.4.0), the calculation can be linked to a condition: only if the condition evaluates to TRUE is the expression evaluated and the Target updated. If no condition is specified, the expression is executed in every cycle.

Collision filter (IgnoreLayerSettings): Via the layer pairs in IgnoreLayerSettings, physics layers can be excluded from the collision calculation (e.g., so that particles do not collide with the belt). The layer assignment of the objects is done via the PhysicLayer property in the {Collider} skill.

Application notes

Scope of use: The {Tools} are suitable for display and auxiliary logic (e.g., summing counters, threshold values, simulating internal variables). The actual control logic should remain in the PLC program to keep the test realistic.
Bracket notation: In the expression and in the condition, symbols are always specified in square brackets ([S1]); in the Target field, however, without brackets.

-- neue Beschreibung ENDE--

Supported Operators:

Boolean Calculations (CalculatorsBool):

  • (...): Parentheses
  • !, not: Logical negation
  • and, or: Logical conjunctions

Analog Calculations (CalculatorsAnalog):

  • *, /, %: Multiplicative operators
  • %: Modulo operator,
  • +, -: Additive operators
  • <, >, <=, >=: Comparison operators
  • =, ==, !=, <>: Equality operators
  • and, or: Logical conjunctions (e.g., in comparisons)

Examples for Expressions:

txt
CalculatorsBool:
- [LampOn]
- [Button1] and not [Sensor1]

CalculatorsAnalog:
- [Speed]
- ([Setpoint] + [Offset]) * 0.1

Note: In the Target property, the symbol must be inserted without square brackets:

Bool-Calculator Settings Sample
Image: BOOL-Calculator: In Target, the symbol was inserted without brackets, and in Expression, the symbols must be specified with square brackets.