News:

SMF - Just Installed!

Main Menu

Connecting an element to an existing machine

Started by JSJ Controls, September 12, 2025, 05:32:04 PM

Previous topic - Next topic

JSJ Controls

I am trying to connect a dynamic element (element model: mechanical: squad2) to an existing machine. ( palletizer system: automatic box palletizer: turntable). I need the element to move with the turntable so that when it reaches an inductive sensor I can the know what position the turn table is in. I have tried changing some parameters with no luck. Please help.

EasyPLC_Master

You can do in this way:

1) The turntable has the Transf property, which returns information about the table's position and rotation. Then you can create a link between the dynamic component and the table so they move as if they were connected:

void Link(Transform t) -> links or parents the component with the passed component Transform object.

void UnLink() -> unlinks/deparent the component from their parent.