Reading scantime S7

RemcoK

Member
Join Date
Feb 2005
Location
Brasil
Posts
2
Does anybody know how too read the scantime from a Siemens S7. I need too make an very fast timer and want too read the scantime for this.

I Mitsubishi it's very easy, but I don't know where I can find this in Siemens S7.

Tanks

Remco
 
Simple.
In OB1, load the local data #OB1_PREV_CYCLE and transfer it to an address for further processing (Merkerword or Dataword as an INT).
The value is the cycle time in milliseconds.
 
Scan time alternative

For creating youre own timer, you could also use SFC 64.

It is like a rolling counter (0-2147483647 then start again at 0) that counts in mili seconds.
 

Similar Topics

Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
168
Hi all, i have 8 CJ2m plc units that show different numbers on the plc display and i am stuck on reading the info. my unit has an ip address of...
Replies
3
Views
111
Hi Everyone, I am not proficient in RSLogix 500 so I have a question regarding the evaluation of N7:0 data as an input. So as I understand in...
Replies
1
Views
92
Trying to setup a message read via Ethernet. I have the path setup as 1, 1, 2, 192.168.66.10 I get an error code 1, ext err 315. I am beating...
Replies
9
Views
244
Dear all, I don't know why setup of password became challenging and weird. After setting up the password and try to upload the ladder from the plc...
Replies
3
Views
178
Back
Top Bottom