Festo PLC with MATLAB.

7 Ansichten (letzte 30 Tage)
Maria Lopez
Maria Lopez am 8 Nov. 2012
Greetings,
My question is; how can I activate an output using tcpip to a festo PLC. Where maw0 modifies output bit and and 991 is the port.
My Code
t=tcpip('PLC's IP', 991) open(t) fwrite(t,maw0=255)
Thanks
ML

Antworten (0)

Kategorien

Mehr zu Get Started with Simulink PLC Coder finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by