Sign in to follow this  
Followers 0
Luchek

Matlab to M340 interface

2 posts in this topic

Hi guys,

I'm in the middle of a little university project, I'm attempting to implement a control system purely based on artificial intelligence. A neural network will be used to map the characteristics of a power plant. A fuzzy logic controller will be used instead of the conventional PID and finally a genetic algorithm will be used to tune the controller while the system is online. This is all simulated of course.

Each of those AI's will be developed in Matlab. Only problem with that is, is it outputs the code in C or C++ (From memory). I would have to convert this to structured text (Based on Pascal). So to circumvent this problem I thought I would just directly interface matlab to the PLC (Schneiders M340). 

My idea being, all the calculations are done in matlab which are then sent back to the PLC. However this presents me with a new problem of how I would be able to interface matlab to the PLC.

If anyone has experience with this sort of connectivity, any advice would be greatly appreciated.

Thank you in advance,
Luchek

Share this post


Link to post
Share on other sites

Maybe some opc driver available to do this? 

I know that in the BMXNOE cards it is possible to use SOAP to comm with windows programs. I have found very little reading material for this though

1 person likes this

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
Sign in to follow this  
Followers 0