Visual Productions forum

Author Topic: iocore application  (Read 414 times)

May 10, 2018, 02:27:11 PM
Read 414 times

tizianos

  • Member
  • *
  • Posts: 30
hi all,
I'm using the IoCore and I want to achieve the following thing:
- when input 1 is 1 -> do an action
- when input 1 is 0 -> do an action
is it possible to achieve that?
I think I can do it by using the trigger flank.
can you suggest?
regards

May 15, 2018, 09:24:00 AM
Reply #1

Guido Visser

  • Administrator
  • Member
  • *****
  • Posts: 227
    • Visual Productions
Hello Tizianos,

If you create a GPI action. With the trigger type set to channel. The trigger value is used to specify the GPI pin you are using.

Then you can set the trigger flank. This is used to detect a high or low signal.
Use the flank Change when you want the action to trigger on both a high and a low signal.
Use Up to trigger on a high signal.
Use Down to trigger on a low signal.

If you have to do something when there is a high signal. Create an action with the trigger flank set to Up. If you then also have to do something diferent when there is a low signal. You can create a second action with the trigger flank set to Down.

Best regards,
Guido
Guido Visser
Visual Productions BV

 

SMF spam blocked by CleanTalk