Skip to content

Drives

A Drive moves its node and everything below it along or around one axis. It is the basis of every movement in a twin: a conveyor belt, a lifting table, a robot joint, a door.

A drive on its own moves at its target speed when commanded. A drive behaviour on the same node reads PLC signals to control when and how it moves, as a real cylinder, servo or conveyor motor would.

  1. In the Editor, select the node that holds all moving parts — usually an axis node, see Kinematics.
  2. Put the pivot where the part turns or slides from, for example with Pivot to Circle.
  3. Click Drive in Quick Edit. The drive starts as LinearX.
  4. Double-click the node in the hierarchy and set Direction in the property inspector.
  5. Use Drive Test in Quick Edit to jog the drive while editing. During a test run, use Jog − and Jog + in the inspector.

Your First Twin from CAD shows these steps on a robot arm.

SettingWhat it does
DirectionThe axis: LinearX/Y/Z to slide, RotationX/Y/Z to turn, Virtual for a drive that only computes a position and moves nothing
ReverseDirectionSwaps the positive direction
TargetSpeedSpeed in mm/s, or °/s for a rotary drive
UseAcceleration / AccelerationRamps the speed up and down instead of jumping to it (mm/s² or °/s²)
SmoothAcceleration / JerkRounds off the ramps (S-curve). Needs UseAcceleration
UseLimits / LowerLimit / UpperLimitRestricts the travel. Units are mm or °
JumpToLowerLimitOnUpperLimitWraps around at the limits instead of stopping — for a turntable that turns endlessly
StartPosition / OffsetWhere the drive starts, and the shift of its zero point
SpeedOverrideA factor on the speed of this one drive, multiplied with the global speed

The property inspector shows the units of a rotary drive in degrees automatically. Settings ▸ Visual ▸ Display ▸ Drive axis gizmo draws the axis, the travel range and the current position of the selected drive into the model.

Add a behaviour to a node that already has a Drive. A drive takes one behaviour that moves it; Position Switch only reads the position and can be added to any drive.

BehaviourTypical useMain signals
SimpleA motor with forward and backward commands — a conveyor, a jog axisForward, Backward, Speed
CylinderA pneumatic cylinder with two end positions, travel times and end-position feedbackOut, In, IsOut, IsIn
Destination MotorA servo axis that moves to a destination on a start signalStartDrive, Destination, IsAtDestination
Continous DestinationLike Destination Motor, but a new destination starts the move without a start bitSignalDestination, SignalIsAtDestination
SpeedA motor whose speed comes from a signalSignalTargetSpeed
Follow PositionAn axis that follows a position signal directly, such as an FMU outputPosition
GearFollows a master drive with a ratio — set MasterDrive and GearFactor—
Position SwitchSwitches a signal while the axis is inside given position rangesOutputSignal
Erratic PositionMoves randomly between two positions, for demos and tests—
SEWMovilink, Profidrive Speed, Profidrive Pos, Festo FHPP, Uni Drive Motor, Proportional ValveThe drive profiles of real devices, with their control and status wordsDevice-specific

A behaviour’s signal slots appear in the property inspector. Click Link signal for each slot, or drag a signal onto it. See Signal Binding. Destination Motor creates its standard signals automatically if you leave the slots empty.

The property inspector of the lift Lift01 in the Laser Welding Assembly Station: the Drive section with direction LinearY and limits from −350 to 0 mm, the Jog buttons, and below it the Drive_Cylinder section whose Out, In, IsOut and IsIn slots are linked to TIA signals

Signals control a drive with a behaviour, so Drive Test cannot jog it. Use the signals or a test run.

A Pulse Encoder on a drive node toggles a Boolean PLC input every time the drive has travelled another PulseIntervall (mm or °). It imitates an incremental encoder for a controller that counts pulses. Offset sets the position of the first pulse; 0 as interval switches it off.

An Energy Chain turns a rigid CAD cable carrier into a chain that moves with the axis. It has a straight run and a bend that travels at half the speed of the moving end. Its length stays constant.

Add it to the cable carrier node. Leave bend radius, link height and length at 0 to measure them from the CAD shape. If the bend is upside down, switch BendUp.