FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
09-04-2024 10:25 AM - edited 09-06-2024 01:51 PM
Hi There,
I'm using the AWS IoT Client and I ran into an abnormal problem, for atleast a month now.Im using the AWS mqtt to client with a contineus connection. I observe (almost daily) that i dont recieve any mqtt messages on the broker from the PLC. If i check the PLC software it's green flags across the bord. No error at all and the program seems to work as intended, message are created and giving to the publish FB and 'send' according to the publish FB.
The not recieving any message on the AWS broker typically happens around 7am. This lasts until +/- 7u20 and then the AWS Client has the error "TCP_WRITE_ERROR". After the error we reset the xEnable input of the AWS client and the connection is re-established without any problem. And i recieve message at the broker side again.
Any ideas where the source of the problem may lay?
Kind regards
p.s. in attachment the error with timestamp. The time the error pops-up is always close to 07:20
09-25-2024 10:00 AM
To get closer to the cause, it might be interesting to know what are the conditions/causes for a mqtt TCP_WRITE_ERROR?
An internet search has given me only generic answers.