Analog-way LIVECORE PLATFORM TPP Current Programmer's Gu Manuel d'utilisateur Page 40

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 44
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 39
40
PROGRAMMER'S GUIDE FOR v02.00.46
3.15 GPO General Purpose Output (Free mode)
3.15.1 Usage
This command sequence reads the GPO availability flag, sets the GPO mode and activates the GPO
output.
3.15.2 Detailed commands sequence
Read the GPO availability flag :
Command : <gpo>,GPoav
L
F
<gpo> is the GPO index (0 for first Master device GPO, 5 for first Slave device GPO, …).
Answer : GPoav<gpo>,<value>
C
R
L
F
<gpo> is the GPO index (0 for first Master device GPO, 5 for first Slave device GPO, …).
<value> equals 0 if the GPO is unavailable or equals 1 if the GPO is available.
Set GPO mode : This command sets the GPO mode. Value 0 means ‘FREE’ mode, value 1 means
‘TALLY_BEFORE_TRANSITION’ mode whereas value 2 means ‘TALLY_AFTER_TRANSITIONmode. When
the ‘FREE’ mode is enabled, the GPO is activated only through the ‘GPofa’ user command.
Syntax : <gpo>,<mode>GPomo
L
F
<gpo> is the GPO index (0 for first Master device GPO, 5 for first Slave device GPO, …).
<mode> is the GPO mode (0 for ‘FREE’, 1 for ‘TALLY_BEFORE_TRANSITION’ or 2 for
TALLY_AFTER_TRANSITION’).
Activate the GPO output :
Syntax: <gpo>,<value>GPofa
L
F
<gpo> is the GPO index (0 for Master device GPI, 1 for Slave device GPI).
<value> equals 1 to activate the GPO or equals 0 to deactivate it.
Vue de la page 39
1 2 ... 35 36 37 38 39 40 41 42 43 44

Commentaires sur ces manuels

Pas de commentaire