Triggers/Counters library

<< Click to Display Table of Contents >>

Navigation:  Project > Scripts > FBD language > Script objects of FBD language  >

Triggers/Counters library

Previous pageReturn to chapter overviewNext page

triggerslib

 

Rising edge trigger- this script object used to generate rising impulse duration PV ms when Input1 get TRUE from FALSE.

Falling edge trigger- this script object used to generate rising impulse duration PV ms when Input1 get FALSE from TRUE.

RS trigger- this script object used to imitate RS trigger.

Timer ON- this script object used for delay timer for the duration PV when Input1 get TRUE from FALSE.

Timer OFF- this script object used for delay timer for the duration PV when Input1 get FALSE from TRUE.

Counter- this script object used to count impulses of boolean value in Input1. Counter resets when Output become equal PV.

Counter Down- this script object used to count impulses of boolean value in Input1. Counter starts from value PV. Counter resets when Output become equal 0.

Multivibrator - this script imitates impulse generator with PV period. It starts when IN1 changed from FALSE to TRUE.

 

Example:

trigex

This operation set Tag2's value to TRUE(1) in 5000 ms when Tag's value become TRUE(1) from FALSE(0).