Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Volets roulants (TXA223/TL223B) et linknx 1.26
#1
Bonjour à tous,

Je ne parviens pas à fixer en pourcentage la position de mes volets.
Les résultats obtenus sont assez étranges.

Voici les tests unitaires réalisés sur un volet :

Config de la sortie 3 du participant 1.2.21 Hager TXA223/TL223B :

14 Sortie 3 Montée/Descente 5/1/7 C R W - U 1 bit
DPT_UpDown
15 Sortie 3 Stop 5/1/8 C R W - U 1 bit
42 Sortie 3 Position 5/1/103 C R W - U 8 bit
unsigned value DPT_Scaling
44 Sortie 3 Indication d'état 5/1/9 C R - T U 8 bit
unsigned value DPT_Scaling

Config linknx 1.26 :

<object id="salon_voletpatio_move" gad="5/1/7" type="1.001" />
<object id="salon_voletpatio_stop" gad="5/1/8" type="1.001" />
<object id="salon_voletpatio_status" gad="5/1/9" type="5.001" />
<object id="salon_voletpatio_position" gad="5/1/103" type="5.001" />

Commandes linknx :

$ <write><object id='salon_voletpatio_position' value='27'/></write>\n
\x4
<write status='success' />
$

Le volet se ferme alors aux 2/3 environs (66%).

Et au final, mes tests me donnent ce tableau :

18 --> 0%
20 --> 33%
27 --> 66%
30 --> 90%
36 --> 100% de fermeture

Comment faire pour que la valeur "27" passée à linknx corresponde à
27% de fermeture ?

Merci pour votre aide.

Bien à vous,
Ben


Messages dans ce sujet
Volets roulants (TXA223/TL223B) et linknx 1.26 - par Ben - 24/05/2009, 07:44:06
Volets roulants (TXA223/TL223B) et linknx 1.26 - par Mathieu Gallissot - 24/05/2009, 08:47:26
Volets roulants (TXA223/TL223B) et linknx 1.26 - par Ben - 24/05/2009, 10:38:43
Volets roulants (TXA223/TL223B) et linknx 1.26 - par Ben - 24/05/2009, 13:03:25
Volets roulants (TXA223/TL223B) et linknx 1.26 - par Ben - 27/05/2009, 11:44:12
Volets roulants (TXA223/TL223B) et linknx 1.26 - par Mathieu Gallissot - 27/05/2009, 12:03:53
Volets roulants (TXA223/TL223B) et linknx 1.26 - par Ben - 29/05/2009, 11:14:07
Volets roulants (TXA223/TL223B) et linknx 1.26 - par mickg - 29/05/2009, 18:46:13

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)