Jack Schit
Member
Hi,
I wanted to know the scan time of a Siemens S5-115U 943 PLC. I couldn't find a way to measure through the PLC so I have wrote a little bit of code to give me an idea of the scan time.
I'm not sure if it is accurate though and I would appreciate any advice!
The code is as follows:
A I0.0 (Start 1sec timer)
L KT100.0
SE T50
C DB10 (call datablock to load scan value into)
AN T50 (if not timing skip)
JC =M001
L KF+1 (if timing add 1 to DW10 every PLC cycle)
L DW10
+F
T DW10 (number of scans)
=001
AN I0.1 (if on reset DW10 to 0)
JC =M002
L KF+0
T DW10
=002
The value I get in my in my datablock is a consistent 250 giving a scan time of 4ms! The program isn't particuarly large but the time seems a little quick too me.
Much appreciate any thoughts!
Thanks
Jack
I wanted to know the scan time of a Siemens S5-115U 943 PLC. I couldn't find a way to measure through the PLC so I have wrote a little bit of code to give me an idea of the scan time.
I'm not sure if it is accurate though and I would appreciate any advice!
The code is as follows:
A I0.0 (Start 1sec timer)
L KT100.0
SE T50
C DB10 (call datablock to load scan value into)
AN T50 (if not timing skip)
JC =M001
L KF+1 (if timing add 1 to DW10 every PLC cycle)
L DW10
+F
T DW10 (number of scans)
=001
AN I0.1 (if on reset DW10 to 0)
JC =M002
L KF+0
T DW10
=002
The value I get in my in my datablock is a consistent 250 giving a scan time of 4ms! The program isn't particuarly large but the time seems a little quick too me.
Much appreciate any thoughts!
Thanks
Jack