Festo PLC with MATLAB.

2 次查看(过去 30 天)
Maria Lopez
Maria Lopez 2012-11-8
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink PLC Coder 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by