PLC (Programmable Logic Controller)
File size: 4.04 MB
File type: pdf
Last download on: Sat Mar 18, 2017 10:56:12 AM
Possibilities to simulate control systems can be very useful. During the development of a control system, simulations can verify that the implemented algorithms work as expected. Smaller parts of the implementation can be tested before they are put together to a complete control system. In an existing plant simulation can be used for optimization of the control system and control parameters can be tuned without affecting the real process.
The main goal with this master thesis was to investigate if it was possible to establish communication between the Advant Control Builder and Matlab/Simulink. If that was possible it then were to be implemented in C++ code. We found it possible and have done a Gateway program that establishes the communication between the Advant Control Builder and Matlab/Simulink. To get the values continuously all the way to a running simulation in Simulink we also implemented some S-functions for reading and writing data in Simulink. The communication from the Advant Control Builder is handled with COM/DCOM and an OPCserver. We used an OPC-server developed by ABB. The Gateway that we have implemented handles five connections at each way. It is possible to add more connections but it requires quite a lot of changes in the code. We limited the number of connections to five in the beginning because we needed to have a limitation and thought that it was a good start to test how it worked. The question of how many connections that are possible and realistic did arise but we did not have time to investigate it. The communication between the Gateway and the OPC-server works satisfactory. Since we had to suspend the simulation in Simulink once every sample period, the communication between the Gateway and Matlab is blocked and this causes the communication to be too slow. A reason why we have not solved this problem is that we did not realize that the Matlab thread was suspended until the final phase of the thesis.
Bookmark or share this info on Google+ and leave comment at below :
People who downloaded this also viewed in this sites:
Programmable logic controllers (PLCs) are used in every aspect of industry to expand and enhance production. Where older automated systems would use...
PLC Programming Basics, In This Chapter. . . . — Introduction — Using Boolean Instructions — Using Timers — Using Counters — Using the...
PLC Connections 1 Cable Solutions for Omron PLCs 11 Cable Solutions for Multi-Vendor PLCs...
Leave comment :
"Communication between Matlab Simulink and ABB Advant Control Builder"
Related Free Files
Simatic S7 to Logix5000... - Download: 2528 times
SIMATIC S7200... - Download: 1604 times
Programmable Logic Controllers : Programming... - Download: 5316 times
MicroLogix 1100 Programmable Controllers... - Download: 459 times
FST Programming... - Download: 223 times
The FST PLC Operating System Kernel... - Download: 174 times
SYSMAC CP1L - CP1E Introduction Manual... - Download: 1228 times
Siemens S7-1200 Easy Book ... - Download: 531 times
PLC Start-Up and Maintenance... - Download: 1363 times
EtherNet IP Modules in Logix5000 Control... - Download: 453 times