Nirtec Studio Forum

General Category => Machines Simulator => Topic started by: Ham on October 30, 2023, 02:58:30 AM

Title: UDC Programing
Post by: Ham on October 30, 2023, 02:58:30 AM
hey, all im trying to make a "porcupine" for board storage, it comes out flat on a conveyor, then is lifted by the prongs and rotates in to the vertical position for the cabbies to grab.

(I've included the file) essentially i want the green pol (pol8) to position once it gets to the end of the plane(or the red pole is @90 same deal) so it "replaces the red pole. it does it once, but i need it to reposition every time it gets to the end of the plane
usert.zip
Title: Re: UDC Programing
Post by: Ham on October 30, 2023, 04:12:52 AM
just to add, this is just a proof of concept, working out logic. not the final machine
Title: Re: UDC Programing
Post by: Ham on October 30, 2023, 04:17:06 AM
dammit, just noticed the file i sent has both poles red  ::)
Title: Re: UDC Programing
Post by: EasyPLC_Master on October 30, 2023, 09:46:17 AM
Is possible to do it in a different ways, directly by code, or more easily using the KeyFrame animator.
I attach you a very basic example how to do it using the KeyFrame animator , but only for a couple of bars, you can extend it for the rest.
Title: Re: UDC Programing
Post by: Ham on October 30, 2023, 09:10:57 PM
That's a much better way of doing it, thanks a lot mate, i appreciate it