News:

SMF - Just Installed!

Main Menu

Make add 3 sensor to cilindre

Started by andrer1990, February 14, 2023, 06:35:38 AM

Previous topic - Next topic

andrer1990

Hello. I need to know how i add 3 sensors to cilindre.
Im not sure if It is posible with machines simulator because in the real Life you can do It. Add It on the real cilindre.
Thx

EasyPLC_Master

Yes of course!
Machines Simulator is a sandbox for automation, you can create 'almost' any component for automation simulation.

I assume you mean putting three detectors on the body of a cylinder to detect three positions. You can simulate this behavior by reading the position value of the cylinder piston and activating the PLC INPUTS signals based in their value.

andrer1990

Yes. I mean that.
How can i do It?
Using c# script?
Thxs

EasyPLC_Master

You can do it in so many ways, controllers, graph code or script code.
Here I attach you an example using graph code in a UDC cilinder, there are three sensors that detect the start, medium and end positions, changing the nodes you can change the behaviour.

andrer1990

Quote from: EasyPLC_Master on February 14, 2023, 12:58:38 PMYou can do it in so many ways, controllers, graph code or script code.
Here I attach you an example using graph code in a UDC cilinder, there are three sensors that detect the start, medium and end positions, changing the nodes you can change the behaviour.
Thxs mate i Will test It. I am new with machine simulator. Nice software to learn aboout automation systens

andrer1990

hi.
I have test it, but I'm not sure because it never stops if I put something in front.
check the picture.
i'm trying to do a poke yoke machine.
thanks


EasyPLC_Master

It depends the behaviour you want to replicate, in the case you want a realistic physics other type of moving functions must be used.