Translate Simulink model into CodeSys

3 views (last 30 days)
Daniel Guevara
Daniel Guevara on 3 Feb 2017
Answered: Ankit Bhatnagar on 8 Feb 2017
I am creating hydraulic systems in simulink and would like to recreate them in CodeSys. The system consist of a pressure relief valve, fixed orifice, fixed and variable pump. The system will be connected with an electric motor and again connected with a diesel engine. The objective of the simulation is compare the fuel consumption results of the electric motor system vs the diesel engine system. Is there any direct correlation and transfer between the two programs? Some of the components in the Simulink model are SimFluids plug ins such as a motor

Answers (1)

Ankit Bhatnagar
Ankit Bhatnagar on 8 Feb 2017
The Simulink PLC Coder is the MathWorks product which is used to generate IEC 61131-3 Structured Text for PLCs and PACs including CODESYS.
It does not currently support SimFluids and Hydraulics blocks mentioned but refer the following link for the list of supported blocks with PLC Coder.

Categories

Find more on Simulink PLC Coder in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!