Author Topic: Is the Advanced HMI program the Master or the Slave?  (Read 1312 times)

MrOverCast

  • Newbie
  • *
  • Posts: 15
    • View Profile
Is the Advanced HMI program the Master or the Slave?
« on: October 26, 2024, 11:41:10 PM »
Hey guys

Seems kind of like a dumb question, but is Advanced hmi acting as the slave or the master? when I make my PLC the slave it works perfectly fine, But when I program the PLC as the Master the TXD light on my converter flashes and thats it about it, I get no response from the plc, Is there a way to change this or???

Im using modbus RTU with an FX3U PLC

and insights would be great. Thanks

bobbh95

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Is the Advanced HMI program the Master or the Slave?
« Reply #1 on: October 27, 2024, 01:13:22 AM »
What converter are you using?

MrOverCast

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Is the Advanced HMI program the Master or the Slave?
« Reply #2 on: October 27, 2024, 01:15:01 AM »
What converter are you using?

Waveshare USB to RS232/485/TTL

bobbh95

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Is the Advanced HMI program the Master or the Slave?
« Reply #3 on: October 27, 2024, 01:32:35 AM »
According to the User Manual for that Converter - pages 3 and 4 of the document - a flashing light on the TXD LED indicates that it is successfully transmitting data.

Without knowing anything else about your setup, I can only spit a few links at you and hope one of them is helpful.

https://forums.mrplc.com/index.php?/topic/20120-fx3u-as-modbus-slave/ Modbus RTU and FX3U
https://forum.arduino.cc/t/how-to-use-modbus-rtu-to-communicate-esp8266-with-plc-fx3u-slave/1062509 Same as above, but also with arduino/C-ish language
https://www.daudin.co/uploads/images/Download/Connection%20Operation%20Manual_EN/M/iO-GRID_M_Modbus_RTU_Connection_Operating_Manual(FX3U)_EN.pdf An actual MODBUS RTU manual for the FX3U PLCfrom a maybe kindasketchyplace

But as far as data transfer is concerned - it is happening. The flashing TXD light indicates as much.

Here, from the document in question:

Quote
 LED indicators:
 PWR: red power indicator, light up when there is USB connection and voltageis detected
 TXD: green TX indicator, light up when the USB port sends data
 RXD: blue RX indicator, light up when the device ports

MrOverCast

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Is the Advanced HMI program the Master or the Slave?
« Reply #4 on: October 27, 2024, 03:26:39 AM »
According to the User Manual for that Converter - pages 3 and 4 of the document - a flashing light on the TXD LED indicates that it is successfully transmitting data.

Without knowing anything else about your setup, I can only spit a few links at you and hope one of them is helpful.

https://forums.mrplc.com/index.php?/topic/20120-fx3u-as-modbus-slave/ Modbus RTU and FX3U
https://forum.arduino.cc/t/how-to-use-modbus-rtu-to-communicate-esp8266-with-plc-fx3u-slave/1062509 Same as above, but also with arduino/C-ish language
https://www.daudin.co/uploads/images/Download/Connection%20Operation%20Manual_EN/M/iO-GRID_M_Modbus_RTU_Connection_Operating_Manual(FX3U)_EN.pdf An actual MODBUS RTU manual for the FX3U PLCfrom a maybe kindasketchyplace

But as far as data transfer is concerned - it is happening. The flashing TXD light indicates as much.

Here, from the document in question:

Quote
 LED indicators:
 PWR: red power indicator, light up when there is USB connection and voltageis detected
 TXD: green TX indicator, light up when the USB port sends data
 RXD: blue RX indicator, light up when the device ports

Advanced hmi is requesting a signal. (thats why the TDX light is flashing) meaning what im assuming is advanced hmi is the master

bobbh95

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Is the Advanced HMI program the Master or the Slave?
« Reply #5 on: October 27, 2024, 10:39:21 AM »
I got a good night's sleep and did a bit of Googling -

Perhaps these threads from... nine years ago may be of interest to you.

https://www.advancedhmi.com/forum/index.php?topic=829.0
https://www.advancedhmi.com/forum/index.php?topic=765.0 Specifically the 2nd response from Godra - beginning with "For those who might be interested"

MrOverCast

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Is the Advanced HMI program the Master or the Slave?
« Reply #6 on: October 27, 2024, 01:54:49 PM »
I got a good night's sleep and did a bit of Googling -

Perhaps these threads from... nine years ago may be of interest to you.

https://www.advancedhmi.com/forum/index.php?topic=829.0
https://www.advancedhmi.com/forum/index.php?topic=765.0 Specifically the 2nd response from Godra - beginning with "For those who might be interested"

So from what I read I was right and there is no way to make Advanced HMI the master? apparently there are no component for a slave?

MrOverCast

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Is the Advanced HMI program the Master or the Slave?
« Reply #7 on: October 28, 2024, 01:23:38 AM »
Does anybody have any other solutions or am I just dead in the water?