WKla Posted November 19, 2006 Report Posted November 19, 2006 Hello. Does FX1N, FX2N supports modbus communications? I want to use a modbus protocol for communication with FX over ethernet or serial port, instead of using the standard protocol described in the communication manual from Mitsubishi. Thank you.
Gambit Posted November 20, 2006 Report Posted November 20, 2006 (edited) Hi, No there isn't a module for modbus but if you are using GX IEC Developer there is a free FB block which will communicate modbus via a standard RS232 BD board. Edited November 20, 2006 by Gambit
WKla Posted November 20, 2006 Author Report Posted November 20, 2006 Hello Gambit. You must be thinking to ModbMFX file. I have some questions about this library and examples described there: 1. What program is loaded on the FX1N slave PLC? 2. How can I use this library to make the FX respond to modbus queries from a PC program? Thank you.
FNMdeJong Posted November 28, 2006 Report Posted November 28, 2006 Yoiu are correct about the library ModbMFX. This is the library for the master. There is also a slave library called ModbSFX. By this one you can communicate (respond) to a PC.
mjrx Posted December 2, 2006 Report Posted December 2, 2006 Where do you get this ModbMFX and is the code available for conversion to regular GX Developer? I have been looking for something like this for awhile. I have suggested to Mitsubishi they develop a Modbus module for the FX, it would open up a whole world of SCADA/RTU apps.
Supporter Posted December 3, 2006 Report Posted December 3, 2006 (edited) Hi, One work around could be to connect an E-terminal to the FX-system. Since the terminal supports dual drivers you could let the second driver be Modbus slave (and the Scada Modbus Master). Then you can use either the modbus slave's built-in protocol conversion (mapping from/to Modbus to/from the FX-system) or use the data-exchange channels. I don't know if this suggestion is adaptable for your application but maybe?! I also believe that the Modbus code only exists in a GX IEC Developer version since GX Developer does not support function blocks. //Supporter Edited December 3, 2006 by Supporter
FNMdeJong Posted December 4, 2006 Report Posted December 4, 2006 See the download link for the download for GX-IEC Library's. For conversion from GX-IEC to GX- Developer, just donwload it to a PLC and UPLOAD it in GX-Developer. Another good suggestion is like the supporter said, use an E-Terminal. MODBUS.zip
mjrx Posted December 4, 2006 Report Posted December 4, 2006 (edited) But I need to have GX IEC first before I can download it to a PLC, right? Edited December 4, 2006 by mjrx
FNMdeJong Posted December 5, 2006 Report Posted December 5, 2006 Yes you are correct about that. First make the project in GX-IEC, download it in the PLC and upload it in GX Developer. Then you have the source code of the Modbus protocoll in Ladder.
mjrx Posted December 5, 2006 Report Posted December 5, 2006 Thats my problem, I don't have GX IEC only GX Developer.
phu_vinh77 Posted August 14, 2012 Report Posted August 14, 2012 Hi! I'm a beginner PLC Mitsubbishi. Can you give to me example code ladder about Modbus communication RS485 for FX series in GX IEC Developer ? Thanks! Email: phuvinh77@gmail.com 1
Love PLC Posted April 27, 2015 Report Posted April 27, 2015 (edited) Hello everybody. Does someone test the modbus library then? I have download and use it in GX IEC developer 7.04, but while I Build project with modbus slave library, I have 100 warning and the project can't build. Someone have problem like me? Edited April 27, 2015 by Love PLC
Bryll Posted April 27, 2015 Report Posted April 27, 2015 (edited) Select from the menu "Extras -> Options" and then in the window that pops up "Project options -> Compiler". There you can disable warnings that you can consider not to be important. Guess you have to increase the "Word range" in the "Systems variables" tab as well (same window). Edit: This is for GX IEC Developer, don't know how to do it in the other programs. Edited April 27, 2015 by Bryll
DaMage Posted May 25, 2015 Report Posted May 25, 2015 Hi! Could anyone please transfer and upload the modbus FB in GX developer project form for FX1S? Thanks in advance.
triee Posted August 22, 2019 Report Posted August 22, 2019 On 5/7/2015 at 4:43 PM, Love PLC said: It works. Thanks! :) Can you share the ladder in zip ?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now