You need to log in to create posts and topics.

Component request: linear actuator

Hi. I am experimenting with OpenPLC and SimulIDE together for didactics. Using OpenPLC editor v.3 I can create an hex file and than I can load this hex file on Arduino using SimulIDE. This is an economic manner to do practice with PLC programming. At school PLC is often used to implement automatisms with linear actuators in pneumatic systems. To simulate a such PLC program with OpenPLC/SimulIDE it would be good to have a component like linear actuator with these characteristics: two input signals A+ and A- in order to move the piston to right and to left and two output signals a+ and a- that go to HIGH respectively when the piston touches the right and the left endstops. I think properties of the linear actuator could be the length and the velocity of the piston and the positions of the endstops.

Best regards.

Massimo

 

You can try to build a scripted component.

Hi. I am trying to understand how to build a scripted component in order to realize the linear actuator but I didn't find how to create a scripted component with mechanical parts that can be moved. I thought to use the servo motor component like a model but I didn't find the as, mcu and package files of this component. Is there an example of a scripted component with moving parts that I can use to learn?

Massimo

Hi.

I'm not at my computer now, so I can't share any example, by now you can have a look at this discussion:
https://simulide.com/p/forum/topic/feature-request-custom-draw-scripted-component/

Thanks you. I will look at it.

Massimo

Hola Arcachofo.

No puedo encontrar las carpetas, y los archivos, Chart y Chartscript que tu muestras en el video.

Massimo

Hi Massimo.

I added some examples to the Github repo:
https://github.com/eeTools/SimulIDE-Examples

Have a look at SimulIDE-Examples/Examples_1.1.0/Scripted

Examples Chart and Tank_Level have graphical animations.
If you have any problem please let me know.

Thanks you.

Massimo