Positive Transition-Sensing Contact and Negative Transition-Sensing Contact

If you use both elements in Function Block repeatedly, FB may not recognize them.

Instead of Positive and Negative Transition-sensing contact, use Normally Open Contact as below.