USMC_Engineer

TwinCAT 3.1 Sony Camera Control

1 post in this topic

New to the forum here, but have been a lurker for awhile.  I've been using TwinCAT 2 and 3 for several years now, and I'm pretty familiar with using them for most applications in my world.  I'm working on a personal project right now where I want to achieve wireless control of a Sony Camera.  Sony has developed an API that allows this through usage of HTTP POST with JSON.  I'll admit this is totally outside my wheel house and I'm uncertain on the best way to achieve this through TwinCAT 3.1. Beckhoff is developing a library currently, but that won't be released until the last quarter of this year.  Sony shows sample code but its for Smartphone OS platforms.  I'm wondering if I can integrate a Python project into Visual Studio somehow and then link my data structures some how?  

For those that are curious the control of the camera is for syncing my photos to a stepping linear motion. I'm using a Beckhoff EL7211 servo setup to run a Festo linear slide.  The camera will be mounted to the slide and I plan to use it mainly for moving time lapse photography.  I'm lucky that we had this hardware just laying around work :).  

Video of slide system

https://www.youtube.com/watch?v=BEHtblNpLK4

Sony API

https://developer.sony.com/develop/cameras/

Beckhoff library

https://www.beckhoff.com/TF6730/

 

Edited by USMC_Engineer
Add youtube video

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now