Author Topic: Slave Device Busy Error  (Read 1026 times)

larryhts

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Slave Device Busy Error
« on: February 15, 2019, 12:50:06 PM »
I am using a 10 inch AHMI touch panel PC connecting to a P2-550 PLC with The modbusTCP driver.
The panel Software is ver 3.99X .  So far I have 3 basicbuttons that address the modbus fine and work. When I tried to use a Basiclabel to write to the PLC “400025” a 32 bit Integer I get “Slave Device Busy”?
I tried an Analogvaluedisplay with same error. I tried different integers always the same Slave Device Busy error.
I have 10 AHMI App running on our server and 1 other 10 inch panel running with no trouble.
?????

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5266
    • View Profile
    • AdvancedHMI
Re: Slave Device Busy Error
« Reply #1 on: February 15, 2019, 01:26:01 PM »
That is an error returned directly from the device. First try setting the MaxGroupReadSize to 1 to eliminate the possibility that it doesn't like multiple addresses being read simultaneously.

Are you running the same version of AdvancedHMI on your other applications?

Is it possible the PLC may be using Enron Modbus protocol that has 32 bit registers instead of 16 bit. In AdvancedHMI, when using a 32 bit address (e.g. 40025@L) it reads 2 separate registers, then combines them. Are you using 400025 or 400025@L (could also be L400025)?

larryhts

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Re: Slave Device Busy Error
« Reply #2 on: February 15, 2019, 01:40:19 PM »
Archie, I was using 400025@L and when I changed to L400025 it works fine. Out of 12 app's this is the first time I have seen that error. Thanks for the help. Your support is the best I have seen.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5266
    • View Profile
    • AdvancedHMI
Re: Slave Device Busy Error
« Reply #3 on: February 15, 2019, 01:44:38 PM »
Version 3.99x was in transition from the prefix style to the suffix style of address modifiers. It was supposed to support both, but it sounds like there is a bug in using @L

larryhts

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Re: Slave Device Busy Error
« Reply #4 on: February 18, 2019, 09:51:49 AM »
The L400025 worked for the int but I am having trouble with strings I have tried 400023@S16, 400023@S, S400023, nothing seems to work.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5266
    • View Profile
    • AdvancedHMI
Re: Slave Device Busy Error
« Reply #5 on: February 18, 2019, 10:52:49 AM »
Can you do a quick test with the 3.99y Beta version to see if it works:

https://www.advancedhmi.com/forum/index.php?topic=2058.45


larryhts

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Re: Slave Device Busy Error
« Reply #6 on: February 18, 2019, 11:12:09 AM »
It works in 3.99y Beta19