beautypg.com

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

background image

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 : ,

GPoav

L

F

is the GPO index (0 for first Master device GPO, 5 for first Slave device GPO, …).

Answer :

GPoav

,

C

R

L

F

is the GPO index (0 for first Master device GPO, 5 for first Slave device GPO, …).

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 : ,

GPomo

L

F

is the GPO index (0 for first Master device GPO, 5 for first Slave device GPO, …).

is the GPO mode (0 for ‘FREE’, 1 for ‘TALLY_BEFORE_TRANSITION’ or 2 for
‘TALLY_AFTER_TRANSITION’).

Activate the GPO output :

Syntax: ,

GPofa

L

F

is the GPO index (0 for Master device GPI, 1 for Slave device GPI).

equals 1 to activate the GPO or equals 0 to deactivate it.

This manual is related to the following products: