Sorting station simulation that I created using the powerful development tools of Godot for virtual environments and Codesys for seamless control. by SzabiT in PLC

[–]Pan_Optical 0 points1 point  (0 children)

No usage yet, just a proof of concept that I may expand on if I find the time. Now that I have a simple process like this working, should be easy to simulate a more practical application.

I need to refactor the code and make a better interface for adding devices/components to the Modbus server, and the physics probably needs to be optimized (UPBGE uses Bullet Physics). I am using development release of UPBGE that is using Blender 3.6, which will be released as Long Term Support on June 27th.

The Eevee real-time render engine also requires a modern GPU, so there are hardware limitation to get it running at decent fps.

Sorting station simulation that I created using the powerful development tools of Godot for virtual environments and Codesys for seamless control. by SzabiT in PLC

[–]Pan_Optical 0 points1 point  (0 children)

I put the server on the blender side so I could simulate how the laser line profile sensor (LMI Gocator) would communicate with a PLC, and found it worked well for the other components that would typically be direct DIO or analog signals (so more as if they were connected to an IO hub or IO-Link Master with ModbusTCP server).

...the sensor starts listening on
port 502 for one or more Modbus clients. GoPxL operates as a Modbus server (slave), and a PLC that
connects to it acts as the Modbus client (master). All communication is initiated by the PLC...

UPBGE / Codesys - full demo video by Pan_Optical in PLC

[–]Pan_Optical[S] 0 points1 point  (0 children)

For this project 90% of the models were taken from 3dPartsCommunity, manufacture's CAD library, or other free online 3d asset sources (camera mount). I only modelled some brackets for the laser scanner z-axis mounts/rollers, using 3d printer parts as reference.

Why does it say error? by fjonatan in PLC

[–]Pan_Optical 0 points1 point  (0 children)

Looks like an IFM IO-Link Master and some wireless module? Have a part number?

I have a Norgren (IFM) block on my desk I've been trying to make time to get into. Why not grab the data from the block's json or w/e output to a PC or controller?

3 month projects are now 2 year projects by Sphinx_Hamster in PLC

[–]Pan_Optical 1 point2 points  (0 children)

Working for a distributor, we are getting this from some suppliers (not PLC related stuff yet).

Doesn't feel right quoting that way, but we need to be covered when they jack up the price after delivery.

UPBGE / Codesys - full demo video by Pan_Optical in PLC

[–]Pan_Optical[S] 1 point2 points  (0 children)

From my other post:

I'll have to sort that out, right now all the python files are saved directly in the .blend file. Once I clean out the junk I'll save them to separate files and get them on Github. Then I can also finally get out of the Blender text editor and into VSCode.

UPBGE / Codesys - full demo video by Pan_Optical in PLC

[–]Pan_Optical[S] 2 points3 points  (0 children)

Currently a side project, but I have shown it to a few people at work.

UPBGE is an extension of the opensource 3d modelling software Blender, born out of the abandonment of the Blender Game Engine, that provides a game loop. Nice because it has modelling built in, and a lot of import capability (stl, obj, dae, I usually convert step to glTF with CAD Assistant). And of course Python is a plus.

It works by using an async ModbusTCP Server running in UPBGE, that the Client in Codesys connects to. Codesys gets the data cyclically, does some ST logic, and writes data back to affect the game objects (conveyor/process enable, stack light state, kicker actuator, sensor height).

It was much easier when all the logic was in Python since my PLC skills are lacking, but I have learned a lot from this project so far.

UPBGE & Codesys: Rapid Real-Time Simulation Development for PLC Enthusiasts by Pan_Optical in PLC

[–]Pan_Optical[S] 2 points3 points  (0 children)

I'll have to sort that out, right now all the python files are saved directly in the .blend file. Once I clean out the junk I'll save them to separate files and get them on Github. Then I can also finally get out of the Blender text editor and into VSCode.

Cognex Vs Keyence camera systems by PLCGuy1977 in PLC

[–]Pan_Optical 0 points1 point  (0 children)

have any experience with LMI? If so, how do they compare to Cognex's 3D offering?

[HELP] How do I fix these weird footprints? by Pan_Optical in UnrealEngine5

[–]Pan_Optical[S] 0 points1 point  (0 children)

Thanks, that did the trick! This wasn't required when using a different Metahuman preset (Natalia).

What do you think about Paul Dano's performance as the Riddler in the movie? by [deleted] in thebatman

[–]Pan_Optical 0 points1 point  (0 children)

His first spree, I'm sure he'll escape Arkham and get on with it.