News:

SMF - Just Installed!

Main Menu

Recent posts

#21
Machines Simulator / Write outputs in the PLC
Last post by emiliano - March 22, 2026, 10:11:48 PM
Hello,

I would like to know if it is possible to write directly to the outputs of the PLC (Siemens S7), whether they are real (Q0.0 to Q1.2) or virtual (Q3.0, Q3.1, ...).

It would be also desiderable to write virtuals inputs (I3.0, I3.1, I4.5,...).
#22
Machines Simulator / UDC - from OBJ - coordinates
Last post by emiliano - March 22, 2026, 10:08:04 PM
I'm trying to create a UDC from a 3D model made up of several components.
I previously imported this model into Unity, where I have access to the local axes of each component, so I was able to create an animation via script according to the logical sequence I wanted, using their position/rotation.

I'm trying to replicate this in Machines, but I'm running into the difficulty of having to use OBJ, and—as far as I understand—I don't have access to the local axes of each imported element.

Ideally, I think it might be better if FBX could be imported into Machines.
In any case, I'm stuck and don't know how to proceed, or if it's even possible to do what I want.
Let me explain: Scene with Element 1 at coordinates X1, Y1, Z1 and orientation RX1, RY1, RZ1; Element 2 at coordinates X2, Y2, Z2 and orientation RX2, RY2, RZ2; Element 3 at coordinates X3, Y3, Z3 and orientation RX3, RY3, RZ3.
a) I export the scene to OBJ. I import it into Machines. Then I click Edit Model and extract each element.
b) I export the elements separately to OBJ. I import them into Machines.

In both cases, a and b, the position of each of the elements obtained in the UDC is 0,0,0 and the rotation is 0,0,0.




#23
Machines Simulator / Re: Graph Code
Last post by EasyPLC_Master - March 19, 2026, 11:52:04 AM
No, but you can change the name of each I/O according to your needs in MS Editor -> Tools -> View/Hide I/O List and by clicking on the button for each I/O.
#24
Machines Simulator / Graph Code
Last post by baciocco - March 18, 2026, 11:26:56 PM
Can I configure I/O descriptions within the Graph Code interface as an alternative to using the IOManager script (e.g., IOManager.setOutputDesc(0,'Light1'))?
thank
#25
Troubleshooting / Re: Tank: How to create a leve...
Last post by cli13_emich - March 10, 2026, 02:26:34 PM
Thank you!  :o

I originally thought the reset controller shown in the picture would return a "1" once the condition is met.

I tested the reset controller and it works.

Thanks again.
#26
Troubleshooting / Re: Tank: How to create a leve...
Last post by EasyPLC_Master - March 10, 2026, 08:23:44 AM
You forgot to add the controller to reset the condition!:
You cannot view this attachment.
#27
Troubleshooting / Re: Tank: How to create a leve...
Last post by cli13_emich - March 09, 2026, 10:49:00 PM
Of course! Please see attached files for the simple machine I made for this debugging purpose. I also attached the Logix file I used for PLC operation using the emulator (in a link).  Logix Program File

In this example, once the tank fills to 300 liters, the drain gets activated. However, the drain doesn't turn off once tank level falls back below 300 liters.

Thanks!
#28
Troubleshooting / Re: Tank: How to create a leve...
Last post by EasyPLC_Master - March 09, 2026, 08:30:18 PM
There must be some error in your code/logic.
Can you share it so we can see where the problem is?
#29
Troubleshooting / Re: Tank: How to create a leve...
Last post by cli13_emich - March 09, 2026, 03:09:41 PM
Thank you for your reply!

A clarification to my question: I already sent the value to a variable and it's able to activate once the level meet the condition. However, it doesn't deactivate once the condition doesn't satisfy any more. Once it's turned on, it stays on no matter what happens next. That's where I am stuck at this moment.

Thanks!
#30
Machines Simulator / Re: Espabilado
Last post by Espabilado - March 06, 2026, 09:43:55 AM
Muy bien así lo haré muchas gracias y un saludo.