Gpo general purpose output (free mode), 15 gpo general purpose output (free mode), Gpoav – Analog Way LIVECORE PLATFORM TPP Current Programmer's Guide User Manual
Page 40: Gpomo, Gpofa

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_TRANSITION’ mode. 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.