Author Topic: Getting Invalid SLC/Micro Address Again  (Read 1071 times)

DavidSr

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Getting Invalid SLC/Micro Address Again
« on: October 04, 2019, 03:24:55 AM »
BETA 33 -

PLC 5/20  Using Serial DF1 protocol for HMI


Archie I have two compact gauges reading N22:134 and N22:135 respectively They are working fine but I decided to put an analog value display to the gauge front reading the same words.
The Analog display toggles between the correct value, then to the error message "Invalid SLC/Micro Address - 0"  about every 5 seconds.

Click on gauge image to see error displayed at 1 sec interval
« Last Edit: October 04, 2019, 05:01:22 AM by DavidSr »
David

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Getting Invalid SLC/Micro Address Again
« Reply #1 on: October 04, 2019, 08:26:02 AM »
Check all of your PLCAddress* properties. You have a "0" in one of them.

DavidSr

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Getting Invalid SLC/Micro Address Again
« Reply #2 on: October 04, 2019, 09:54:57 AM »
Sure enough, I missed one-- . Thanks Archie!.  But could you explain why it would read the value correctly every 5 seconds?
David

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Getting Invalid SLC/Micro Address Again
« Reply #3 on: October 04, 2019, 10:23:15 AM »
The display time for an error is 5 seconds, then it reverts back to the previous display value. So if you had a valid address in PLCAddressValue, but an invalid address in PLCAddressVisible it would show the error every 5 seconds and revert back to the valid display