Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ClickPLC driver now failing after upgrade
#1
I upgraded to the last posted beta the other day and while the install went OK.

A day or two later the ClickPLC driver went off line and the logs indicate that the PLC address is wrong, sometimes its the wrong function in the reply.

Code:
09/21 20:42:24-Zeus01, CQCServer, CQCDrv_HousePLCThread13
{
    CQCGenDrvS, MEng.User.CQC.Drivers.Koyo.ClickPLC.DriverImpl.196, Status/App Status
    <SendMessage>: sent 8 bytes [01030000000EC40E]
}
09/21 20:42:24-Zeus01, CQCServer, CQCDrv_HousePLCThread13
{
    CQCGenDrvS, MEng.User.CQC.Drivers.Koyo.ClickPLC.DriverImpl.196, Status/App Status
    <GetIncomingData>: got 33 bytes [0001A98F01031C000A00140000001E000500000000000F004400140000159E0014]
}
09/21 20:42:24-Zeus01, CQCServer, CQCDrv_HousePLCThread13
{
    CQCGenDrvS, MEng.User.CQC.Drivers.Koyo.ClickPLC.DriverImpl.494, Status/App Status
    <GetIncomingData>: Wrong PLC Address received 0


I have not analyzed the data string yet to confirm the correct message is going out, but the PLC is responding so its going to be a valid message.

If I pause the driver and then restart it everything is good - the driver goes back on line and the driver is processing the data correctly.

Any ideas as to why this could be happening?
Mykel Koblenz
Illawarra Smart Home
Reply
#2
Which of those characters make up the address?
Dean Roddey
Explorans limites defectum
Reply
#3
From memory the first two

The message is going to the correct address but the returning message is from address 0.

Not saying its CQC, but my initial suspicion is CQC is pulling the wrong data from the replies coming back.

As quick test this morning, I powered down the PLC and the driver picked up and ran fine. So the issue could be with the PLC - something I find harder to believe but not impossible. More testing tonight.
Mykel Koblenz
Illawarra Smart Home
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Driver for Amazon 4k Stick Darrie 3 594 01-15-2022, 02:21 PM
Last Post: znelbok
  ExecApp Action Failing Shaky 2 528 11-02-2021, 08:17 PM
Last Post: Shaky
  CQSL Interface Driver connects but no control NightLight 3 658 10-26-2021, 01:12 PM
Last Post: NightLight
  Pentair driver tom 5 2,037 08-02-2020, 11:29 PM
Last Post: kblagron
  Marantz receiver driver (IP) dlmorgan999 6 2,145 05-15-2020, 03:32 PM
Last Post: dlmorgan999
  Variables Driver Client gReatAutomation 4 1,732 04-25-2020, 12:46 PM
Last Post: gReatAutomation
  Reconfig of Driver Causes Built In Triggers to Fire gReatAutomation 2 1,301 03-25-2020, 04:09 PM
Last Post: gReatAutomation
  Lutron RadioRA2 Driver and Lutron Visor Control gReatAutomation 29 11,590 03-19-2020, 01:03 PM
Last Post: gReatAutomation
  Timers Driver / Field Time Image / Seconds gReatAutomation 1 1,202 03-16-2020, 05:48 PM
Last Post: Dean Roddey
  Problem with Accesssing Variables Driver Client Interface kblagron 5 2,217 03-05-2020, 02:24 PM
Last Post: kblagron

Forum Jump:


Users browsing this thread: 1 Guest(s)