Analog-way LIVECORE PLATFORM TPP Current Programmer's Gu User Manual Page 40

  • Download
  • Add to my manuals
  • Print
  • Page
    / 44
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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.
Page view 39
1 2 ... 35 36 37 38 39 40 41 42 43 44

Comments to this Manuals

No comments