Setting the appropriate (minimum) Tslot_Init value for a given network may significantly shorten the total DP Slave polling cycle. If one of the DP Slaves is out of order or if its response is lost, the DP Master will only wait for a set minimum time before sending another query. The value should be set to maximum to prevent problems.
The calculator on https://www.racom.eu/eng/products/radio-modem-ripex.html#calculation enables you to calculate the RTT (round trip time).
Set the PLC Master to Ethernet interface in the calculator (Profibus protocol timing is based on the last sent byte; time on Master’s RS485 does not figure in this calculation).
RTT for Bridge mode can be used directly; for Router mode the resulting average RTT needs to be multiplied by constant 1.25 to receive the maximum achieved RTT.
Calculate the recommended Tslot_Init as follows:
Tslot_Init = RTT * (Port speed in bps) / 1000
Router mode web based settings may cause time problems in more complex networks. CLI lets you adjust radio channel access parameters and set up repetition taking into account the number of re-translations in your radio network.
If you only use the Profibus protocol with RipEX and no other broadcast interferes with your network, you can configure certain parameters to shorten the access time to channel using CLI. If you want to use packet acknowledgement on the radio channel, you can shorten the repetition timeout if ACK is turned off.
|Turns on ACK
|Number of retries 2
|Turns off progressive retries
|Shortens the retry timeout to the minimum value of 10 Bytes
|Shortens the variable retry timeout to the minimum value of 10 Bytes
|Will receive immediately after request – random channel access is not used
|Will transmit immediately after request – random channel access is not used
Same settings should be used for all devices.
To find out more about CLI, see RipEX manual chapter CLI Configuration.
Note: This setting is only appropriate for certain types of networks; changes should only be made by experienced users!
Connector layout of RipEX COM 2 for RS 485 and the corresponding PIN’s on Siemens Simatic S7.