Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Probleme activation sorties avec calaos server
#1
Bonjour a tous,
Je suis nouveau sur le forum, et pour commencer je vous remercie pour tout ce travail. C’est vraiment un beau projet.
J’aurais préféré faire un poste juste pour vous remercier mais j’ai aussi un problème.
Voici ma config :
Automate :
Wago 750-881
Carte 750-1405
Carte 750-1504x2
Carte 750-460

Calaos-server sur Raspberry.
J’ai bien réussi la partie config de l’automate et le mode dégradé fonctionne bien.
J’ai un souci lorsque je passe sous calaos-server ou le server voi bien les action sur les entrées, il prend les bonnes actions sur les sorties mais rien ne se passe. Aucune erreur dans les traces de calaos server les writes sont bien en OK mais les sorties ne commutent pas alors qu’en mode dégradé tout fonctionne bien.
J’ai essayé avec la balise wago_841 a true et false comme j’ai pu voir dans le forum que ça pouvait être une source d’err mais ça n’a rien changé.
J’ai fait beaucoup de recherche et de test mais là je sèche.

J’ai essayer de remplacer le switch entre le Raspberry et le WAGO par un câble en direct mais même symptôme.
Avez vous une idée ?

Merci de votre aide.
Julien

Conf IO :
Code:
<?xml version="1.0" encoding="UTF-8"?>
<calaos:ioconfig xmlns:calaos="http://www.calaos.fr">
    <calaos:home>
        <calaos:room name="Salon" type="salon" hits="0">
            <calaos:input gui_type="switch" host="192.168.1.100" id="input_0" name="Interrupteur Porte" port="502" type="WIDigitalBP" var="0" visible="false" wago_841="false"/>
            <calaos:internal chauffage_id="0" gui_type="var_int" id="intern_0" name="Chauffage Salon" rw="true" save="false" type="InternalInt" visible="true"/>
            <calaos:input host="192.168.1.100" id="input_5" name="Test" port="502" type="WIDigitalBP" var="1" wago_841="true"/>
            <calaos:output gtype="light" gui_type="light" host="192.168.1.100" id="output_0" name="Lumiere" port="502" type="WODigital" var="0" visible="true" wago_841="false"/>
            <calaos:output gtype="light" host="192.168.1.100" id="output_4" name="Biblioteque" port="502" type="WODigital" var="15" wago_841="false"/>
            <calaos:output gtype="light" host="192.168.1.100" id="output_5" name="Lumiere Test" port="502" type="WODigital" var="5" wago_841="true"/>
        </calaos:room>
        <calaos:room name="Chambre" type="chambre" hits="0">
            <calaos:input gui_type="switch" host="192.168.1.100" id="input_2" name="Interrupteur Chambre" port="502" type="WIDigitalBP" var="2" visible="false" wago_841="true"/>
            <calaos:output gtype="light" host="192.168.1.100" id="output_1" name="Lumiere" port="502" type="WODigital" var="2" wago_841="true"/>
        </calaos:room>
        <calaos:room name="Bureau" type="bureau" hits="0">
            <calaos:input host="192.168.1.100" id="input_3" name="Interrupteur" port="502" type="WIDigitalBP" var="3" wago_841="true"/>
            <calaos:output gtype="light" host="192.168.1.100" id="output_2" name="Lumiere" port="502" type="WODigital" var="3" wago_841="true"/>
        </calaos:room>
        <calaos:room name="Salle de bain" type="sdb" hits="0">
            <calaos:input host="192.168.1.100" id="input_4" name="Interrupteur" port="502" type="WIDigitalBP" var="4" wago_841="true"/>
            <calaos:output gtype="light" host="192.168.1.100" id="output_3" name="Lumiere" port="502" type="WODigital" var="4" wago_841="true"/>
        </calaos:room>
    </calaos:home>
</calaos:ioconfig>

Log Calaos-server :
Code:
INF<504>:calaos_wago IO/Wago/WagoCtrl.cpp:113 bool Calaos::WagoCtrl::read_bits(Utils::UWord, int, std::vector<bool>&)() WagoCtrl::read_bits(0,1): Ok
INF<504>:calaos_rule Rule.cpp:90 bool Calaos::Rule::ExecuteActions()() Rule(Salon,Interrupteur Porte): Starting execution (1 actions)
INF<504>:calaos_output IO/OutputLight.cpp:61 bool Calaos::OutputLight::_set_value(bool)() output_0: got action, False
INF<504>:calaos_rule Rule.cpp:99 bool Calaos::Rule::ExecuteActions()() Rule(Salon,Interrupteur Porte): Execution done.
INF<504>:calaos_wago IO/Wago/WagoCtrl.cpp:135 bool Calaos::WagoCtrl::write_single_bit(Utils::UWord, bool)() WagoCtrl::write_single_bit(0, false): Ok
INF<504>:calaos_network UDPServer.cpp:153 void UDPServer::ProcessRequest(Ecore_Con_Client*, std::string)() received input 0 state=0
INF<504>:calaos_input IO/Wago/WIDigitalBP.cpp:72 virtual void Calaos::WIDigitalBP::ReceiveFromWago(std::string, int, bool, std::string)() Got 0 on std input 0
INF<504>:calaos_wago IO/Wago/WagoCtrl.cpp:113 bool Calaos::WagoCtrl::read_bits(Utils::UWord, int, std::vector<bool>&)() WagoCtrl::read_bits(0,1): Ok
INF<504>:calaos_network UDPServer.cpp:153 void UDPServer::ProcessRequest(Ecore_Con_Client*, std::string)() received input 0 state=1
INF<504>:calaos_input IO/Wago/WIDigitalBP.cpp:72 virtual void Calaos::WIDigitalBP::ReceiveFromWago(std::string, int, bool, std::string)() Got 1 on std input 0
INF<504>:calaos_wago IO/Wago/WagoCtrl.cpp:113 bool Calaos::WagoCtrl::read_bits(Utils::UWord, int, std::vector<bool>&)() WagoCtrl::read_bits(0,1): Ok
INF<504>:calaos_rule Rule.cpp:90 bool Calaos::Rule::ExecuteActions()() Rule(Salon,Interrupteur Porte): Starting execution (1 actions)
INF<504>:calaos_output IO/OutputLight.cpp:61 bool Calaos::OutputLight::_set_value(bool)() output_0: got action, True
INF<504>:calaos_rule Rule.cpp:99 bool Calaos::Rule::ExecuteActions()() Rule(Salon,Interrupteur Porte): Execution done.
INF<504>:calaos_wago IO/Wago/WagoCtrl.cpp:135 bool Calaos::WagoCtrl::write_single_bit(Utils::UWord, bool)() WagoCtrl::write_single_bit(0, true): Ok
INF<504>:calaos_network UDPServer.cpp:153 void UDPServer::ProcessRequest(Ecore_Con_Client*, std::string)() received input 0 state=0
Reply


Messages In This Thread
Probleme activation sorties avec calaos server - by Julien - 07-25-2017, 08:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)