Scan time of a Siemens S5 PLC

Tomsci

Member
Join Date
Nov 2004
Posts
15
Hi,
Can anyone kindly suggest how i can know the scan cycle time (scan time) of a S5 PLC (CPU 135U) using STEP 5?

Thanks,
Tomsci
 
135U is as sub-brand including numbers of different CPU's as 921, 928B etc. There are different ex.times for every CPU's in manuals or you can measure couple of program scan average by timer value.
 
You can always set up a timer and a counter to do this. Set up a counter with a preset of 100 cycles and increment it once each scan. Record the timer's current value to two different registers, once when C=0 and once when C=100. Subtract the difference, divide by 100, and that will be your scan time (in whatever units your timer is counting in - hundredths, thousandths, etc). The scan time may be slightly larger due to these extra few calculations, but in a medium to large sized program the percentage error will be negligable. You can always subtract out the 'textbook' execution times for the cycles that you added to correct for this.

I have not worked with this processor, so there may be a built in function to show min/max/avg scan time. Someone else will definitely chime in if this is the case.
 
I am very much afraid that there are not build-in tools for max/min/ave scan-time.

Estimating scan-time command by command:
Fe. CPU 928-3UA12 EX. TIMES IN MICRO SECONDS

LOAD IW ?? 13
OPEN DB ?? 19
LOAD DW ?? 14
AND I N.N 0.9
AND D N.N 29 ! note diff. between Input and databit handling

but this can be very hard method.
 

Similar Topics

U
I have a setup in GE Plc, where PLC receives data from GBC(GENIUS BUS CONTROLLER) module,which inturn gets data from BIU module.These BIU modules...
Replies
4
Views
14,977
Hi, Can any of Siemens PLC expert please tell me; 1) Can we ever detect the first scan of the Siemen PLC whenever it RUN (either due to power...
Replies
3
Views
5,592
Hi, I want to initialise some tags on first scan only. As they are related to wall-clock time, I want to do the initialisation when the PLC first...
Replies
4
Views
1,173
I am working with a Siemens 1500 in portal, and I want to know if my Profinet inputs can change during the scan of the PLC code. When do local...
Replies
8
Views
2,778
Hi all, I primarily use AB PLC's, and have a reasonable understanding of the way they scan their logic. I've done a few smaller projects on...
Replies
18
Views
5,524
Back
Top Bottom