This is what I know so far. The OS of the PLC is Windows CE and the PLC has IIS.
The example provided by the PLC manufacturer is based on C++ and uses an ADS.DLL, which is not available on the IPhone.
At this moment it seems that I would have to use AsyncSocket. However, there is one "problem" I think.
"The Cocoa API provides a handful of networking classes, suitable for downloading and uploading images and files. These classes support HTML, FTP, and other protocols, but cannot be used with application-specific protocols."
Perhaps I am in the category: application-specific protocols.
The questions I have at the moment are:
Do I need to use AsyncSocket or NSFileHandle, NSInputStream, and NSOutputStream?
What is the best way to communicate between the IPhone and a device running on Windows CE?
This is what I know so far. The OS of the PLC is Windows CE and the PLC has IIS.
The example provided by the PLC manufacturer is based on C++ and uses an ADS.DLL, which is not available on the IPhone.
At this moment it seems that I would have to use AsyncSocket. However, there is one "problem" I think.
"The Cocoa API provides a handful of networking classes, suitable for downloading and uploading images and files. These classes support HTML, FTP, and other protocols, but cannot be used with application-specific protocols."
Perhaps I am in the category: application-specific protocols.
The questions I have at the moment are:
Do I need to use AsyncSocket or NSFileHandle, NSInputStream, and NSOutputStream?
What is the best way to communicate between the IPhone and a device running on Windows CE?
Regards,
Timo202
You know, there is an app already present in the app store that is able to read online values from modbus and siemens protocol. You can try to contact the author: iPLC RW is the name of the application.
Anyhow, i think the best solution is to use BSD Berkley sockets.