carga2

MrPLC Member
  • Content count

    7
  • Joined

  • Last visited

Posts posted by carga2


  1. Hello, all.

     

    I wrote the communication driver for connecting to the Mitsubishi FX series controllers in C # using the programming port. I searched for this on the Internet and did not find it. Found this here https://github.com/blueskit/MitsubishiPlcProtocol.git, but there is no implementation of the protocol that is used when connecting via the port for programming. This is my first experience in writing such a program. I still have a lot of things to do in my project, in particular, there is no check of the checksum of the received package, well, various checks of the connection, etc. I will be glad if you help me refine it. The program is working, I spread it for those who had the same problem as me. Checked on the controller FX1N. Link to the project http://forums.mrplc.com/index.php?/files/file/1137-mitsubishiplcserialprotocol/&do=download&csrfKey=2dac8b5e4f1405047e19901768de0de9


  2. On 17.01.2018 at 9:42 PM, gclshortt said:

    The above thread will show you how to use modbus on your PLC.
    Regards,

    Garry

    Thank you for this solution. And you are working with Modbus for FX1N or other?

     

    On 18.01.2018 at 10:14 AM, Gambit said:

    I understand that you don't have a GOT but the GT2103P is cheaper than buying an ethernet card for the FX2N or buying MX OPC server.
    (in NL MX OPC is about 1.000 Euro a GT2103P about 250 Euro)

    MX OPC server has the protocol for FX CPU. 

    Whihc SCADA are you using ? Does your SCADA support Q ethernet and or OPC Client?

    I have own SCADA and it will support that protcol which I will do) But for this I need specification on protocol or existing libraries.


  3. On 16.01.2018 at 7:19 PM, gclshortt said:

    If you can get a Ethernet or Serial port on the unit then you can communicate Modbus TCP (Ethernet) or Modbus RTU (Serial).
    A computer running software such as AdvancedHMI has drivers already written that can get the information out of the PLC using the Modbus protocol. 

    AdvancedHMI is a free download that was written in VB.Net and runs on Visual Studio. This makes it an ideal way to communicate to databases.
    https://sourceforge.net/projects/advancedhmi/

    Regards,
    Garry

    But protocol to communication with FX1N is not Modbus. This PLC has own protocol - MX protocol, is not it?

     

    21 hours ago, Gambit said:

    Yes it like you understand it. The got will have a serial driver to talk to the fox and get the data you need. In the 2nd comm channel you use to be a virtual system Q. 

    Then you just use the data transfer function to copy the data from the fax to the virtual system q and vice versa.

    your Scada system needs the have the system q Ethernet driver. It will think it’s a q system but it will be communicating to the got.

    I have a gt2104 demo project and a description pdf I can send you. I’ve used this function and it works great. 

    But I dont have the GOT.

    One man sad me that I can use programm port(8 pin) on PLC and MX OPC Server on PC. The problem is that PLC has own communication protocol and I need communication driver fo this protocol. I will try to connect to PLC via programm port when I get cable and will tell about result. But if someone ever did this, please tell us.


  4. I don't have any GOT. 

    I tried to imagine your solution. It is true that you mean?

    Can I change GOT on PC? Just exclude GOT from this scheme. How I can get data registers from PLC. Which way I should use? Use somthing already existing communication driver or I should create own driver based on Melsec Communication protocol?

    1.png

     

     

     

     


  5. Hello all! I have a FX1N-60MR. I need to display the contents of their data registers to the SCADA system. If you look at the product catalog, there are a few solutions either install into the slot of the additional equipment interface adapter FX1N-CNV-BD connect the communications adapter FX2NC-ENET-ADP, but this raises the question - what Protocol is used?, either install in the slot of the additional equipment interface adapter FX1N-CNV-BD connect the communication module FX2NC-485ADP, but this raises the same question - what Protocol is used? Whether it is necessary in both cases to modify the program code in the PLC, do I need to configure extra modules? What typical solution to this problem?