News:

  • June 28, 2026, 08:37:42 AM

Login with username, password and session length

Author Topic: Ethernet Master Error reporting  (Read 7582 times)

russher

  • Jr. Member
  • **
  • Posts: 17
Ethernet Master Error reporting
« on: October 10, 2014, 12:46:29 PM »
The Do-More Designer HELP file indicates that ST153 "will be ON when the Ethernet I/O Master detects an error with one of its Ethernet I/O Slaves - most likely an Ethernet I/O Slave is offline".
When pulling the Ethernet cable from an Expansion Rack I can see in the I/O System View the resulting error, but ST153 remains OFF. Am I missing something?
Essentially I am looking for a way of creating an alarm in my HMI when an expansion rack is not communicating.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: Ethernet Master Error reporting
« Reply #1 on: October 10, 2014, 08:02:00 PM »
ST153 should come on unless the remote is marked as optional by the "CPU remains in RUN mode on slave error" in the configuration. If optional, the base error is not considered a master error. You can still check the status of the individual slave through the $EthIOMaster structure.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

russher

  • Jr. Member
  • **
  • Posts: 17
Re: Ethernet Master Error reporting
« Reply #2 on: October 21, 2014, 10:19:03 AM »
Thanks for your reply BobO.
I am finding that ST153 only turns ON when the "CPU remains in RUN mode on slave error" is disabled - in other words, on a slave error the CPU goes to PROGRAM mode. I'm finding that this defeats the purpose as my MMI won't pick up that the ST153 is ON because the CPU is no longer in RUN.
Your suggestion, however, to use the $EthIOMaster structure - more specifically the $EthIOMaster.Error - seems to work well for creating an MMI alarm when an expansion rack goes down. I am then using the $EthIOMaster.Slave0Error to report the Last Error Code.
Thanks.