Sequence generator Function Code FC 161 Harmony
Customer has configured Function Code 161 , it is sequence generator , it has configured trigger pin to a specific block number , reset connected to another block number and jump pin to another block number , if jump condition is true it jumps to step4 it is only one sequence generartor block but there are some in whole system.
The questions :
We have seen in Step1 timer 15 secs , in step 4 timer is 15 secs also , step 5 10 secs, others steps the step timers are 0 sec.
when the trigger condition is true ( transition from 0 to 1) , sequence generator goes to step 1 keeps for 15 secs output 1 to open a specific valve then because step2 , step3 are step timer 0 secs , it goes to STEP4 to open the valve related to this STEP4 , then goes to step 5 10 secs( output 1), for steps (6, 7, 8) it does not any action because the step timer is 0 secs , when it reaches the last step , it finishes the batch . Is that correct?
Timer step for 2, 3, 6, 7, 8 is 0 but they keep the mask for each one.
If the sequence is at step1 which it keeps for 15 secs and for example at 7 sec , the jump condition changes to true ( step jump number is 4 ) , what happen with step1 , does it wait until finish 15 sec then jump to step 4 ?
if the reset condition is true while Sequence step is at step1 opening the specific valve , does it change the output to 0 ( default mask is 0000) and close the valve? Is that correct?
I am curious about the following , because FC161 could be stepped through event or time basis
In this same configuration that I have sent , if the step 4 is being executed and for any reason trigger ( TAG1 OR TAG2 OR TAG3) change from 0 to 1 transition , what does happen in this case ? Does it jump to next step inmediately, step 5 ? or if the step 5 is being executed and trigger condition changes from 0 to 1 transition and as I have mentioned above step 6, 7, 8 step time is 0 secs , what happen in this case ?
Thanks for your support
Best Regards
Ricardo
Answers
Without seeing your code block setup it is a little hard to work out what you are trying to do. However generally, the FC161 can be stepped by trigger or time for each step. You can also set jump step (ie go from step 1 to step 4 directly). Each Step has an associated Mask. Each bit in the mask (weighted, see manual) represents each of the outputs. That is, each step can set none or all the outputs as needed. FC161 requires a pulse to sequence to the next step.
If your step 0 mask is all zeros and Reset is performed then yes, all outputs will go to 0 and the step counter goes to 0.
The Jump step can be performed at any time if there is no Step trigger (must be 0) and the Jump step number is configured. Once jumped to this Step (5 in your case?) the sequencer will continue to the next step from Step 5 when the next trigger (or timer if set for step 5) is received.
Add new comment