Step7_code

Step7_aby

Member
Join Date
Feb 2008
Location
Abu Dhabi
Posts
22
OUT_TIME IS A DATA OF "TOD" FORMAT

L #OUT_TIME

I.E WE HAVE H:M:SEC:MSEC Format

can anyone help me in resetting the sec and milisecond byte from the above format,

if possible provide me with the code in STL
 
Here's the STL requested:

Code:
	  L	 DB4.DBD	0
	  L	 L#60000
	  MOD   
	  L	 DB4.DBD	0
	  TAK   
	  -D	
	  T	 DB4.DBD	4

tod001.JPG
 

Similar Topics

I am trying to check what is the value coming from the pot and depending on the value change the value inside the DB11.DBD0 But it is not working...
Replies
24
Views
3,240
Hello all, I have a fc block that is in SCL from one proj that I would like to put in another. I've read about the source code file wich I can get...
Replies
1
Views
4,933
I'm doing my final year project on PLC.If some body sends or helps me on how to get source code for PID,that makeS me happieR.And in addtion to...
Replies
4
Views
2,741
Hello everyone, This is my first post and has to do with using the Retrieve command in Step7 Simatic Manager. A vendor recently sent us an...
Replies
1
Views
3,398
This is the first time I am working with Simatic Manager Step7 as I started my siemens journey with TIA which is pretty easy and do a lot of stuff...
Replies
3
Views
112
Back
Top Bottom