News:

  • August 18, 2026, 10:49:30 AM

Login with username, password and session length

Author Topic: Question about slave  (Read 7690 times)

jasonsmith01234

  • Newbie
  • *
  • Posts: 1
Question about slave
« on: January 07, 2018, 12:33:03 PM »
If I have a communication fault with a slave (H2-EBC100 or GSEDRV-100) what status bit would indicate this?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6172
  • Yes Pinky, Do-more will control the world!
Re: Question about slave
« Reply #1 on: January 07, 2018, 01:09:38 PM »
If I have a communication fault with a slave (H2-EBC100 or GSEDRV-100) what status bit would indicate this?

There is a bit per slave in the Ethernet master structure. There is also a monitor dialog accessible from the dashboard and the menu.
"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

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6172
  • Yes Pinky, Do-more will control the world!
Re: Question about slave
« Reply #2 on: January 07, 2018, 02:46:45 PM »
Sorry...was not near a PC earlier and didn't remember the specific details.

The master's status structure is $EthIOMaster. There is a mask with flags of all 16 slave warnings ($EthIOMaster.SlaveWarnings), all 16 slave errors ($EthIOMaster.SlaveErrors), and individual error codes for each slave in the form of $EthIOMaster.SlaveXError.

You can also view these same codes from the Ethernet I/O Monitor  which is accessible from either the Dashboard (under I/O, left click Ethernet I/O Master and select the monitor) or from the Debug menu, under Ethernet I/O Monitor.
"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