User guide

86
VTB USER GUIDE
Parameters
Chan Number of channel (from 0 to 1)
Stato State of the relay:
0 OFF (contact opened)
1 ON (contact closed)
Example
Used variables:
channel UINT
stato UINT
channel = 1
stato = 1
ng_rele(channel,stato) 'active the relay of the second channel
channel = 2
stato = 0
ng_rele(channel,stato) ‘disactive the relay of the third channel
ng_rele(0,1) ‘active the relay of the first channel