PPI communication trough modems between Microwin(local) and PLC(remote) isn`t
the same as PLC to PLC communication.
Microwin accepts larger timeouts, beacuse it is the Master(initiator) in this communication.
A communication request initiated by a PLC trough NETR/NETW has a fixed timeout value, which is designed for a local communication (low distance -> small delays).
The possibility of PPI communication trough remote connections generally depends on:
phone line delay (e.g. bad intercontinental connetions with large delays(gaps))
<LI>modem delay (caused trough internal conversion, buffering)
Workaround:
1. Take a EM241 modem module on each side (master and slave). EM241 supports fixed
lines only.
(Any side could initiate the communication in this constellation, so master and slave
could change during runtime)
2. Take a EM241(master) and a GSM-TC35(slave) + PC/PPI cable(6ES7 901-3CB30-0XA0) in
multimaster mode (not tested, tip from a 3rd party)
(Only the EM241 could initiate a communication in this way)
3. Use two regular modems + 2x PC/PPI cable (older cable works too). In this case you
must use freeport communication.
You should take therefore
modbus or implement a another small protocol. You will find
the modbus master library on
www.s7-200.net, the modbus slave you get with oderno.
(6ES7 830-2BC00-0YX0) for about 99EUR/USD.
The modbus libraries has a adjustable timeout parameter.
Depend on configuration only one (or any) side could initiate the communication