time between two bits on wincc

harrydeharry

Member
Join Date
May 2008
Location
Delhi
Posts
237
Dear All,
As I am not much aware of C programing. I want to see the time between of two bits such as from the first positive rise of one output bit to positive rise of nest input bit. which i can do in PLC but I want to do in winCC through tags. Is it right mathode of wrong.
Please help me on this and send me the C code if its a right mathode.

Thanks for your help in advance.
 
Hi,

I'm no WinCC-expert but all HMI's and SCADAs have a certain scan/refresh time, that is the time it takes to read/update the tags. Typically you also set a polling rate for each tag (e.g 100 ms). That means your calculation will probably not be especially precise. I would put this logic in the PLC and present the result in the HMI/SCADA instead.

//Supporter
 

Similar Topics

Hello there, I'm trying to send the state of a single internal bit (B3:3/8) of my main ML1400 PLC to a different ML1400 over Ethernet using the...
Replies
4
Views
1,754
I am reading 32 bits from a DCS system into a DINT tag. I need to move this data into 4 INT tags. 1st 8 bits to one tag, next 8 bits to another...
Replies
3
Views
1,743
Hey guys! Quick question to see if I am doing something the sloppy, hard way or if this is pretty much the only way to do something... Lets say...
Replies
10
Views
5,013
I need to exchange a couple of bits between a Siemens 505 and AB Control logix, I am hooked to one network. is this a easy task, what would be a...
Replies
6
Views
4,452
Hello Everyone, I have a issue with communication between two different PLCs. So here is the facts, The Master PLC is Guard Logix 5069 with IP...
Replies
2
Views
30
Back
Top Bottom