C’est plus complexe que prévue ?
J’attends donc avec impatience cette mise à jour
Bonjour
Afin que nous soyons en mesure de nous organiser de notre coté, pouvez vous nous confirmer la date de mise à jour du plugin qui est toujours en attente ?
Est ce envisageable ce jour ?
Bonjour
Je n’ai plus de réponse de votre part et notre développement est à l’arrêt car le plugin Modbus n’est toujours pas fonctionnel.
Qu’en pensez vous faire la mise à jour qui était initialement prévue il y a plusieurs jour ?
Merci d’avance pour votre réponse
Etes vous disponible pour échanger sur le sujet car je suis en attente de la mise à jour et j’ai une installation qui ne peux pas attendre indéfiniment
J’ai besoin d’information
Merci d’avance
Bonjour
Desole pour le temps de réponse
Je vous ai envoyé un mail directement pour avancer sur ce problème
Cordialement
Bonjour
Quand la mise à jour est prévue car tout rien à ce stade ?
Cela ne marche toujours pas
Bonjour
Une nouvelle mise à jour ce jour, sans aucune information
Le problème de perte de communication avec tous les automates Modbus sur la coupure alimentation d’1 automate est toujours présent (problème non solutionné)
Message erreur : [2022-04-02 19:14:04][ERROR] : Erreur MODBUS : ‹ ModbusIOException › object has no attribute ‹ registers ›
Sur retour à la normal de l’automate, la communication refonctionne normalement
[2022-04-02 19:08:45]DEBUG : {'data': {'288': {}}, 'FUNC': 'readF'}
[2022-04-02 19:08:45]DEBUG : True
[2022-04-02 19:08:46]DEBUG : {'nameCmd': 'Source période occupation_Val', 'cmdId': '3657', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '2', 'wordorder': 'bigword', 'byteorder': 'bigbyte', 'offset': 0, 'decimal': 0}
[2022-04-02 19:08:46]DEBUG : Current transaction state - IDLE
[2022-04-02 19:08:46]DEBUG : Running transaction 1
[2022-04-02 19:08:46]DEBUG : SEND: 0x1 0x3 0x0 0x2 0x0 0x1 0x25 0xca
[2022-04-02 19:08:46]DEBUG : New Transaction state 'SENDING'
[2022-04-02 19:08:46]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-02 19:08:49]DEBUG : Transaction failed. (Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received))
[2022-04-02 19:08:49]DEBUG : Retry on empty response - 2
[2022-04-02 19:08:49]DEBUG : Changing transaction state from 'WAITING_FOR_REPLY' to 'RETRYING'
[2022-04-02 19:08:49]DEBUG : Sleeping 0.3
[2022-04-02 19:08:49]DEBUG : SEND: 0x1 0x3 0x0 0x2 0x0 0x1 0x25 0xca
[2022-04-02 19:08:52]DEBUG : New Transaction state 'SENDING'
[2022-04-02 19:08:52]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-02 19:08:55]DEBUG : Transaction failed. (Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received))
[2022-04-02 19:08:55]DEBUG : Retry on empty response - 1
[2022-04-02 19:08:55]DEBUG : Changing transaction state from 'WAITING_FOR_REPLY' to 'RETRYING'
[2022-04-02 19:08:55]DEBUG : Sleeping 0.6
[2022-04-02 19:08:55]DEBUG : SEND: 0x1 0x3 0x0 0x2 0x0 0x1 0x25 0xca
[2022-04-02 19:08:58]DEBUG : New Transaction state 'SENDING'
[2022-04-02 19:08:58]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-02 19:09:01]DEBUG : Transaction failed. (Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received))
[2022-04-02 19:09:01]DEBUG : Frame - [b''] not ready
[2022-04-02 19:09:01]DEBUG : Getting transaction 1
[2022-04-02 19:09:01]DEBUG : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-04-02 19:09:01]ERROR : Erreur MODBUS : 'ModbusIOException' object has no attribute 'registers'
[2022-04-02 19:09:01]DEBUG : {'nameCmd': 'Source période été_Hiver_Val', 'cmdId': '3659', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '3', 'wordorder': 'bigword', 'byteorder': 'bigbyte', 'offset': 0, 'decimal': 0}
[2022-04-02 19:09:01]DEBUG : Current transaction state - TRANSACTION_COMPLETE
[2022-04-02 19:09:01]DEBUG : Running transaction 2
[2022-04-02 19:09:01]DEBUG : SEND: 0x1 0x3 0x0 0x3 0x0 0x1 0x74 0xa
[2022-04-02 19:09:01]DEBUG : Changing state to IDLE - Last Frame End - None, Current Time stamp - 1648919341.939846
[2022-04-02 19:09:01]DEBUG : New Transaction state 'SENDING'
[2022-04-02 19:09:01]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-02 19:09:04]DEBUG : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-02 19:09:04]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-02 19:09:04]DEBUG : RECV:
[2022-04-02 19:09:04]DEBUG : Retry on empty response - 2
[2022-04-02 19:09:04]DEBUG : Changing transaction state from 'WAITING_FOR_REPLY' to 'RETRYING'
[2022-04-02 19:09:05]DEBUG : Sleeping 0.3
[2022-04-02 19:09:05]DEBUG : SEND: 0x1 0x3 0x0 0x3 0x0 0x1 0x74 0xa
[2022-04-02 19:09:08]DEBUG : New Transaction state 'SENDING'
[2022-04-02 19:09:08]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-02 19:09:11]DEBUG : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-02 19:09:11]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-02 19:09:11]DEBUG : RECV:
[2022-04-02 19:09:11]DEBUG : Retry on empty response - 1
[2022-04-02 19:09:11]DEBUG : Changing transaction state from 'WAITING_FOR_REPLY' to 'RETRYING'
[2022-04-02 19:09:11]DEBUG : Sleeping 0.6
[2022-04-02 19:09:11]DEBUG : SEND: 0x1 0x3 0x0 0x3 0x0 0x1 0x74 0xa
[2022-04-02 19:09:14]DEBUG : New Transaction state 'SENDING'
[2022-04-02 19:09:14]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-02 19:09:17]DEBUG : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-02 19:09:17]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-02 19:09:17]DEBUG : RECV:
[2022-04-02 19:09:17]DEBUG : Frame - [b''] not ready
[2022-04-02 19:09:17]DEBUG : Getting transaction 1
[2022-04-02 19:09:17]DEBUG : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-04-02 19:09:17]ERROR : Erreur MODBUS : 'ModbusIOException' object has no attribute 'registers'
[2022-04-02 19:09:17]DEBUG : {'nameCmd': 'Affect_SA_4', 'cmdId': '3664', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '4', 'wordorder': 'bigword', 'byteorder': 'bigbyte', 'offset': 0, 'decimal': 0}
[2022-04-02 19:09:17]DEBUG : Current transaction state - TRANSACTION_COMPLETE
[2022-04-02 19:09:17]DEBUG : Running transaction 3
[2022-04-02 19:09:17]DEBUG : SEND: 0x1 0x3 0x0 0x4 0x0 0x1 0xc5 0xcb
[2022-04-02 19:09:17]DEBUG : Changing state to IDLE - Last Frame End - None, Current Time stamp - 1648919357.87882
[2022-04-02 19:09:17]DEBUG : New Transaction state 'SENDING'
[2022-04-02 19:09:17]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-02 19:09:20]DEBUG : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-02 19:09:20]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-02 19:09:20]DEBUG : RECV:
[2022-04-02 19:09:20]DEBUG : Retry on empty response - 2
[2022-04-02 19:09:20]DEBUG : Changing transaction state from 'WAITING_FOR_REPLY' to 'RETRYING'
[2022-04-02 19:09:21]DEBUG : Sleeping 0.3
[2022-04-02 19:09:21]DEBUG : SEND: 0x1 0x3 0x0 0x4 0x0 0x1 0xc5 0xcb
[2022-04-02 19:09:24]DEBUG : New Transaction state 'SENDING'
[2022-04-02 19:09:24]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-02 19:09:27]DEBUG : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-02 19:09:27]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-02 19:09:27]DEBUG : RECV:
[2022-04-02 19:09:27]DEBUG : Retry on empty response - 1
[2022-04-02 19:09:27]DEBUG : Changing transaction state from 'WAITING_FOR_REPLY' to 'RETRYING'
[2022-04-02 19:09:27]DEBUG : Sleeping 0.6
[2022-04-02 19:09:27]DEBUG : SEND: 0x1 0x3 0x0 0x4 0x0 0x1 0xc5 0xcb
[2022-04-02 19:09:30]DEBUG : New Transaction state 'SENDING'
[2022-04-02 19:09:30]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-02 19:09:33]DEBUG : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-02 19:09:33]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-02 19:09:33]DEBUG : RECV:
[2022-04-02 19:09:33]DEBUG : Frame - [b''] not ready
[2022-04-02 19:09:33]DEBUG : Getting transaction 1
[2022-04-02 19:09:33]DEBUG : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-04-02 19:09:33]ERROR : Erreur MODBUS : 'ModbusIOException' object has no attribute 'registers'
[2022-04-02 19:09:33]DEBUG : {'nameCmd': 'Mode_fonct_Manu_Val', 'cmdId': '3666', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '5', 'wordorder': 'bigword', 'byteorder': 'bigbyte', 'offset': 0, 'decimal': 0}
[2022-04-02 19:09:33]DEBUG : Current transaction state - TRANSACTION_COMPLETE
[2022-04-02 19:09:33]DEBUG : Running transaction 4
[2022-04-02 19:09:33]DEBUG : SEND: 0x1 0x3 0x0 0x5 0x0 0x1 0x94 0xb
[2022-04-02 19:09:33]DEBUG : Changing state to IDLE - Last Frame End - None, Current Time stamp - 1648919373.819351
[2022-04-02 19:09:33]DEBUG : New Transaction state 'SENDING'
[2022-04-02 19:09:33]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-02 19:09:36]DEBUG : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-02 19:09:36]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-02 19:09:36]DEBUG : RECV:
[2022-04-02 19:09:36]DEBUG : Retry on empty response - 2
[2022-04-02 19:09:36]DEBUG : Changing transaction state from 'WAITING_FOR_REPLY' to 'RETRYING'
[2022-04-02 19:09:37]DEBUG : Sleeping 0.3
[2022-04-02 19:09:37]DEBUG : SEND: 0x1 0x3 0x0 0x5 0x0 0x1 0x94 0xb
[2022-04-02 19:09:40]DEBUG : New Transaction state 'SENDING'
[2022-04-02 19:09:40]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-02 19:09:43]DEBUG : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-02 19:09:43]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-02 19:09:43]DEBUG : RECV:
[2022-04-02 19:09:43]DEBUG : Retry on empty response - 1
[2022-04-02 19:09:43]DEBUG : Changing transaction state from 'WAITING_FOR_REPLY' to 'RETRYING'
[2022-04-02 19:09:43]DEBUG : Sleeping 0.6
[2022-04-02 19:09:43]DEBUG : SEND: 0x1 0x3 0x0 0x5 0x0 0x1 0x94 0xb
[2022-04-02 19:09:46]DEBUG : New Transaction state 'SENDING'
[2022-04-02 19:09:46]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-02 19:09:49]DEBUG : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-02 19:09:49]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-02 19:09:49]DEBUG : RECV:
[2022-04-02 19:09:49]DEBUG : Frame - [b''] not ready
[2022-04-02 19:09:49]DEBUG : Getting transaction 1
[2022-04-02 19:09:49]DEBUG : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-04-02 19:09:49]ERROR : Erreur MODBUS : 'ModbusIOException' object has no attribute 'registers'
[2022-04-02 19:09:49]DEBUG : {'nameCmd': 'Registre_6_A_gere_Val', 'cmdId': '3667', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '6', 'wordorder': 'bigword', 'byteorder': 'bigbyte', 'offset': 0, 'decimal': 0}
[2022-04-02 19:09:49]DEBUG : Current transaction state - TRANSACTION_COMPLETE
[2022-04-02 19:09:49]DEBUG : Running transaction 5
[2022-04-02 19:09:49]DEBUG : SEND: 0x1 0x3 0x0 0x6 0x0 0x1 0x64 0xb
[2022-04-02 19:09:49]DEBUG : Changing state to IDLE - Last Frame End - None, Current Time stamp - 1648919389.761234
[2022-04-02 19:09:49]DEBUG : New Transaction state 'SENDING'
[2022-04-02 19:09:49]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-02 19:09:52]DEBUG : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-02 19:09:52]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-02 19:09:52]DEBUG : RECV:
[2022-04-02 19:09:52]DEBUG : Retry on empty response - 2
[2022-04-02 19:09:52]DEBUG : Changing transaction state from 'WAITING_FOR_REPLY' to 'RETRYING'
[2022-04-02 19:09:53]DEBUG : Sleeping 0.3
[2022-04-02 19:09:53]DEBUG : SEND: 0x1 0x3 0x0 0x6 0x0 0x1 0x64 0xb
Pour l’écriture des bits, n’ayant pas la moindre information je ne connais pas la procédure de commande
Une mise à jour est arrivé ce jour
Mais le problème de perte de communication sur le Bus (suite à la perte d’un automate du bus) est toujours présent.
Le problème n’est toujours pas solutionné
Est il possible de connaitre les modifications de ces mises à jour ?
[2022-04-04 11:58:45][DEBUG] : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-04-04 11:58:45][ERROR] : Erreur MODBUS : 'ModbusIOException' object has no attribute 'registers'
[2022-04-04 11:58:45][DEBUG] : {'nameCmd': 'Source période été_Hiver_Val', 'cmdId': '3659', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '3', 'wordorder': 'bigword', 'byteorder': 'bigbyte', 'offset': 0, 'decimal': 0, 'operation': 0}
[2022-04-04 11:58:45][DEBUG] : Current transaction state - TRANSACTION_COMPLETE
[2022-04-04 11:58:45][DEBUG] : Running transaction 2
[2022-04-04 11:58:45][DEBUG] : SEND: 0x1 0x3 0x0 0x3 0x0 0x1 0x74 0xa
[2022-04-04 11:58:45][DEBUG] : Changing state to IDLE - Last Frame End - None, Current Time stamp - 1649066325.603713
[2022-04-04 11:58:45][DEBUG] : New Transaction state 'SENDING'
[2022-04-04 11:58:45][DEBUG] : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-04 11:58:48][DEBUG] : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-04 11:58:48][DEBUG] : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-04 11:58:48][DEBUG] : RECV:
[2022-04-04 11:58:48][DEBUG] : Retry on empty response - 2
[2022-04-04 11:58:48][DEBUG] : Changing transaction state from 'WAITING_FOR_REPLY' to 'RETRYING'
[2022-04-04 11:58:48][DEBUG] : Sleeping 0.3
[2022-04-04 11:58:48][DEBUG] : SEND: 0x1 0x3 0x0 0x3 0x0 0x1 0x74 0xa
[2022-04-04 11:58:51][DEBUG] : New Transaction state 'SENDING'
[2022-04-04 11:58:51][DEBUG] : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-04 11:58:54][DEBUG] : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-04 11:58:54][DEBUG] : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-04 11:58:54][DEBUG] : RECV:
[2022-04-04 11:58:54][DEBUG] : Retry on empty response - 1
[2022-04-04 11:58:54][DEBUG] : Changing transaction state from 'WAITING_FOR_REPLY' to 'RETRYING'
[2022-04-04 11:58:55][DEBUG] : Sleeping 0.6
[2022-04-04 11:58:55][DEBUG] : SEND: 0x1 0x3 0x0 0x3 0x0 0x1 0x74 0xa
[2022-04-04 11:58:58][DEBUG] : New Transaction state 'SENDING'
[2022-04-04 11:58:58][DEBUG] : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-04 11:59:01][DEBUG] : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-04 11:59:01][DEBUG] : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-04 11:59:01][DEBUG] : RECV:
[2022-04-04 11:59:01][DEBUG] : Frame - [b''] not ready
[2022-04-04 11:59:01][DEBUG] : Getting transaction 1
[2022-04-04 11:59:01][DEBUG] : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-04-04 11:59:01][ERROR] : Erreur MODBUS : 'ModbusIOException' object has no attribute 'registers'
[2022-04-04 11:59:01][DEBUG] : {'nameCmd': 'Affect_SA_4', 'cmdId': '3664', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '4', 'wordorder': 'bigword', 'byteorder': 'bigbyte', 'offset': 0, 'decimal': 0, 'operation': 0}
[2022-04-04 11:59:01][DEBUG] : Current transaction state - TRANSACTION_COMPLETE
[2022-04-04 11:59:01][DEBUG] : Running transaction 3
[2022-04-04 11:59:01][DEBUG] : SEND: 0x1 0x3 0x0 0x4 0x0 0x1 0xc5 0xcb
[2022-04-04 11:59:01][DEBUG] : Changing state to IDLE - Last Frame End - None, Current Time stamp - 1649066341.536274
[2022-04-04 11:59:01][DEBUG] : New Transaction state 'SENDING'
[2022-04-04 11:59:01][DEBUG] : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-04-04 11:59:04][DEBUG] : No response received, Expected 7 bytes Recieved 0 bytes !!!!
[2022-04-04 11:59:04][DEBUG] : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-04-04 11:59:04][DEBUG] : RECV:
[2022-04-04 11:59:04][DEBUG] : Retry on empty response - 2
[2022-04-04 11:59:04][DEBUG] : Changing transaction state from 'WAITING_FOR_REPLY' to 'RETRYING'
[2022-04-04 11:59:04][DEBUG] : Sleeping 0.3
[2022-04-04 11:59:04][DEBUG] : SEND: 0x1 0x3 0x0 0x4 0x0 0x1 0xc5 0xcb
[2022-04-04 11:59:07][DEBUG] : New Transaction state 'SENDING'
[2022-04-04 11:59:07][DEBUG] : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
Bonjour
Une nouvelle mise à jour ce jour du plugin ModBus (sans aucune information)
Installée et toujours les 2 mêmes problèmes
Surement que vous travaillez sur d’autres sujets au niveau de ce plugin mais ne sachant pas je vous transmets tout de même l’information
Cordialement
Bonjour, je viens d’acheter ce plugin : les fonctions de lectures fonctionnent, l’écriture simple registre aussi, mais la fonction d’écriture multiregistre présente deux problèmes :
- elle ne fonctionne pas (même la commande pré-créée)
- la création de commande d’écriture multiregistre crée une commande qui ne fonctionne pas.
Après des heures de tests vains j’ai fini par acheter une appli client modbus pour pouvoir débugger (ModbusTcpClient) et avec cette appli mes écritures de registres passent sans souci.
Pouvez-vous nous dire si ce plugin officiel payant est maintenu et si oui, pouvez-vous débugger cette fonctionnalité sans laquelle le plugin est en gros inutile ? Merci d’avance pour votre retour.
Cordialement, Jérôme
Autre bug, le port spécifié dans la config du plugin n’est pris en compte que pour la lecture, pour l’écriture c’est systématiquement le port 502 qui est utilisé.