Actuators - Skills
This page is relevant for ✅Studio ❌Player
🔌Conveyor
Conveyor belt with multiple travel directions and speeds.
If you want to control the speed of the conveyor belt analogously, use the SpeedAnalog, MoveForward, and MoveBackwards symbols. For binary control, use the MoveForward, MoveBackwards, MoveForwardFast, and MoveBackwardsFast symbols. The speed is then set via SpeedDefault.
| Property | Type | Description |
|---|---|---|
| CopySettingsFromId | Number | Copy settings from another object. |
| Axis | X, Y, Z, Xn, Yn, Zn | Local axis for the forward movement of the belt. |
| MoveForward | 🏷️ Symbol (Bool, Output) | Starts forward movement. |
| MoveBackwards | 🏷️ Symbol (Bool, Output) | Starts backward movement. |
| MoveForwardFast | 🏷️ Symbol (Bool, Output) | Fast forward. |
| MoveBackwardsFast | 🏷️ Symbol (Bool, Output) | Fast backward. |
| SpeedDefault | Number | Default speed. |
| SpeedAnalog | 🏷️ Symbol (Number, Output) | Variable speed via symbol. |
| Increments | 🏷️ Symbol (number, input) | Delivers an INT16 increment counter. 1 increment corresponds to 1 mm. (v1.4.2) |
| ResetIncrements | 🏷️ Symbol (BOOL, output) | The incremental encoder can be set to zero.(v1.4.2) |
| TextureSpeed | Number | Speed of the texture movement. |
| RadialConveyor | TRUE/FALSE | True: Conveyor belt is radial. The pivot point is the origin of the 3D object. |
The conveyor belt also requires a Collider skill. If necessary, increase the friction of the belt via the collider with MaterialProperties.DynamicFriction and StaticFriction.
For a conveyor belt, it is recommended to use a suitable texture to make the belt's movement visible, even when there is no workpiece on it. If the material of the 3D object is named Universal-Belt, an internal texture for the conveyor belt is automatically used. For this texture to be displayed correctly, the scaling and alignment (UV editing) must be adjusted accordingly in the CAD software. Download the graphic file, scale it correctly in your CAD program, and ensure the UV settings are correct so that the texture is also displayed correctly in PLC-Lab 3D Studio. With the TextureSpeed setting, you can adjust the texture's displacement to match the belt's conveying speed.
Setting RadialConveyor:
Image: The orange dot is the origin of the transport surface and also the pivot point for the transport direction. The rotation axis must be set to Z.
🔌Deform
(v1.5.3) The Deform skill can be used to compress objects, for example, to simulate a workstation that compresses a workpiece.
The Deform skill has no additional settings.
No additional skills are required to “press” another object. The object to be compressed simply needs to have a collider so that the collision can be detected.
--neue beschreibung START--
How it works: The {Deform} skill deforms other objects by compressing them. When the object with this skill is pressed into another object, that object becomes shorter in the direction of the pressing – similar to a workpiece in a press or at a workstation that deforms the material. The deformation is performed by automatically scaling the object along the pressing direction and does not require any operand from the PLC.
Automatic position correction: When the object is compressed, its position is automatically corrected so that the opposite side (e.g., the supporting surface on a table or in a fixture) stays where it is. Only the side being pressed is pushed in – the object does not "sink" through the surface it is resting on.
Safety limit: The object cannot be compressed completely. A minimum size of about 1% of the original size is retained in each axis, so the object is never scaled to zero or a negative value.
Pressing direction: The deformation automatically occurs along the axis into which the object is pressed. Rotate the object in the 3D model accordingly if a specific pressing direction is required.
Application: Typical use cases are press stations, joining processes, pressing in bushings, or compressing materials during virtual commissioning.
Partner objects: The object to be deformed needs a collider so that the overlap can be detected. Its own skill (e.g., {Pushable}) is not required on the object being deformed.
-- neue Beschreibung ENDE--
🔌 DriveUniversal
(v1.5.2) The DriveUniversal drive moves 3D objects and combines a total of 8 different behaviors through the combination of DriveType and MovementMode.
It replaces the previous drives, which remain available for compatibility reasons: Drive-2-Point, Drive-2-Point-Rotation, Drive-2-Point-Physic, ServoDrive, ServoDrive-Rotation.
For new systems, DriveUniversal should be used. The MovementMode = Kinematic setting is recommended, as this option provides more stable motion. Use the Physic mode if you want to block the drive.
Typical Applications:
- Linear2Point: Cylinder rod, slider, simple lifting drive
- Rotation2Point: Rotary drive with two fixed end positions
- LinearServo: Movement to a specific position
- RotationServo: Movement to a specific angle
This skill supports simple and linked movements (e.g., in a 3-axis gantry). Ensure that the DriveUniversal skill is used consistently for all axes. Mixing different drive skills and different MovementModes within a chain should be avoided to ensure synchronous behavior and smooth motion sequences.
General Properties:
| Property | Type | Description |
|---|---|---|
| DemoMode | TRUE/FALSE | Activates the demo mode. Default=FALSE |
| Enable | 🏷️ Symbol (Bool, Output) | Activates the drive. If Enable = FALSE, no movements are executed. Default="1" |
| LinkedObjects | Number (readonly) | Number of linked 3D objects moved by this drive. Default=0 |
| DriveType | Linear2Point, Rotation2Point, LinearServo, RotationServo |
Determines whether the drive moves between two end positions or operates like a servo, moving to a target position or target angle. Default=Linear2Point |
| MovementMode | Physics, Kinematic |
Determines whether the movement is executed based on physics or kinematically via Transform. Default=Physics |
| Axis | X, Y, Z, Xn, Yn, Zn |
Local movement or rotation axis of the drive. Default=Z |
| IsAtMax | 🏷️ Symbol (Bool, Input) | TRUE if the maximum position has been reached. Default="0" |
| IsAtMin | 🏷️ Symbol (Bool, Input) | TRUE if the minimum position has been reached. Default="0" |
| IsAtInitial | 🏷️ Symbol (Bool, Input) | TRUE if the initial position has been reached. Default="0" |
| DurationInSeconds | 🏷️ Symbol (Number, Output) | Movement duration in seconds. Can be used as an alternative to speed. Default="1.5" |
| SpeedUnitsPerSecond | 🏷️ Symbol (Number, Output) | Speed in units per second (i.e., meter/s or degrees/s, depending on the DriveType). Default="0" |
| NegateIsMinMax | TRUE/FALSE | Inverts the feedback signals IsAtMax, IsAtMin, and IsAtInitial. Default=FALSE |
| MaxTravel | Number | Maximum travel distance in mm or degrees, depending on the DriveType. Internally, the drive always moves from 0 to MaxTravel. Default=20 |
| InitialPosition | Number | Initial position when switching to run mode. Without scaling, the valid range is 0 .. MaxTravel. With active scaling, the valid range is RangeMin .. RangeMax. Default=0 |
DriveUniversal2Point – Settings for 2-Point Drives: DriveType = Linear2Point, DriveType = Rotation2Point
| Property | Type | Description |
|---|---|---|
| DriveUniversal2Point.DurationInSecondsToMin | 🏷️ Symbol (Number, Output) | Movement duration to the minimum position in seconds. Can be specified separately from DurationInSeconds. Default="0" |
| DriveUniversal2Point.ToMax | 🏷️ Symbol (Bool, Output) | Moves the drive to the maximum position. Default="0" |
| DriveUniversal2Point.ToMin | 🏷️ Symbol (Bool, Output) | Moves the drive to the minimum position. Default="0" |
| DriveUniversal2Point.ToInitial | 🏷️ Symbol (Bool, Output) | Moves the drive to the initial position. Default="0" |
| DriveUniversal2Point.ImpulseBehavior | TRUE/FALSE | TRUE: A short impulse on ToMax, ToMin, or ToInitial is sufficient to start the movement to the target position. Default=FALSE |
| DriveUniversal2Point.SpringReturnBehavior | TRUE/FALSE | TRUE: The drive automatically returns to the starting position when ToMax is set to FALSE. Default=FALSE |
DriveUniversalServo – Settings for Servo Drives: DriveType = LinearServo, DriveType = RotationServo:
| Property | Type | Description |
|---|---|---|
| DriveUniversalServo.StartMoving | 🏷️ Symbol (Bool, Output) | Starts the servo movement. A rising edge is required. Default="0" |
| DriveUniversalServo.StopMovement | 🏷️ Symbol (Bool, Output) | Stops the current servo movement. Default="0" |
| DriveUniversalServo.Ready | 🏷️ Symbol (Bool, Input) | TRUE if the drive is ready for a new movement. Default="0" |
| DriveUniversalServo.TargetPosition | 🏷️ Symbol (Number, Output) | Target position of the drive. Without scaling, the value corresponds to mm or degrees. With active scaling, the value is interpreted within RangeMin .. RangeMax. Default="0" |
| DriveUniversalServo.IsMoving | 🏷️ Symbol (Bool, Input) | TRUE as long as the drive is currently moving. Default="0" |
| DriveUniversalServo.IsOffsetDrive | TRUE/FALSE | TRUE: The target position is interpreted relative to the current position. Default=FALSE |
| DriveUniversalServo.IsOffsetModeBackwards | TRUE/FALSE | TRUE: Positive offset values move in the opposite direction. Default=FALSE |
CurrentPosition – Scaling: Via CurrentPosition.RangeMin and CurrentPosition.RangeMax, the internal drive movement of 0 .. MaxTravel can be mapped to any external scale.
| Property | Type | Description |
|---|---|---|
| CurrentPosition.CurrentPosition | 🏷️ Symbol (Number, Input) | Current position of the drive. Without scaling, in mm or degrees; with scaling, within RangeMin .. RangeMax. Default=not set |
| CurrentPosition.RangeMin | Number | Minimum value of the external scaling. If RangeMin = RangeMax, it automatically defaults internally to 0 .. MaxTravel. Default=0 |
| CurrentPosition.RangeMax | Number | Maximum value of the external scaling. If RangeMin = RangeMax, it automatically defaults internally to 0 .. MaxTravel. Default=0 |
If scaling is specified, the following values are interpreted or provided within this scale:
- CurrentPosition.CurrentPosition
- DriveUniversalServo.TargetPosition
- InitialPosition
Internally, the drive always continues to move from 0 to MaxTravel. The scaling serves exclusively to map this internal range to a different external value system.
MaxTravel = 100RangeMin = 200RangeMax = 1200
Then the following applies:
- internal position
0→ external value200 - internal position
100→ external value1200 TargetPosition = 700moves to the correspondingly converted internal positionCurrentPositionreturns values between200and1200InitialPositionis also interpreted within200 .. 1200
If RangeMin and RangeMax are both set to 0, no separate scaling is active. In this case, 0 .. MaxTravel is automatically used internally.
AudioDrive2Point – Audio Settings:
| Property | Type | Description |
|---|---|---|
| AudioDrive2Point.Enable | TRUE/FALSE | Activates audio output during movement. |
| AudioDrive2Point.ClipNameToMax | Text | File name with an MP3 extension for the movement to the maximum position. |
| AudioDrive2Point.ClipNameToMin | Text | File name with an MP3 extension for the movement to the minimum position. |
| AudioDrive2Point.Loop | TRUE/FALSE | TRUE: The audio file plays in a loop. |
| AudioDrive2Point.Volume | Number (0.0–1.0) | Volume of the audio output. |
| AudioDrive2Point.Pitch | Number (0.0–1.0) | Pitch of the audio output. |
Create a folder named Audio in the project folder, and then copy all audio files in MP3 format into this folder.
BodyBehavior – Physics Settings:
These settings are only relevant when: MovementMode = Physics
In most cases, the default values for BodyBehavior can be retained. Only adjust these values if the movement is erratic or if the target position is not reached reliably.
| Property | Type | Description |
|---|---|---|
| BodyBehavior.Stiffness | Number (Float) | Stiffness of the physics-based drive. Higher values result in a faster response toward the target position. Default=10000 |
| BodyBehavior.Damping | Number (Float) | Damping of the drive. Higher values reduce overshoot but slow down the movement. Default=1 |
| BodyBehavior.MaxForce | Number (Float) | Maximum force of the drive. If the value is too low, the target position may not be reached. Default=10000 |
| BodyBehavior.MaxVelocity | Number (Float) | Maximum joint velocity. Default=10000 |
| BodyBehavior.JointFriction | Number (Float) | Friction of the joint. Higher values slow down the movement and reduce overshoot. Default=1 |
| BodyBehavior.Mass | Number (Float) | Mass of the moved body. Higher values make the movement more sluggish. Default=1 |
| BodyBehavior.LinearDampingBody | Number (Float) | Linear damping of the body. Affects how quickly the movement comes to rest. Default=1 |
| BodyBehavior.AngularDampingBody | Number (Float) | Angular damping of the body. Affects how quickly rotations come to rest. Default=1 |
🔌Drive-2-Point
The 3D object should simulate a simple linear drive (e.g., a pneumatic cylinder) that can move between two positions. The movement of this drive cannot be blocked by another object (Kinematic drive). The position in the CAD file is always the min position.
| Property | Type | Description |
|---|---|---|
| DemoMode | TRUE/FALSE | Executes automatic demo motion between Min and Max. |
| Enable | 🏷️ Symbol (Bool, Output) | Activates the drive. |
| LinkedObjects | Number (readonly) | Number of linked 3D objects moved by this drive. |
| Axis | X, Y, Z, Xn, Yn, Zn | Local motion axis of the drive. |
| ToMax | 🏷️ Symbol (Bool, Output) | Moves the drive to the maximum position. |
| ToMin | 🏷️ Symbol (Bool, Output) | Moves the drive to the minimum position. |
| ToInitial | 🏷️ Symbol (Bool, Output) | Moves the drive to the initial position. |
| IsAtMax | 🏷️ Symbol (Bool, Input) | TRUE when the maximum position is reached. |
| IsAtMin | 🏷️ Symbol (Bool, Input) | TRUE when the minimum position is reached. |
| IsAtInitial | 🏷️ Symbol (Bool, Input) | TRUE when the initial position is reached. |
| DurationInSeconds | 🏷️ Symbol or number (analog, output) | Time in seconds for movement from Min to Max. (v1.4.5) |
| StrokeLength | Number (1–10000) | Stroke length in mm. |
| InitialPosition | Number (0–StrokeLength) | Start position at the beginning of the simulation. |
| NegateIsMinMax | TRUE/FALSE | TRUE: NC behavior of IsAtMax, IsAtMin. (v1.4.7) |
| UpdatePhysics | TRUE/FALSE | TRUE: Updates physics during movement – only enable if collisions don't behave correctly. |
| ImpulseBehavior | TRUE/FALSE | TRUE: Impulse behavior – a single edge is enough to trigger movement. |
| SpringReturnBehavior | TRUE/FALSE | TRUE: Spring behavior – automatic return when no signal is applied. |
| AudioDrive2Point.Enable | TRUE/FALSE | Enables sound playback during movement. |
| AudioDrive2Point.ClipNameToMax | Text | Filename with extension when moving to maximum position. |
| AudioDrive2Point.ClipNameToMin | Text | Filename with extension when moving to minimum position. |
| AudioDrive2Point.Loop | TRUE/FALSE | TRUE: Loops the audio clip. |
| AudioDrive2Point.Volume | Number (0.0–1.0) | Volume of the audio playback. |
| AudioDrive2Point.Pitch | Number | Pitch of the audio playback. |
🔌Drive-2-Point-Rotation
The 3D object simulates a simple rotary drive that can rotate between two angles (e.g., a swivel cylinder). The movement of this drive cannot be blocked by another object (Kinematic drive). The origin of the object must be correctly defined in the CAD system, as the rotation occurs around this point. The rotation in the CAD file is always the min position.
| Property | Type | Description |
|---|---|---|
| DemoMode | If demo mode is activated, a demo movement between min and max is executed. | |
| Enable | 🏷️ Symbol (Bool, Output) | Activates the drive. |
| Axis | X, Y, Z, Xn, Yn, Zn | Local rotation axis of the drive. |
| ToMax | 🏷️ Symbol (Bool, Output) | Moves the drive to the maximum rotation (end angle). |
| ToMin | 🏷️ Symbol (Bool, Output) | Moves the drive to the minimum rotation (start angle). |
| ToInitial | 🏷️ Symbol (Bool, Output) | Moves the drive to the initial rotation. |
| IsAtMax | 🏷️ Symbol (Bool, Input) | TRUE, when the end rotation (Max) is reached. |
| IsAtMin | 🏷️ Symbol (Bool, Input) | TRUE, when the start rotation (Min) is reached. |
| IsAtInitial | 🏷️ Symbol (Bool, Input) | TRUE, when the initial rotation is reached. |
| DurationInSeconds | 🏷️ Symbol or number (analog, output) | Time in seconds for the rotation from min to max angle. (v1.4.5) |
| MaxDegree | Number (1–360) | Rotation angle of the drive in degrees. |
| DegreeInitial | Number (0–360) | Start angle at simulation start. |
| SpringReturnBehavior | TRUE/FALSE | TRUE: Drive moves to the starting position if ToMax=false. |
| ImpulseBehavior | TRUE/FALSE | TRUE: Impulse behavior – resets after brief activation. |
| NegateIsMinMax | TRUE/FALSE | TRUE: NC behavior of IsAtMax, IsAtMin. (v1.4.7) |
| UpdatePhysics | TRUE/FALSE | TRUE: The physics are updated during movement. Only enable this feature if you see, that collisions are not working properly. |
| LinkedObjects | Number (readonly) | Number of linked 3D objects moved by this drive. |
| AudioDrive2Point.Enable | TRUE/FALSE | Enables sound playback during movement. |
| AudioDrive2Point.ClipNameToMax | Text | Filename with extension when moving to maximum position. |
| AudioDrive2Point.ClipNameToMin | Text | Filename with extension when moving to minimum position. |
| AudioDrive2Point.Loop | TRUE/FALSE | TRUE: Loops the audio clip. |
| AudioDrive2Point.Volume | Number (0.0–1.0) | Volume of the audio playback. |
| AudioDrive2Point.Pitch | Number | Pitch of the audio playback. |
🔌Drive-2-Point-Physic
Physically based drive (e.g., pneumatic) with defined force. If the force is insufficient, the movement is stopped (Physics drive).
| Property | Type | Description |
|---|---|---|
| Enable | 🏷️ Symbol (Bool, Output) | Activates the drive. |
| DemoMode | ” | Test mode. |
| DriveMode | Selection field | Movement mode: linear or rotational. |
| ToMax | 🏷️ Symbol (Bool, Output) | Movement to maximum. |
| ToMin | 🏷️ Symbol (Bool, Output) | Movement to minimum. |
| IsAtMax | 🏷️ Symbol (Bool, Input) | TRUE = Max reached. |
| IsAtMin | 🏷️ Symbol (Bool, Input) | TRUE = Min reached. |
| CurrentPosition | 🏷️ Symbol (Analog, Input) | Current position. |
| Axis | X, Y, Z, Xn, Yn, Zn | Movement axis. |
| DrivePower | Number | Drive force. |
| MovementRange | Number (mm) | Movement range. |
| StartingPoint | Number (mm) | Starting position. |
| BodyPhysicSettings | Object | Physics settings (e.g., mass, damping). |
| AudioDrive2Point | Object | Audio settings. |
🔌DriveLink
Links an object to another drive. With this skill, a 3D object can be coupled to another 3D object.
| Property | Type | Description |
|---|---|---|
| LinkedToDriveId | Number | ID of the linked drive. |
| ReactTo | MovementOrRotation | Determines what the linked object reacts to: Movement (position change) or Rotation (rotation). |
| TranslateTo | MovementOrRotation | Determines how the detected movement is transferred to the linked object: as Movement (translation) or Rotation (rotation). |
| Factor | Number | Scales the transferred movement. |
| InvertDirection | TRUE/FALSE | TRUE: Reverses the direction of movement. |
--neue beschreibung START--
How it works: The {DriveLink} skill couples a 3D object to an existing drive without requiring any dedicated operands from the PLC. The linked object follows the movements or rotations of the source drive. LinkedToDriveId specifies the ID of the {DriveUniversal} drive to be followed.
Evaluating the source drive (ReactTo): With ReactTo you specify what the linked object reacts to: Movement (position change of the drive) or Rotation (rotation of the drive).
Translation (TranslateTo): With TranslateTo you determine how the detected movement is transferred to the linked object: as Movement (the object is moved) or as Rotation (the object is rotated). This allows, for example, the linear motion of a cylinder to be translated into a rotation, or vice versa the rotation of a motor into a linear motion.
Factor and direction (Factor, InvertDirection): Factor scales the transferred movement – a factor of 2 means the linked object moves twice as far or as fast as the source drive. InvertDirection reverses the direction of movement.
Prerequisite: The source drive must be an object with the {DriveUniversal} skill whose Id matches LinkedToDriveId. Without a valid link, no movement is transferred.
Physics: A kinematic rigid body is automatically assigned to the linked object so that the movement also works with collision detection.
-- neue Beschreibung ENDE--
🔌EndlessRotation
Object rotates endlessly when the signal is active. The origin of the object must be correctly defined in the CAD system, as the rotation occurs around this point.
| Property | Type | Description |
|---|---|---|
| Clockwise | 🏷️ Symbol (Bool, Output) | Rotates clockwise. |
| CounterClockwise | 🏷️ Symbol (Bool, Output) | Rotates counter-clockwise. |
| RotationSpeedRPM | 🏷️ Symbol (Number, Output) | Rotational speed in RPM. |
| CurrentAngle | 🏷️ Symbol (Number, Input) | The current angle (0...360) (v1.4.5) |
| Axis | X, Y, Z, Xn, Yn, Zn | Axis of rotation. |
| UpdatePhysics | TRUE/FALSE | TRUE: The physics are updated during movement. Only enable this feature if you see, that collisions are not working properly. |
| GenerateDrillingChips | TRUE/FALSE | TRUE: Drilling chips are generated upon collision, falling out of the workpiece during drilling. (v1.5.3) |
| DrillingChipsPauseMs | Int-Value | Adjusts the amount of chips generated. The higher the value, the fewer chips are produced. (v1.5.3) |
--neue beschreibung START--
How it works: The {EndlessRotation} skill rotates an object endlessly around a selectable axis (X, Y, or Z) as long as the PLC provides the corresponding signal. The direction of rotation is controlled via the two Boolean outputs Clockwise and CounterClockwise. The rotational speed is set via the analog value RotationSpeedRPM (RPM). The current angle (0–360°) is reported to the PLC in every cycle via CurrentAngle, allowing the PLC to monitor the position of the rotating object.
Axis of rotation: The rotation is performed around the origin (pivot) of the object. The origin must therefore be defined correctly in the CAD system – e.g., at the center of a spindle or shaft.
Physics update (UpdatePhysics): By default, the object is rotated purely kinematically, which saves resources. If UpdatePhysics is enabled, a rigid body is automatically assigned to the object so that the rotation is included in the physics simulation. Enable this option only if objects do not respond correctly when touching the rotating object (e.g., not being carried along or not being blocked).
Drilling chips (GenerateDrillingChips): If GenerateDrillingChips is enabled, the rotating object produces small metal chips upon contact with a workpiece – ideal for simulating a drilling or milling process. DrillingChipsPauseMs controls the time interval at which chips are generated: the higher the value, the fewer chips are created. The chips adopt the material of the touched workpiece and disappear automatically after a short time.
Direction logic: If Clockwise and CounterClockwise are TRUE at the same time, clockwise rotation has priority. Interlock the two directions in the PLC program to avoid unwanted behavior.
Physics and chips: When GenerateDrillingChips is enabled, the object's collider is automatically disabled during rotation so that the workpiece is not physically blocked – chip generation then runs via trigger detection.
-- neue Beschreibung ENDE--
🔌ExactPosition
The object with this skill is the target position in the plane (X/Z). Other objects are moved exactly to this position. Suitable for placing an object precisely. The target position corresponds to the origin of the CAD object.
| Property | Type | Description |
|---|---|---|
| Execute | 🏷️ Symbol (Bool, Output) | Activation of the function. |
| ExecuteOnHiEdge | TRUE/FALSE | TRUE: Reaction only on rising edge. |
| MovementDuration | Number (s) | Duration of movement upon activation. |
| DurationInMs | Number (ms) | Alternative time specification in milliseconds. |
--neue beschreibung START--
How it works: The {ExactPosition} skill acts as a target position: objects touching this area are automatically aligned exactly to the position of the skill object – in the X/Z plane. The height (Y position) of the object remains unchanged, so the object is not pushed through a table, for example. The target position corresponds to the origin (pivot) of the object with the skill. A trigger collider covering the area of the skill object is created automatically for detection.
Trigger behavior (ExecuteOnHiEdge): With ExecuteOnHiEdge = TRUE, the skill only responds to a rising edge of the Execute operand: the object is then moved smoothly and animated to the target position over the configurable duration (MovementDuration in seconds). With ExecuteOnHiEdge = FALSE, the object is smoothly pulled toward the target position (interpolated) for as long as Execute is TRUE. In this mode, DurationInMs can limit the time after the rising edge during which positioning is still active – after that, no more correction takes place until a new pulse arrives.
Prerequisite: The object to be positioned must have a rigid body (the {Player} skill); otherwise it will not be moved. For nested objects, the physical component of the parent object is used.
Typical application: Precise positioning of workpieces, e.g., in front of a machining station, or aligning objects that were placed imprecisely by a conveyor belt.
-- neue Beschreibung ENDE--
🔌Joint
Represents a physical joint (e.g., hinge or linear). The origin of the object must be correctly defined in the CAD system, as the rotation (HingeJoint) occurs around this point.
| Property | Type | Description |
|---|---|---|
| Axis | X, Y, Z, Xn, Yn, Zn | Movement axis of the joint. |
| JointType | HingeJoint, LinearJoint | Type of joint. |
| UseLimits | TRUE/FALSE | Activates limits. |
| LimitMin | Number | Minimum range of motion. |
| LimitMax | Number | Maximum range of motion. |
| UseSpring | TRUE/FALSE | Activates spring force. |
| SpringDamper | Number | Damping of the spring. |
| SpringSpring | Number | Spring force. |
| SpringTargetPosition | Number | Target position of the spring. |
| CurrentAngle | 🏷️ Symbol (Analog, Input) | Current angle of the joint. |
--neue beschreibung START--
How it works: The {Joint} skill creates a physics-based joint between two objects that is calculated by the physics engine. Two joint types are available: HingeJoint (revolute joint, e.g., for flaps, doors, or swivel arms) and LinearJoint (linear guide, e.g., for slides or telescopic axes). The pivot or movement point is always at the origin (pivot) of the object – this must therefore be defined correctly in the CAD system.
Object hierarchy: The joint connects the object with the skill to exactly one child object. The child must have a rigid body (the {Player} skill), because the movement is calculated by the physics engine. The child then moves relative to the parent object. If the skill object has no child, the object itself is used as the moving part and is connected to the (static) world via the joint – its position remains fixed, only the movement around the origin is possible. If there are multiple children, an error message is issued.
Range of motion (UseLimits): With UseLimits, the range of motion of the joint is limited. For the HingeJoint, LimitMin and LimitMax specify the minimum and maximum angles in degrees. For the LinearJoint, the maximum linear extension is defined by LimitMax in millimeters; the movement is restricted to the selected axis and all other axes are locked.
Spring properties (UseSpring): With UseSpring, a spring acts on the joint: SpringSpring defines the spring force (strength), SpringDamper the damping, and SpringTargetPosition the target position to which the spring pulls the joint back. This allows, for example, self-closing flaps or return mechanisms to be simulated.
Feedback (CurrentAngle): Via CurrentAngle, the current state of the joint is reported back to the PLC – for the HingeJoint the angle in degrees, for the LinearJoint the position in millimeters. This allows the PLC to monitor, for example, end positions or evaluate positions.
Object structure: Make sure that the moving child object has a rigid body (the {Player} skill) and that the joint object has exactly one child. If the structure is invalid, the skill reports an error in the skill window and no joint is created.
Define the axis: The movement axis (Axis) refers to the local axis of the joint object. Orient the object in the CAD system so that the desired direction of movement corresponds to the local X, Y, or Z axis.
-- neue Beschreibung ENDE--
🔌KeepInitRotation
This skill ensures that an object permanently retains its original rotation. It can be used, for example, to align a swivel cylinder so that it always points toward the table or floor, even when it moves. Example: plclab3dstudio.com
| Property | Type | Description |
|---|---|---|
| Enable | 🏷️ Symbol (Analog, Output) | Enables or disables the skill. |
--neue beschreibung START--
How it works: The {KeepInitRotation} skill ensures in every physics step that the object returns to its original rotation (as at the start of the simulation) as long as the Enable operand is TRUE. Other skills or physical influences that would rotate the object are thereby compensated – the object permanently retains its orientation but can still be moved in position.
Original rotation: The rotation the object has at the start of the simulation is used as the reference. Therefore set the desired orientation in the CAD model or in the scene before starting.
Typical application: Swivel cylinders or grippers that move but should always remain horizontally aligned (e.g., pointing toward the table or floor).
-- neue Beschreibung ENDE--
🔌Lamp
The 3D object should be an indicator light.
| Property | Type | Description |
|---|---|---|
| DemoMode | If demo mode is on, the lamp will blink to test the color tone. | |
| CopySettingsFromId | Number | ID of another lamp object from which settings can be copied. |
| Color | NONE, WHITE, RED, YELLOW, GREEN, BLUE, GRAY | Color of the lamp |
| Address | 🏷️ Symbol (Bool, Output) | Link to a symbol that turns the lamp on or off. |
The 3D object for a lamp does not require a material, as the color is determined by the Color property.
--neue beschreibung START--
How it works: The {Lamp} skill turns a 3D object into an indicator light controlled by the PLC. When the Address operand is TRUE (and the voltage is switched on), the object lights up in the selected color; otherwise it appears in the off state. The color is set via the Color property (red, yellow, green, blue, white/gray). Ready-made material pairs (on/off) are used internally for rendering – the object itself therefore does not require its own material.
Copying settings (CopySettingsFromId): With CopySettingsFromId, the lamp settings can be adopted from another lamp object by specifying its ID. Changes at the source are automatically transferred to all assigned lamps – useful for plants with multiple identical indicator lights.
Demo mode (DemoMode): In demo mode, the lamp blinks so that color and position can be checked visually. Demo mode is only possible in stop mode, because otherwise the lamp is controlled by the PLC.
Tag in the object name: Alternatively, the color can already be prepared in the Blender object name, e.g. {LAMP}%A4.0% {RED} – PLC-Lab 3D Studio automatically detects the color specification and the operand. The lamp does not require its own material.
NC behavior: If the lamp object is tagged with {NC} in the name, the state of the operand is displayed inverted.
-- neue Beschreibung ENDE--
🔌LinkUnlinkPlayer
Connects or disconnects two or more objects. The connection can optionally be synchronized on individual axes and assigned a customizable force.
| Property | Type | Description |
|---|---|---|
| Execute | 🏷️ Symbol (Bool, Output) | Starts the linking or unlinking process. |
| LinkOrUnlink | Link, Unlink | Defines whether the objects should be connected (Link) or disconnected (Unlink). |
| LinkForce | Number (Float) | Connection strength: Higher values result in a stronger bond; lower values allow easier separation under force. |
| SyncX | TRUE/FALSE | Synchronizes the position on the X axis. |
| SyncY | TRUE/FALSE | Synchronizes the position on the Y axis. |
| SyncZ | TRUE/FALSE | Synchronizes the position on the Z axis. |
--neue beschreibung START--
How it works: The {LinkUnlinkPlayer} skill physically connects or disconnects objects that have the {Player} skill. When at least two player objects are within the area of the skill object (automatically created trigger collider) and the Execute operand is triggered, they are joined via a fixed joint. The first detected object acts as the leading body to which all others are coupled. With LinkOrUnlink = Unlink, existing connections between the detected objects are released again.
Connection strength (LinkForce): The value of LinkForce determines how firmly the objects are connected. At high values (default: infinite), the connection withstands any force; at lower values, the connection can break automatically under strong force.
Synchronizing the position (SyncX, SyncY, SyncZ): Before connecting, the positions of the objects can be aligned with those of the leading body – separately for the X, Y, and Z axes. This avoids sudden forces caused by crookedly positioned objects when connecting, but can also be used deliberately to align objects when connecting.
Prerequisite: The objects to be connected need the {Player} skill and each a rigid body. At least two player objects must be within the trigger area at the same time for a connection to be established.
Trigger behavior: The connection or disconnection is executed on a rising edge of Execute, not by a persistent TRUE signal.
-- neue Beschreibung ENDE--
🔌LiquidContainer
Container for liquids with level sensors and valves.
| Property | Type | Description |
|---|---|---|
| LiquidColorString | Text | Color value in HTML format (e.g., #0000FF). |
| LiquidColor | Color value | Color of the liquid (e.g., blue). |
| Topology | Cube, Cylinder, … | Shape of the container. Set to 'Irregular'. |
| Detail | Simple, ... | Level of detail for rendering. |
| StartingFillLevelPercent | Number (0–100) | Initial fill level in percent. |
| FillLevelMin | Number | Minimum fill level. |
| FillLevelMax | Number | Maximum fill level. |
| CurrentFillLevel | 🏷️ Symbol (Analog, Input) | Current fill level (Min - Max). |
| CurrentFillLevelPercent | 🏷️ Symbol (Analog, Input) | Current fill level in percent (0-100). |
| SupplySlots (List) | Valve: 🏷️Symbol (Number, Output), FlowRate: 🏷️ Symbol (Number, Output) 🏷️Factor: (Number, Output) | Inflows. Valve on/off, liquid quantity per unit of time, amplification factor. |
| DrainSlots (List) | Valve: 🏷️Symbol (Number, Output), FlowRate: 🏷️ Symbol (Number, Output) 🏷️Factor: (Number, Output) | Outflows. Valve on/off, liquid quantity per unit of time, amplification factor. |
| Sensors (List) | SensorTarget: 🏷️Symbol (Bool, Input), IsNCSensor: True/False, SensorTriggerLevel: Number, SensorTriggerLevelPercent: Number between 0-100 | Fill level sensors. Target operand, normally closed/open, absolute trigger value or trigger value in percent. Sensor provides True if either condition is met. |
--neue beschreibung START--
How it works: The {LiquidContainer} skill simulates a liquid container with a realistic fill level display. When the skill is assigned, a liquid volume display (liquid volume effect) is added automatically to the 3D object – the object does not need to contain any liquid geometry itself. The liquid is rendered in the configured color; when the fill level changes, a slight wave or turbulence motion of the liquid surface is generated, which calms down again after a short time.
The fill level is managed internally as a floating-point value and is always limited to the range between FillLevelMin and FillLevelMax. As a result, the container can neither overflow nor fall below the minimum level. The current fill level is written back to the CurrentFillLevel (absolute) and CurrentFillLevelPercent (in percent, 0–100) operands in every PLC cycle. The PLC can evaluate these values like real analog signals of a level sensor.
Inflow and outflow (valves): For each entry in SupplySlots (inflow) and DrainSlots (outflow), the following applies:
- Valve is a Boolean output of the PLC. Liquid only flows when this is TRUE.
- FlowRate is a numeric value (output of the PLC) that determines the amount of liquid per unit of time.
- Factor is an internal amplification factor that allows the speed of inflow or outflow to be scaled additionally.
The rate of change of the fill level results from the sum of all active inflows minus the sum of all active outflows. Multiple inflow and outflow slots can be defined in parallel, e.g., to fill a container via two different supply lines.
Fill level sensors: Each entry in the Sensors list describes a level switch that sets a Boolean input of the PLC:
- The sensor reports TRUE as soon as the fill level (in percent) reaches or exceeds the SensorTriggerLevelPercent value or the absolute SensorTriggerLevel value (OR combination of the two conditions).
- With IsNCSensor, the sensor can be configured as normally closed (NC); the signal is then output inverted.
- In this way, for example, full level, minimum level, or intermediate levels can be mapped without placing separate sensor objects in the 3D model.
Scaling of analog values: Since the fill level is processed internally as a floating-point value, even very small inflow and outflow quantities are possible, even if the PLC processes the fill level as an INT. Make sure that the value range used in the PLC program (e.g., 0–1000) matches the configured range from FillLevelMin to FillLevelMax, and scale the values in the PLC program if necessary.
Filling speed: Via the Factor of the slots, you can speed up or slow down the simulation without changing the FlowRate supplied by the PLC. Small factors are suitable for realistically slow filling processes; larger factors reduce the waiting time in test cycles.
Testing sensors: If neither SensorTriggerLevel nor SensorTriggerLevelPercent is set to a sensible value for a sensor, the sensor may trigger immediately or never. Therefore check both trigger values: the percentage value refers to the fill level range 0–100%, the absolute value to the range from FillLevelMin to FillLevelMax.
-- neue Beschreibung ENDE--
🔌Magnet
Electromagnet with optional impulse behavior and sound.
| Property | Type | Description |
|---|---|---|
| OnOff | 🏷️ Symbol (Bool, Output) | Activation of the magnet. |
| Off | 🏷️ Symbol (Bool, Output) | Deactivation (in impulse mode). |
| PickWhenNotMoving | TRUE/FALSE (readonly) | TRUE = The workpiece is only gripped when the magnet is no longer moving. (V1.5.1) |
| ImpulseBehavior | TRUE/FALSE (readonly) | TRUE = only briefly active on edge. |
| NegateMagnet | TRUE/FALSE | Inverts the logic of the magnet. |
| UseAudioClip | TRUE/FALSE | TRUE = play sound on activation. |
| AudioClip | Text | Name of the audio file. |
--neue beschreibung START--
How it works: The {Magnet} skill simulates an electromagnet that can grip and release ferromagnetic workpieces. When a workpiece with the {Magnetic} skill touches the magnet while it is switched on, the workpiece automatically sticks to it. When the magnet is switched off, the workpiece is released again and falls down under gravity – unless it is supported. While the workpiece is held, it is physically coupled to the magnet (or, with robots, connected to the associated kinematics via a fixed joint); on release, the original physics properties are restored. The active magnet is additionally highlighted in color (bluish appearance), making the state clearly recognizable.
Gripping process: The magnet requires a trigger collider to detect contact; this is created automatically when the skill is assigned. The gripping process is triggered when the magnet is switched on and a magnetic object touches the magnet. Only one object can be held at a time. With PickWhenNotMoving, you can specify that the workpiece is only gripped when the magnet is no longer moving – this prevents workpieces from being dragged along uncontrollably during a movement.
Impulse behavior: Without ImpulseBehavior, the magnet state directly follows the OnOff operand (TRUE = on, FALSE = off). With ImpulseBehavior enabled, the magnet works like a flip-flop: a rising edge at OnOff switches the magnet on, an edge at Off switches it off again. Off is only evaluated in impulse mode.
Partner skill: The workpiece to be gripped must have the {Magnetic} skill; otherwise the magnet does not react to the collision.
Inverting the logic: With NegateMagnet, the logic of the magnet is inverted – the magnet is then active when the OnOff operand is FALSE. This is useful for sensors with normally closed contacts or inverted PLC logic.
Robot applications: If the magnet is part of a kinematics (e.g., a gripper on a robot), the coupling is automatically established via a fixed joint to the articulation body hierarchy. This ensures that the held workpiece is moved correctly together with the robot.
Sound: With UseAudioClip, a short sound (file name in AudioClip) can be played when a workpiece is gripped to accentuate the gripping process acoustically.
-- neue Beschreibung ENDE--
🔌Pusher
This skill allows you to move other objects that have the Pushable skill upon collision. Application: Creating drill holes.
This skill has no additional settings.
The Pusher skill is not intended for freely moving any object. It is used to specifically move an object with the Pushable skill through another object with the Pusher skill. A Pushable object can only be moved by a Pusher. The movement occurs upon collision. A typical use case is moving a drill hole cover in a workpiece to create the impression that a drill bit is removing material. To move entire workpieces, use DriveUniversal instead.
--neue beschreibung START--
How it works: The {Pusher} skill is purely a marker skill: it marks an object as a "pusher" that can push another object with the {Pushable} skill on collision. The object itself stays in its position while the Pushable object is pushed away in the direction of the collision. To detect the collision, a trigger collider is automatically added to the skill object.
The Pusher skill is not intended for freely moving any object. It is used to specifically move an object with the Pushable skill through another object with the Pusher skill. A Pushable object can only be moved by a Pusher. The movement occurs upon collision. A typical use case is moving a drill hole cover in a workpiece to create the impression that a drill bit is removing material. To move entire workpieces, use DriveUniversal instead.
-- neue Beschreibung ENDE--
🔌Pushable
If an object has the Pushable skill, it can be moved by other objects that have the Pusher skill when they collide. This skill has no additional settings.
🔌RobotKinematicsV2
Controls an articulated-arm robot with up to six axes. The robot can move to individual target positions defined in the CAD model or complete motion sequences made up of multiple waypoints. A movement can be triggered either by the general symbol Start and the selected ProgramNr, or by a dedicated start input defined in the WayPoint.
| Property | Type | Description |
|---|---|---|
| NumberOfAxes | Number (readonly) | Number of robot axes detected in the 3D model. |
| Enable | 🏷️ Symbol (Bool, Output) | Enables the robot. Default = 1 |
| Start | 🏷️ Symbol (Bool, Output) | Starts the selected robot target or waypoint program via ProgramNr. A rising edge is required. |
| Stop | 🏷️ Symbol (Bool, Output) | Stops the current robot movement while the symbol remains TRUE. |
| ProgramNr | 🏷️ Symbol (Number, Output) | Number of the robot target or waypoint program to move to. |
| TargetOfsX | 🏷️ Symbol (Number, Output) | Additional offset to the target position on the global X axis. The value is given in meters. |
| TargetOfsY | 🏷️ Symbol (Number, Output) | Additional offset to the target position on the global Y axis. The value is given in meters. |
| TargetOfsZ | 🏷️ Symbol (Number, Output) | Additional offset to the target position on the global Z axis. The value is given in meters. |
| Ready | 🏷️ Symbol (Bool, Input) | TRUE when the target position has been reached and the robot is ready for the next movement. |
| IsMoving | 🏷️ Symbol (Bool, Input) | TRUE while the robot is moving. |
| TargetOutOfRange | 🏷️ Symbol (Bool, Input) | TRUE when the requested target position is outside the reachable work area. |
| FollowTargetRotation | TRUE/FALSE | TRUE: In addition to position, the target object's rotation is also adopted by the TCP. |
| DemoMode | TRUE/FALSE | In stop mode, automatically drives through the available robot targets one after another. |
| ShowTargets | TRUE/FALSE | Shows the robot targets defined in the 3D model. |
| ShowTrail | TRUE/FALSE | Shows the movement trail of the TCP. |
| ShowOperatingRange | TRUE/FALSE | Visualizes the approximate working range of the robot. |
| ShowPretargets | TRUE/FALSE | Shows the pre-positioning points created by PreMoveRetractionDistance. |
| ShowWorkingHeight | TRUE/FALSE | Visualizes the configured working height when its value is greater than 0. |
| ColorRobotAxisObjects | TRUE/FALSE | Colors the detected robot axes while the skill settings are displayed. |
| Movement.DefaultDurationInSeconds | Number (seconds) | Default duration for movement to a robot target. |
| Movement.UseCircularTrack | TRUE/FALSE | TRUE: The TCP moves along a circular path from the start point to the target. The distance from the robot base affects the radius. |
| Movement.PreMoveRetractionDistance | Number | Distance of a pre-position before the actual target. This position is used when approaching and leaving the target. |
| Movement.WorkingHeight | Number | Defines a working height. The TCP first moves to this height and then to the actual target. |
| Waypoints | List | List of defined waypoint programs. Each entry can contain multiple robot targets. |
| Waypoints.Start | 🏷️ Symbol (Bool, Output) | Starts the targets of this waypoint program in sequence. |
| Waypoints.PrgNr | Number | Program number of the waypoint program. If set to a value greater than 0, it can also be started via the general Start symbol and ProgramNr. |
| Waypoints.StartForEveryTarget | TRUE/FALSE | TRUE: A new start pulse is required before each next target in the waypoint program. |
| Waypoints.UseLevelTriggeredStart | TRUE/FALSE | TRUE: A constant TRUE signal is sufficient to start; a rising edge is not required. |
| Waypoints.Targets | List | Contains the individual targets of the waypoint program. |
| Waypoints.Targets.TargetNr | Number | Number of the robot target defined in the CAD model. |
| Waypoints.Targets.DurationToTargetInSeconds | Number (seconds) | Movement duration to this target. |
| Waypoints.Targets.PauseInSecondsAfterMovement | Number (seconds) | Wait time after the target is reached. |
| Waypoints.Targets.PreMoveRetractionDistance | Number | Individual distance of a pre-position for this target. The pre-position is used when approaching and leaving the target. |
| RobotTargets | List (automatic, readonly) | Robot targets detected in the CAD model. The target number is determined from the object name of each target object. |
| RobotTargets.TargetPositionObject | Text (readonly) | Name of the detected target object. |
| RobotTargets.TargetPrgNr | Number (readonly) | Program number of the detected robot target. |
| Joints | List | List of detected robot axes, including axis direction, angle limits, and test functions. |
| Joints.Name | Text (readonly) | Name of the robot axis detected in the CAD model. |
| Joints.JointAxis | X, Y, Z | Local rotation axis of the joint. |
| Joints.UseLimits | TRUE/FALSE | Enables limiting of the allowable joint angle. |
| Joints.MinAngleDeg | Number (degrees) | Lower angle limit of the joint. |
| Joints.MaxAngleDeg | Number (degrees) | Upper angle limit of the joint. |
| Joints.CurrentAngle | Number (degrees, readonly) | Current angle of the joint. |
| Joints.TestRotationToMin | Button | Moves the axis briefly to the lower angle limit and then back to the initial position. |
| Joints.TestRotationToMax | Button | Moves the axis briefly to the upper angle limit and then back to the initial position. |
The robot is started via the Start symbol. Since feedback from the robot is not updated synchronously with the PLC program, the first step after starting should be to check whether the robot is actually moving. Once IsMoving returns TRUE, the Ready signal can then be queried. When Ready becomes TRUE, the robot has reached its target. Alternatively, the rising edge of Ready can be evaluated directly after the start signal. The rising edge also indicates that the robot has reached the target position and the movement is complete. Ready does not become TRUE if the robot cannot reach the target.
--neue beschreibung START--
How it works: The {RobotKinematicsV2} skill simulates an articulated-arm robot with up to six axes. The axes, the tool center point (TCP), and the target positions are fully detected from the 3D model: the joints are defined via axis tags ({x}, {y}, {z}) in the object names, and the TCP via the {tcp} tag. The robot targets are numbered target objects in the model. From the position of the target, a numerical IK solver (inverse kinematics) calculates the angles of the individual axes so that the TCP reaches the target. The movement is smooth (accelerating/decelerating), optionally along a circular path, via a defined working height, or via a pre-position, e.g., to approach a workpiece from above.
Control variants: A movement can be triggered in three ways: via the general Start symbol in combination with ProgramNr (target or waypoint program), via a dedicated Start input of a waypoint program, or via a waypoint program with a level-triggered start (UseLevelTriggeredStart). A waypoint program moves to several targets in sequence, with optional pauses and individual movement durations. Stop halts the current movement.
Axis monitoring and limits: For each detected joint, an allowable angle range can be set via UseLimits (MinAngleDeg/MaxAngleDeg). The current angle of each axis is tracked internally. Using the test buttons in the skill settings, each axis can be moved individually to its lower or upper angle limit to verify the model definition.
Diagnostics and visualization options: The options ShowTargets, ShowTrail, ShowOperatingRange, ShowPretargets, ShowWorkingHeight, and ColorRobotAxisObjects support setup and troubleshooting: they display the targets, the TCP movement trail, the working range, pre-positions, the working height, and the detected axes in color.
-- neue Beschreibung ENDE--
A detailed description of robot kinematics can be found here: Robot Kinematics
🔌RotateOnMovement
Rotation coupled to the movement of another object.
| Property | Type | Description |
|---|---|---|
| ReferenceObjectName | Text | Name of the object to whose movement it is coupled. |
| Speed | Number | Rotational speed. |
| Invert | TRUE/FALSE | TRUE = reverse direction of rotation. |
--neue beschreibung START--
How it works: The {RotateOnMovement} skill rotates an object depending on the movement of another object. No PLC operand is required – the rotation directly follows the observed position change of the reference object. A typical application is a conveyor belt with rotating rollers: the object with the skill (e.g., a roller) rotates in sync with the movement of the workpiece on the belt.
Observed object (ReferenceObjectName): Via ReferenceObjectName, the name of the object whose movement is observed is specified. The direction of rotation is automatically derived from the direction of movement of the reference object relative to its own orientation: when the object moves forward, the skill object rotates in one direction; on backward movement, it rotates in the opposite direction.
Rotation speed and direction (Speed, Invert): Speed determines how strongly the object rotates for a given movement distance – the value acts like a transmission ratio between path and rotation angle. Invert reverses the direction of rotation.
Specify the object name exactly: The name in ReferenceObjectName must exactly match the name of the object to be observed in the scene. Without a valid name, no rotation takes place.
Axis of rotation: The rotation is performed around the local axis of the skill object (X, Y, or Z). The origin of the object should therefore be located where the axis of rotation physically runs – e.g., in the center of a roller.
-- neue Beschreibung ENDE--
🔌ScaleSize
Scaling an object in the x/y/z direction. Can be used, for example, to fill a container with liquid. This skill is applied to an object that can scale other objects upon collision. Like an air pump. If an object should grow upward when being scaled”such as when simulating a liquid”the object’s origin (pivot point) must be positioned at the bottom. Otherwise, the object will scale in both directions, causing it to grow upward and downward at the same time. Example: plclab3dstudio.com
| Property | Type | Description |
|---|---|---|
| TargetCollisionType | Type | Here you can select the type of target object; the target object must have the same type set in the collider. |
| ScaleX | Yes/No | Should it be scaled in the X direction? |
| ScaleY | Yes/No | Should it be scaled in the Y direction? |
| ScaleZ | Yes/No | Should it be scaled in the Z direction? |
| Enable | 🏷️ Symbol (Bool, Output) | Activates the skill. |
| ScaleUp | 🏷️ Symbol (Bool, Output) | Enables scaling up. |
| ScaleDown | 🏷️ Symbol (Bool, Output) | Enables scaling down. |
| SpeedFactor | Number | Speed factor. |
--neue beschreibung START--
How it works: The {ScaleSize} skill changes the size of other objects as long as they touch the skill object – similar to an air pump. Via the Boolean outputs ScaleUp and ScaleDown, the PLC controls whether the target object is enlarged or reduced; Enable activates the skill as a whole. Scaling is continuous as long as the respective signal is present and the object remains in the contact area. SpeedFactor determines how fast the scaling is (e.g., 2 = twice as fast, 0.5 = half as fast).
Selecting the target objects (TargetCollisionType): So that not every touched object is scaled, TargetCollisionType specifies which sensor type the target object must have via the {Collider} skill (e.g., optical, capacitive, or inductive). Only objects with a matching collider type are modified.
Scaling axes (ScaleX, ScaleY, ScaleZ): The three switches determine in which directions the target object grows or shrinks. For example, a "liquid level" can be changed only in height while width and depth remain constant.
Pay attention to the origin: If the object should only grow upward (e.g., a liquid level in a container), the origin of the target object must be at its bottom end; otherwise it grows in both directions.
Simultaneous ScaleUp and ScaleDown: If both signals are TRUE at the same time, the effects cancel each other out or a residual effect remains – interlock the two outputs in the PLC program.
-- neue Beschreibung ENDE--
🔌ServoDrive
The 3D object simulates a linear drive that can move to any position within a defined range.
| Property | Type | Description |
|---|---|---|
| DemoMode | If demo mode is activated, a demo movement between min and max is executed. | |
| Enable | 🏷️ Symbol (Bool, Output) | Activates the drive. |
| StartMoving | 🏷️ Symbol (Bool, Output) | Starts the movement to the target position. |
| Ready | 🏷️ Symbol (Bool, Input) | TRUE, when the drive is ready for new commands. |
| IsAtMax | 🏷️ Symbol (Bool, Input) | TRUE, when maximum position is reached. |
| IsAtMin | 🏷️ Symbol (Bool, Input) | TRUE, when minimum position is reached. |
| IsMoving | 🏷️ Symbol (Bool, Input) | TRUE, as long as the drive is in motion. |
| TargetPosition | 🏷️ Symbol (Number, Output) | Target position in mm to which the drive should move. |
| CurrentPosition | 🏷️ Symbol (Analog, Input) | Current position of the drive in mm. |
| DurationInSeconds | 🏷️ Symbol or number (analog, output) | Time in seconds required for a movement. (v1.4.5) |
| DistanceInMM | Number (e.g., 20) | Maximum distance in mm that the drive can travel. |
| InitialDistanceInMM | Number | Initial position in mm at simulation start. |
| RangeMin | Number | Minimum allowed target position (for TargetPosition). |
| RangeMax | Number | Maximum allowed target position (for TargetPosition). |
| Axis | X, Y, Z, Xn, Yn, Zn | Direction of movement of the drive. Xn, Yn, Zn stand for the negative axis direction. |
| NegateIsMinMax | TRUE/FALSE | TRUE: NC behavior of IsAtMax, IsAtMin. (v1.4.7) |
| UpdatePhysics | TRUE/FALSE | TRUE: The physics are updated during movement. Only enable this feature if you see, that collisions are not working properly. |
| IsOffsetDrive | TRUE/FALSE | Activates offset mode: movement is relative to the current position. |
| IsOffsetModeBackwards | TRUE/FALSE | In activated offset mode: movement occurs in the negative direction. |
| TargetPositionSyncMode | TRUE/FALSE | If activated: The axis follows the target position, if the axis is enabled. Can be used when the position of the axis is calculated by the PLC: Virtual Axis from TIA PORTAL, Motion Control. (v1.4.5) |
| LinkedObjects | Number (readonly) | Number of linked 3D objects moved by this drive. |
🔌ServoDrive-Rotation
A drive with a freely definable target angle – ideal for rotating objects such as turntables, robot axes, or servo units. The origin of the object must be correctly defined in the CAD system, as the rotation occurs around this point.
| Property | Type | Description |
|---|---|---|
| DemoMode | ” | Activates demo mode for a preview without a PLC. |
| Enable | 🏷️ Symbol (Bool, Output) | Activates the drive. |
| Start | 🏷️ Symbol (Bool, Output) | Starts the movement to the target angle. A hi-edge is necessary. |
| Ready | 🏷️ Symbol (Bool, Input) | TRUE, when the drive is ready. |
| IsRotating | 🏷️ Symbol (Bool, Input) | TRUE, as long as rotation is active. |
| TargetAngle | 🏷️ Symbol (Number, Output) | Target angle in degrees. |
| CurrentAngle | 🏷️ Symbol (Analog, Input) | Current angle of the drive. |
| IsAtMax | 🏷️ Symbol (Bool, Input) | TRUE, when maximum angle is reached. |
| IsAtMin | 🏷️ Symbol (Bool, Input) | TRUE, when minimum angle is reached. |
| DurationInSeconds | 🏷️ Symbol or number (analog, output) | Time in seconds for the movement to the target angle. (v1.4.5) When MaxDegree>360°: Time for 1 revolution (v1.4.6) |
| MaxDegree | Number (1–36000°) | Maximum possible rotation angle. (v1.4.6) |
| DegreeInitial | Number (0–360°) | Start angle when the scene is loaded. |
| Axis | X, Y, Z, Xn, Yn, Zn | Axis of rotation (Xn = negative X-axis, etc.). |
| ShortestWay | TRUE/FALSE | TRUE = automatically choose the shortest direction of rotation. |
| NegateIsMinMax | TRUE/FALSE | TRUE: NC behavior of IsAtMax, IsAtMin. (v1.4.7) |
| UpdatePhysics | TRUE/FALSE | TRUE: The physics are updated during movement. Only enable this feature if you see, that collisions are not working properly. |
| LinkedObjects | Number (readonly) | Number of linked 3D objects. |
| AudioDrive2Point | Object | Audio settings (e.g., start/stop sounds). |
🚗 SimpleCar
(v1.4.2)
Controls a vehicle with basic driving and steering parameters and accelerator pedal control. Not suitable for complex vehicle physics. Can be used, for example, for traffic light control with vehicles that stop and start. The skill must be attached to the vehicle 3D object (chassis). The wheels of the vehicle must be available as child objects in the 3D model. There may also be other child objects (e.g. rear lights, windows, etc.).
The skill also requires these skills: Player and Collider.
The wheels must contain these strings:
- "FLW" for Front Left Wheel (front left wheel)
- "FRW" for Front Right Wheel (front right wheel)
- "RLW" for Rear Left Wheel (rear left wheel)
- "RRW" for Rear Right Wheel (rear right wheel)
Properties:
| Property | Type | Description |
|---|---|---|
| Id | Number (readonly) | Internal ID of the object. |
| Description | Text | User-defined description. |
| ObjectName | Text (readonly) | Name of the object in the scene. |
| Error | Text | Displays an error message if one occurs. |
| Enable | 🏷️ Symbol (Bool, Output) | Activates the car movement. |
| Axis | X, Y, Z, Xn, Yn, Zn | Forward movement axis of the car. |
| GasPedal | 🏷️ INT, Symbol (0–100, Output) | Controls driving speed. 0 = stop, 100 = full speed. |
| Steering | 🏷️ INT, Symbol (-45 - 45, Value, Output) | Steering angle or direction. |
| CurrentSpeedMMSec | 🏷️ INT, Symbol (Input) | Current speed in millimeters per second. |
| MaxDriveSpeed | Number | Maximum driving speed in mm/sec. |
| MaxAcceleration | Number | Maximum acceleration of the car. |
| MaxDeceleration | Number | Maximum braking/deceleration. |
| CountWheels | Number (readonly) | Number of wheels on the car. |
| WheelAxis | X, Y, Z, Xn, Yn, Zn | Axis around which the wheels rotate. |
| RotateWheels | TRUE/FALSE | Whether the wheels visually rotate. |
| Info | Text (readonly) | Additional info. |
--neue beschreibung START--
How it works: The {SimpleCar} skill moves a vehicle physically through the scene, controlled by the PLC via two analog values: GasPedal (0–100%) determines the target speed, Steering (−45 to +45) the steering angle. The vehicle accelerates and brakes with the configurable maximum values (MaxAcceleration, MaxDeceleration) – with GasPedal = 0, it coasts to a stop with the configured braking force. The current speed in mm/s is reported back to the PLC via CurrentSpeedMMSec. Steering is only possible while the vehicle is moving; slower vehicles steer more sharply.
Vehicle structure in the 3D model: The skill is attached to the chassis. The wheels are automatically detected via name markers in the child objects (FLW = front left, FRW = front right, RLW = rear left, RRW = rear right). Each detected wheel automatically receives a spherical collider. With RotateWheels, the wheels rotate visually according to the speed; WheelAxis defines their axis of rotation.
Physics: The movement is calculated by the physics engine, which requires the {Player} skill on the vehicle (it provides the physics component). The {Collider} skill provides collision detection. In traffic light controls and similar scenarios, vehicles can thus realistically stop, start, and react to obstacles.
-- neue Beschreibung ENDE--