F_trig / r_trig

wicing

Member
Join Date
Nov 2013
Location
Halmstad
Posts
14
I wonder if anyone knows the time-lenght of the output-pulse from a f_trig or r_trig function.
If I use one of the above in one POU to activate a global BOOL and use the global BOOL as a pulse in a different POU, is there a risk that the I miss the pulse in the second POU?

I use wago 750-8100 for this project.
 
I wonder if anyone knows the time-lenght of the output-pulse from a f_trig or r_trig function.
If I use one of the above in one POU to activate a global BOOL and use the global BOOL as a pulse in a different POU, is there a risk that the I miss the pulse in the second POU?

I use wago 750-8100 for this project.
The time length of the output bit is one processor scan. Basically the trigger function activates the bit when it sees a rising or falling edge, then deactivates it the next time the function executes, i.e. at the same point in the subsequent scan. So as long as all of your logic is executed sequentially--even if it's in different subroutines--there's no chance that you could "miss the pulse". If you use the output bit to trigger a second bit (with a standard := assignment), that bit will be on for one full processor scan also.

This would not necessarily hold true if your POUs are across multiple PLC tasks, or if they are executed conditionally.
 

Similar Topics

salve, qualcuno mi può suggerire alternative all'uso dei fronti di salita e discesa su siemens, e nel caso se ci sono relativi vantaggi ? grazie
Replies
5
Views
2,368
Find the length of the dotted line. I blew through it and got the wrong answer, then realized the complication. My second attempt was correct but...
Replies
8
Views
1,987
What is the most inexpensive PLC that supports trig functions (sin, cos, tan). Thanks in advance
Replies
5
Views
3,207
Hi, I'm looking to do some trig functions in a CPU945. Is this possible? Thanks, Martin
Replies
15
Views
4,465
Hello all, I am feeling math stupid today and maybe somebody can give me the nudge on this one. I have a function I am trying to implement in a...
Replies
8
Views
1,970
Back
Top Bottom