User Tools

Site Tools


connecting_to_melsec

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
connecting_to_melsec [2020/05/28 09:39]
emozolyak
connecting_to_melsec [2021/07/23 14:32] (current)
emozolyak
Line 1: Line 1:
 ====== Connecting to Mitsubishi PLC with MELSEC protocol ====== ====== Connecting to Mitsubishi PLC with MELSEC protocol ======
  
 +----
 +
 +{{ ::fx5u_pic.jpg?nolink&200|}}
 To work with Mitsubishi PLCs supporting the MELSEC protocol (the generation which is programmed in __GX Works3__ eng. tool), it must be first configured the network configuration and explicitly indicated that there will be a host (in our case WebHMI) in the network that will poll the PLC with this protocol. This is done in the visual design environment of GX Works3. You need to go to the Parameter / FX5U CPU / Module parameter / Ethernet port and 'drag' the required communication modules from the 'Ethernet Device' window: To work with Mitsubishi PLCs supporting the MELSEC protocol (the generation which is programmed in __GX Works3__ eng. tool), it must be first configured the network configuration and explicitly indicated that there will be a host (in our case WebHMI) in the network that will poll the PLC with this protocol. This is done in the visual design environment of GX Works3. You need to go to the Parameter / FX5U CPU / Module parameter / Ethernet port and 'drag' the required communication modules from the 'Ethernet Device' window:
  
-{{::melsec_shot1.png?direct|}}+{{ ::melsec_shot1.png?direct&800 |}}
  
  In addition to Melsec, you need to add SLMP protocol handlers, because Melsec uses SLMP services, it is also necessary to remember the selected IP address and Port No. for exchange.   In addition to Melsec, you need to add SLMP protocol handlers, because Melsec uses SLMP services, it is also necessary to remember the selected IP address and Port No. for exchange. 
  
 You also need to check that the Melsec exchange is allowed in the Application Settings: You also need to check that the Melsec exchange is allowed in the Application Settings:
-{{::melsec_shot2.png?direct|}}+{{ ::melsec_shot2.png?direct&800 |}}
  
 In connection properties in WebHMI, you must specify the IP address and port from the above properties in the controller project: In connection properties in WebHMI, you must specify the IP address and port from the above properties in the controller project:
-{{::melsec_shot_3.png?direct&600|}}+{{ ::melsec_shot_3.png?direct |}}
  
   Please test first the PLC you're going to use with WebHMI, e.g. with virtual machine demo image,    Please test first the PLC you're going to use with WebHMI, e.g. with virtual machine demo image, 
   some firmware vestions of the  Q/L series have been reported as not supported with WebHMI protocol    some firmware vestions of the  Q/L series have been reported as not supported with WebHMI protocol 
   implementation. The driver supports ONLY 3E/4E frame types.    implementation. The driver supports ONLY 3E/4E frame types.