S7-300 cycle time

Dear all,

In my application, X_GET function used in CPU315-2DP reads state of digital inputs (I0.0-I0.7) in CPU314. The CPU315-2DP writes these values to its digital outputs (Q0.0 -Q0.7). These PLCs communicate in MPI network. I have measured delays between appearance of logic '1' on specific input of CPU315-2DP and appearance of logic '1' on its corresponding digital output of CPU314.

I have examined two rates of transmission speed (187.5 and 19.2kbit/s). I have done ten tests for each speed. The problem is, the difference between exteme values of delays for each speed rate differs from each other. Could you tell me why?

For 19.2Kbit/s I have carried out ten test. Extreme(polar) values: 122ms, 254ms.

For 187.5Kbit/s I have carried out ten test. Extreme(polar) values: 40ms,61 ms.

I hope it sounds clearly.

Best regards,
gumis
 
MPI is not intended for cyclic data transfer of data with an assured maximum transfer time. That is the bottom line.
If you are online with STEP7 in order to monitor the program, then that affects the transfer times for example. If you have an operator panel on MPI, then that one also affect the bus cycle.

That is the important difference between MPI and Profibus DP. With Profibus DP, the regular DP i/o has an assured maximum "token rotation time". All non-i/o data transfer has to use the time that is left over from the regular DP i/o data transfer.

Using direct data transfer is probably somewhat more efficient than X_PUT/X_GET for so little amount of data.
 
Thank you for the reply.

I still do not understand what has influence (except from PLC cycle) on differences in these delays. Which feature of MPI causes these differences?

I have carried out new measurements.I use CPU315-2DP and Simoreg 6RA70. I use PPO3 which contain Control Word and Speed setpoint. First bit (OFF1) is connected to Q0.0 of PLC. OFF1 is also connected to digital output of Simoreg (binector 3100 is used). I measure dealys between Q0.0 and digital output of Simoreg.

I have done ten measurements for 12Mbit/s and ten tests for 9.6Kbit/s. The polar values from these tests are like following:

12Mbit/s :3.92ms, 6.4ms
9.6Kbit/s: 40.4ms, 88ms.

Values of delays differ from each other. Except from PLC cycle,could you tell me why?

Regards,
gumis
 
You are now refering to measurements made on Profibus DP. Right ?

MPI is updated by the main CPU during as part of its system schedule.
Thus, the PLC code scan affects MPI performance.

The DP port has its own dedicated processor.
So it is unaffected by the PLC code scan.
 
Thank you for the reply.

Yes, I refered to Profibus DP.

In my case, the Scan Cycle Time read in Simatic Manager varies between 2 and 3ms, so differences in delays values are justified but I do not know why there are so high.

Which tasks are made by processor dedicated for DP port? Does it deal with SFC15/14?
 

Similar Topics

Is there a simple yet efficient way to have the S7-300 program that has been converted and now running on a S7-1500 to react the same? With the...
9
Replies
1,761
Views
Hi What stage of its life cycle, S7-300/400 controllers are at now? In my existing unit, we are using these controller and in near futher there is...
8
Replies
15,568
Views
Hi, I have a Modbus TCP/IP connection on my S7-314 PLC, this connects to a Siemens RMC30 (TCP/IP>Serial convertor) and then to 46 serial RTUs...
13
Replies
5,057
Views
Hi all, I probably have some short questions for you. I'm trying to understand timers and the Siemens operating system in more detail...
9
Replies
14,260
Views
Hello, I'd like to be able to increase the cycle time upon receiving a digital signal. I've seen in manuals that interrupts increase the cycle...
9
Replies
6,112
Views
Top