s7 300 timers and esa panels

tny

Member
Join Date
Jun 2005
Location
usa
Posts
105
hi,
i used esa panels with s7 200 before, so i could configure timers but, in s7 300 (as you know) i have to define timer value as (for ex) s5t#2s. i want to modify this 2s value with my esa panel.
which type of data should i declare from esa(word, timer, bcd etc?)
 
Example:

L DB1.DBW0 (this is tag of time from ESA, it should be HEX/BCD format)
L W#16#1000
OW
SD T10 (if DB1.DBW0 contains 2 then T10 is a 0.2sec on-delay timer)

0000 is for 0.01 sec times
1000 is for 0.1 sec times
2000 is for 1 sec times
3000 is for 10 sec times

Greets
Jeebs
 
Last edited:
thanks, i tried it with the code below. i simulated it with plc sim. but when i try to give the value 10 to the db1.dbw0 (via mw1), the plc goes to stop because of a bcd error.

A M 0.0
L DB1.DBW 0
L W#16#1000
OW
SD T 10

A T 10
= M 0.7

L MW 1
T DB1.DBW 0
 
thanks.
it worked in simulation. i ll try it with real esa panel.

when declaring a tag as dbw i saw 1/100 sec 1/10sec etc.. can we use them also?
 

Similar Topics

I've used the following timer code in S7-300's for a long time. When migrated to an S7-1500 plc, the timer behaviour changes so that I no longer...
Replies
22
Views
5,379
Dear all colleagues and members I have worked for a company and I created a program for them for small automation but they dont want to give my...
Replies
12
Views
4,706
Hi, I'm looking for a way to pause the timers I have in my PLC. I'm making a program which has a safety switch which is supposed to pause the...
Replies
5
Views
2,141
Hi all, I probably have some short questions for you. I'm trying to understand timers and the Siemens operating system in more detail...
Replies
9
Views
12,353
Hello, I need to be able to write time directly to a Siemens TON SFB4 timer. How can I do that through Wonderware Intouch using DasSiDirect...
Replies
2
Views
4,742
Back
Top Bottom