Sequence Generator Block 161 Infi90
Good afternoon , please could you clarify the following concerns?
Customer has sequence generator block , the arrangement is Series and Parallel to Provide 24 Steps for 16 Outputs ,
They are using the three upper sequence block they have connected the step trigger to specific logics and also they have connected the jump, jump# from sequence monitor. The others three sequence generator blocks are located below .
The last block of the upper( located at righter) Sequence generator blocks use the CS current step number and STP step taken both are connected to the jump and jump # of the sequence generator blocks located below and also step trigger logics are connected to the six blocks .
The questions :
1 - For example if we are at step 16, for upper sequence generator block we have a mask 0 and 0 step timer( it means this step does nothing in output 1-8 , the lower sequence block has a mask 28 (00011100) and step timer 10 seconds(step16), the result is put 1 at 12.13.14 outputs during 10 seconds. when it happens , does the sequence go to step 17 after reaching 10 seconds?
2- if we are at step 17 upper sequence block and this step has a mask 0 step timer 1 second and in lower sequence block step 17 has a mask 128 (10000000) it means it put 1 at output 9 it is done and after 1 second does it go to step 18? .
3-when the step timer is less than processor scan time in this case 250 msecs, it should wait for 250 msec because it can not do faster than in this case 250 msecs , Is it correct?
Thanks for your support
Best Regards
Ricardo
Customer has sequence generator block , the arrangement is Series and Parallel to Provide 24 Steps for 16 Outputs ,
They are using the three upper sequence block they have connected the step trigger to specific logics and also they have connected the jump, jump# from sequence monitor. The others three sequence generator blocks are located below .
The last block of the upper( located at righter) Sequence generator blocks use the CS current step number and STP step taken both are connected to the jump and jump # of the sequence generator blocks located below and also step trigger logics are connected to the six blocks .
The questions :
1 - For example if we are at step 16, for upper sequence generator block we have a mask 0 and 0 step timer( it means this step does nothing in output 1-8 , the lower sequence block has a mask 28 (00011100) and step timer 10 seconds(step16), the result is put 1 at 12.13.14 outputs during 10 seconds. when it happens , does the sequence go to step 17 after reaching 10 seconds?
2- if we are at step 17 upper sequence block and this step has a mask 0 step timer 1 second and in lower sequence block step 17 has a mask 128 (10000000) it means it put 1 at output 9 it is done and after 1 second does it go to step 18? .
3-when the step timer is less than processor scan time in this case 250 msecs, it should wait for 250 msec because it can not do faster than in this case 250 msecs , Is it correct?
Thanks for your support
Best Regards
Ricardo
Answers
Hi. I think you seem to have most of the seq running the way you have indicated for q1-2. The issue with Q3 as you have indicated is the 250mSec time. The minimum time would have to be checked with your Segment timing, By default this is usually 250mSec. Normally you would have trouble getting a timing of anything under this or even near this timing. I would check you segment timer and your overall segment run (live) and check for overruns. If this number is higher on occasions than your sequence time time then you have to re-arrange your code into it's own segment and set the segment time to below 250mSec. After this you would also need to check the overall CPU load, as changes to more segments, lower segment time and more code obviously effects cpu load.
Hi Ricardo...
If I'm reading your question correctly, it sounds like you have step timers set in the lower blocks? The lower blocks should only have step output masks, and the timer values are always set in the upper block. I've attached an example.
When a step timer (always set in upper blocks) gets to 0, the sequence moves to the next step. If a step does not have a timer, it will stay at that step until the jump trigger is set to 1.

If I'm reading your question correctly, it sounds like you have step timers set in the lower blocks? The lower blocks should only have step output masks, and the timer values are always set in the upper block. I've attached an example.
When a step timer (always set in upper blocks) gets to 0, the sequence moves to the next step. If a step does not have a timer, it will stay at that step until the jump trigger is set to 1.

Add new comment