Festo PLC with MATLAB.

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

Answers (0)

Categories

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

Tags

Asked:

on 8 Nov 2012

Community Treasure Hunt

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

Start Hunting!