how can i interface plc with simulink

how can i interface simulink code with external plc using opc toolbox.Do i need to create GUI

1 Comment

dear
it is only posssible with opc server.
u have to create tags of your plc on opc server like kepware opc server then u have to use opc explorer part of matlab.
u have to synchronize both of them which is a easy process.
then by usiing some opc commands
u also have install opc ua components on your system
it may help .
ii made successful communcatiion of plc tags to matlab simulink
plc was allen bradley mcrilogix 1400
u can follow ths link
i made plc interface with matlab simulink

Sign in to comment.

Answers (1)

Below link would very useful for your requirements:
Hope it helps!!!

1 Comment

Also, if you're specifically interested in the OPC Toolbox, looking at the "Examples and Webinars" section on the Product Page might help.

Sign in to comment.

Categories

Find more on Industrial Communication Toolbox in Help Center and File Exchange

Tags

Asked:

on 18 Sep 2012

Commented:

on 14 Sep 2019

Community Treasure Hunt

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

Start Hunting!