plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Connecting Siemens PLCSIM to Blender 3d-graphics software

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems
View previous topic :: View next topic  
Author Message
vika
Junior
Junior


Joined: 31 Jul 2015
Posts: 3
Location: Frankfurt

PostPosted: 31/07/2015 21:07    Post subject: Connecting Siemens PLCSIM to Blender 3d-graphics software Reply with quote

Connecting Siemens PLCSIM to Blender 3d-graphics software
Blender is open source GPL software
I use the COM-interface of PLCSIM (S7ProSim) to read and write data out of and into Plcsim
In Blender it is possible to use python as additional scripting language. I've written a small python-class which does the COM-interfacing to Plcsim.
You can add some trigger actions to Blender-objects. For example a "light barrier" object calls on collision a python function.. The function sets or resets a bit in the PLC.

I've uploaded two very simple demos with plcsim and blender to youtube:
http://www.youtube.com/watch?v=VpgmizDDM7E
http://www.youtube.com/watch?v=4XULbimzMxM

If you put some effort in your blender scenes, you could get some really nice simulations, as you can see here:
http://www.youtube.com/watch?v=4UdeiB0ZiwM
Back to top
View user's profile Send private message
mjay
Junior
Junior


Joined: 08 Nov 2012
Posts: 2
Location: UK

PostPosted: 14/08/2015 13:37    Post subject: Reply with quote

This is really interesting stuff and is something that my company is keen on, but has been put off by the high price many companies charge. I have done a lot of .Net to COM with PLCSIM but never looked at Blender and Python.

Are you happy to share your Python code for the COM interface as this is something I really want to explore having seen what is possible?

Cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro