Technical FAQs

Ask a Question

How to get a blinking Led on Sepam 40, 60 and 80?

With Sepam 40, 60 or 80, it is easy to light a Led according to an event occurrence. This can be done thanks to SFT2841 Matrix and sometime the use of logical equations. But when you want to activate a Led and to make it blinking, you have to do it by yourself thanks to the help of logical equations. The purpose of this FAQ is to give you one simple solution.

One way to make blinking a Sepam Led is to generate a square signal with PULSE functionality:
VL2 = PULSE(0:0:0, 0:0:2, 43200) // Creates a 1 Sepam cycle pulse every 2 seconds
VL3 = TOF(VL2, 1000)                   // Transforms this 1 cycle pulse to a 1 second pulse

The first line creates a pulse of one Sepam cycle (14 ms) every two seconds and this 43200 times per day. In fact 43200 = 24 (hours) x 60 (minutes) x 30 (seconds). The second line extends the pulse to 1 second delay (= 1000 ms). Thus we have a square signal with a duty cycle of 1/2, which is high for 1 second and low for 1 second.

This virtual pulse generator can be associated to an event such as 49RMS alarm to differentiate the signalization from other events:

V3 = VL3 AND P49RMS_1_10      // Activate Blinking of V3 when 49RMS Alarm is activated

Don’t forget to associate a Led to V3 in the Matrix and the job is done.

Was this helpful?
What can we do to improve the information ?