AB TON to Siemens TON

Engineerj22

Member
Join Date
Apr 2021
Location
NW Indiana
Posts
204
Hello I'm converting a SLC 5/04 to a S7-1500 both in ladder. My question is the equivilent bits in a Siemens TON.

.DN = .Q
.TT = ?
.EN = ?

Are there equivilent bits? If not, how would make code to get the same thing done?

Thanks!
 
Yes .DN = .Q

.TT and .EN don't have equivalent bits. (Except maybe for the .EN see below *).
You can create them yourself though.
Place an intermediary coil (#) in front of the IN pin. The variable that you assign to the intermediary coil is then the equivalent of .EN.
You generate the .TT by combining .EN and .DN, i.e.
.TT := .EN AND NOT .DN ;

*: I have never done it, but maybe you can query the .IN directly and omit the intermediary coil. But since that is an input variable, I think that possible the compiler will complain.
 
Maybe not the best way... but you can use greater than and less than and do a compare to the timer value, I did it last week in a Automation Direct, just a simple greater than 0 was TT
 
Maybe not the best way... but you can use greater than and less than and do a compare to the timer value, I did it last week in a Automation Direct, just a simple greater than 0 was TT


That's a nice approach if the first ms of .TT being 1 does not matter, but it would also need to test whether .ET was less than .PT if it's not self-resetting logic.



A lot depends how the input rung of the timer is driven; it should be possible to get a .TT-equivalent for self-resetting logic, but it might get messy.


I think there are also non-IEC timers; they may behave in a more conventional manner.
 

Similar Topics

Context: PLC= S7-1212C, HMI=KTP1200 Basic. Hi, The operator has reported that, from time-to-time, when he presses the "Generate Report" button...
Replies
5
Views
461
Hi, Am I being daft (again)? I want to increment a tag (Integer) by 1 each time a button on the HMI is pressed. Before the button press, the...
Replies
22
Views
2,334
Hi I’m trying to work out how to get the alarm button to flash when there is an alarm or do I have it that the alarm page pops up with the alarm...
Replies
15
Views
1,375
On my HMI (KTP1200), I've got this button "Generate Report", which generates a report (CSV) when it's pressed. (see pic) While it's being...
Replies
1
Views
543
Hi, When the HMI (KTP1200 basic) powers up, the user has to enter their credentials to log in. In the screenshot, ADMIN has already logged in...
Replies
3
Views
1,002
Back
Top Bottom