manmeetvirdi
Member
I am calling FC4 through which I am just monitoring the input, which if persists for more then 10seconds continuously, will make the output high and output will remain high till 10 seconds after the input has gone
Now the problem is if I am using DB1.DBX0.4 at #OUTPUT then even if M16.5 remains ON for 10seconds, DB1.DBX0.4 does not goes HIGH
But if I use any M bit, say M40.0 at #OUTPUT then it goes HIGH after 10seconds.
Then writing
A M40.0
=DB1.DBX0.4
makes DB1.DBX0.4 high!
I have checked the cross reference and it shows that I am not setting or resetting this bit elsewhere, and also I have not used any word or real in DB1
PLC is 313c-2DP
File attached shows the contents of the FC4
Now the problem is if I am using DB1.DBX0.4 at #OUTPUT then even if M16.5 remains ON for 10seconds, DB1.DBX0.4 does not goes HIGH
But if I use any M bit, say M40.0 at #OUTPUT then it goes HIGH after 10seconds.
Then writing
A M40.0
=DB1.DBX0.4
makes DB1.DBX0.4 high!
I have checked the cross reference and it shows that I am not setting or resetting this bit elsewhere, and also I have not used any word or real in DB1
PLC is 313c-2DP
File attached shows the contents of the FC4