S7 300 code

Hakan Kilic

Member
Join Date
Apr 2013
Location
Silkeborg
Posts
1
Hi All

I would like to code following in my plc:

Read a timer(T 1) from a server (I have already modbus comm. running).
Take snapshot of the value
After 5 seconds later take a snapshot of the value again
And compare these two snap shot value and see if they are equal to each other.

Do you have any suggestion in STL?

Thanks in advance
 

Similar Topics

Can anyone simplify this code for conversion into Studio 5000 LAD. Thanks
Replies
0
Views
1,389
I have a Siemens S7 300 CPU 315-2 PN/DP PLC and CP 342-5. IM Module is configured via ethernet port. I have two profibus network. One on CPU and...
Replies
3
Views
4,122
IS it possible to write this on a better way: L #db_Num2 L 121 ==I JNB _02 CALL "CONT_C" , "DB_reg_igla1"...
Replies
3
Views
2,626
HI My SLC understanding is not perfect yet, and have been over the manuals again and again, but I am digging true some old code and I have this...
Replies
4
Views
2,942
Anyone else get this code intermittently? It can happen once a day or 20 times a day... I know it's the drive enable...so is there a way to fix...
Replies
2
Views
1,641
Back
Top Bottom