S7-200 timers counter

sunflake

Member
Join Date
Dec 2005
Location
dubai
Posts
7
does anyone know what address the value of time in timers and count value in counters is stored?? i have to get an increasing integer output for a fill display that increases its level in citect but i have no analog inputs so i want to tag the timer value.
 
Sunflake,

in the PLC you can access the actual timer/counter value with T or C. But Citect cannot access these memory locations. Therefor you need to copy the values with a MOV_W instruction from the timer/counter area to e.g. a VW range, like this:

LD SM0.0
MOVW T33, VW200


Kind regards,
 
i shud've thought of that sooner ...this works alright but i have another problem now, i'm trying to set a multistate function but i cant get the fill to work for two commands... the yellow rectangle should go from zero to max for both yellow and green(mixing) fill commands but it fails to work... i tried using '+' to OR the tags and it compiles but the fill doesn't display ...will have to try hit and trial approach, i'm sure its sum very basic mistake i'm making :)
 

Similar Topics

Hey all! Long time reader, first time poster! I have an EA9-T7CL and an MicroLogix 1200 connected via DF1. I'm all good and got everything mostly...
Replies
3
Views
648
I have a micrologix 1200 that will run one of three different timing sequence, depending on which input is triggered. I'm trying to find the best...
Replies
6
Views
3,454
Hey guys, I am trying to 'seal' in a timer to execute some logic on a one-shot. Below is a screenshot of what I have set up thus far...
Replies
6
Views
16,765
Hello all, i'm new with S7-1200, and i have a problem, I want a timer and enter the time with an o/i field on the HMI and store it in the...
Replies
3
Views
2,433
Hello Just started to work with the KTP400 HMI and s71200, and basicly I'm a beginner to the whole PLC world. All I want to do is be able to...
Replies
12
Views
12,038
Back
Top Bottom