Author Topic: How to "mount" a sensor to a moving part of a machine  (Read 646 times)

Seabee

  • Newbie
  • *
  • Posts: 7
How to "mount" a sensor to a moving part of a machine
« on: July 20, 2022, 03:04:14 PM »
Ladies and Gentlemen,
I was wondering if anyone has added a sensor to an existing machine's moving part?

For example, I wanted to mount a photo-eye on the elevator in the 08 Stacker Example. In the editor, I added a sensor to the railing to detect that a box is present on the elevator.

It works fine until you move the elevator, the elevator moves but the sensor stays in its original location and doesn't stay attached to the elevator railing. Any ideas???

Seabee

EasyPLC_Master

  • Developer
  • Administrator
  • *****
  • Posts: 960
  • Nirtec
    • The EasyPLC Project
Re: How to "mount" a sensor to a moving part of a machine
« Reply #1 on: July 20, 2022, 03:46:36 PM »
Hi Seabee!

Normally for the machines you can design, is enough parenting the components in the Hierarchy tree in order to attach the child component with their parent.
But in this case, if you parent the sensor with the stacker,  the sensor is parenting with all the stacker not with the elevator component of the stacker.

I will update a new function in order could be possible to parent any kind of component with the stacker elevator, in this way could be possible to make the functionality you comment easily.

Please stay tuned for news about next release in our forum to update the new version.


Seabee

  • Newbie
  • *
  • Posts: 7
Re: How to "mount" a sensor to a moving part of a machine
« Reply #2 on: July 20, 2022, 04:55:05 PM »
Thank You!