Alternative Ways to Control an Object using Plc S7 1200 Controller
Monika Rybczak1, Damian Radzimski2

1Monika Rybczak*, Department of Ship Automation, Gdynia Maritime University, Gdynia, Poland.
2Damian Radzimski, Department of Ship Automation, Gdynia, Maritime University, Gdynia, Poland.
Manuscript received on January 24, 2022. | Revised Manuscript received on February 11, 2022. | Manuscript published on February 28, 2022. | PP: 70-74 | Volume-11, Issue-3, January 2022 | Retrieval Number: 100.1/ijitee.C97480211322 | DOI: 10.35940/ijitee.C9748.0111322
Open Access | Ethics and  Policies | Cite | Mendeley | Indexing and Abstracting
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC-BY-NC-ND license (

Abstract: The paper concerns an alternative ways of object control using S7 1200 controller. Author’s solution is based on an external Matlab program with Simulink extension. Standard ways of controlling an object with the use of a controller to control and analyze the operation of this object use either the controller itself or a graphical representation of the system using an HMI operator panel. An alternative way of controlling a three-phase electrical motor using an external software Matlab with Simulink extension was invented and created in the university laboratory. Algorithm of controlling the object has been created in Matlab environment, through which it is possible to control the object and to read parameters of voltage, output current or even torque. The program is fully compatible with TIA Portal software, which uses TSEND_C and TRCV_C function blocks to exchange data with a PC running Matlab. The entire control process is based on the TCP protocol, while the object is connected through the inverter to the controller using the Modbus RTU protocol. A comparison of the presented solution with currently used solutions has been made. At the end of the article, all advantages and disadvantages of the discussed solution are presented, as well as personal comments on the solution. 
Keywords: PLC, Matlab, Simulink, Object System Control
Scope of the Article: Nano electronics and Quantum Computing