wlederer
MrPLC Member-
Content count
84 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by wlederer
-
Thank You Bryll for the answer. I tried FX3U-485ADP-MB as a serial master and the FX3U-ENET P502 as a Modbus TCP server. I works fine. Now the question how to add another serial Modbus unit as a slave? Will it work with FX3u-485-BD?
-
Thank You kaare_t for the answer. What are PLC parameters required (ch1, ch2) in this case?
-
The problem is with the structured ladder.
-
Following an advice from the forum, some blocks will be written in structured text (calculation) and other in structured ladder (filter cleaning process and other).
-
May be I don't need pointers. The task is to start periodically a filter cleaning process. There is a motor with wiper moving between 2 limit switches, one stroke in one direction, and the next stroke back. Two outputs for motor, some inputs for control and limit switches. It must be a stop delay between strokes (not to breake the gearbox) and an output "Error" if the cleaning is too long. I did everything in one program with pointers in a simple project, but now want to try it in the structured one. Should I write a special function block, separate program, or may be, there is something ready at Mitsubishi? regards, Waldemar
-
Tried to put label "P21:" to control flow of my program. Compiled without errors but after download the "Error" LED on PLC was flashing. The error message was "P or I label not found". In simple project there was no problem with the labels in program. I put labels with double click on the left bar of the program and called them with "Call" function. How to put them correct in the structured project? Regards, Waldemar
-
Thank You very much. Regards, Waldemar
-
Thank You very much dear KAZAH, I did not notice it at the first time. But, what can You recommend as ST tutorial with theory and programming examples..? Regards, Waldemar
-
Thank You for the answers. Yes, there is some math calcullation. I did not find the structured text in the jy997d34801. Are ST manuals for Q suitable for FX-PLC as well? Regards, Waldemar
-
I am trying to combine different programming examples downloaded from Mitsubishi into one project in GX Works2. At first, it was Modbus TCP Client for FX3U. It worked correct with the unit FX3U-ENET and with Modbus Slave program running on an external laptop. Another example was FX3MBModbusRTUMaster_V100 wich supposes to work with FX3U-485ADP-MB and with an external sensor. When I opened this example separately, there was no problem with compilation, actually, the project was ready to download. After that, I copied the program FX3MBModbusRTUMaster_PRG and pasted it to the TCP project. I could not find any *.sul files in the ModbusRTU project. So, I right clicked the FX3MBModbusRTUMaster_V100 library, chose "Save As" and saved it with the same name in the TCP project. Then opened the TCP project and installed this library, added the new program to the existing task and clicked "Rebuild All". There was an error: FX3MBModbusRTUMaster_PRG "Wrong device or label. Not declared(Ladded block No.9)". The error message was pointing to the function block: +ModbusComm FX3MBModbusRTUMasterCh1. What did I wrong? regards, Waldemar
-
How to copy a program in GW2 from one project to another?
wlederer replied to wlederer's topic in Mitsubishi
Thank You very much for the help. I'll try to get the newer PLC and software. Now, to add the Modbus RTU to an existing project, we have to: 1. Download the appropriate programming example for GX Works2, e.g. FX3MBModbusRTUMaster_V100 2. Open the example, open the library used, then right click and "copy as" with a new name (if no separate library download available). 3. Copy the program in the example e.g. FX3MBModbusRTUMaster_PRG. 4. Paste the copied program into the actual project. 5. Install the new library into the actual project. 6. Add the new program in the task. Is that correct? Regards, Waldemar -
How to copy a program in GW2 from one project to another?
wlederer replied to wlederer's topic in Mitsubishi
Found that the PLC version I use (FX3U V2.23) is too old for the Modbus. http://forums.mrplc....showtopic=15248 Is it possible to upgrade firmware? Regards, Waldemar -
How to copy a program in GW2 from one project to another?
wlederer replied to wlederer's topic in Mitsubishi
Thank You Crossbow, could not find the option You mentioned in the Version 1.55H. Regards, Waldemar -
How to copy a program in GW2 from one project to another?
wlederer replied to wlederer's topic in Mitsubishi
Thank You kaare_t, in the programming example FX3U Modbus RTU Master for GX IEC Developer there is the separate library file FX3MBModbusRTUMaster_V200.sul, but in the similar example for GX Works2 the library is inside the project. Don't know where to get it separately. regards, Waldemar -
How to copy a program in GW2 from one project to another?
wlederer replied to wlederer's topic in Mitsubishi
Replaced functions, but after download the "Error" LED was still flashing. Tried another program GX IEC Developer V7.04. Downloaded the programming example FX3MBModbusRTUMaster_V200, replaced the function block FX3MBModbusRTUMasterCh1 with FX3MBModbusRTUMasterCh2. After compilation there was no errors, 2 warning only. After download, at first there was no errors, but no "Run" as well. After clicking "RUN-STOP" to stop and back to run, the "Error" LED start flashing. The Diagnostics did show the Syntax error 6506, step 513. The same reaction was when I tried "Online-Change Mode" on my programming laptop. Disconnection the unit FX3U-ENET did not help. May be settings for FX3U-485ADP-MB are wrong? Regards, Waldemar -
How to copy a program in GW2 from one project to another?
wlederer replied to wlederer's topic in Mitsubishi
I guess, what the problem is. Though, the programming example is labeled as GX_Works2, the old functions like MOV_M. SET_M ... are not replaced with MOV, SET.... But, why compilation did not show errors? Going to replace them myself. Will see what happens. Regards, Waldemar -
How to copy a program in GW2 from one project to another?
wlederer replied to wlederer's topic in Mitsubishi
You are right, thank You very much. Now there is no error by compilation, but another problem. After downloading the program the PLC's LED "Error" is flashing. The Diagnostics shows Moderate, Syntax Error No 6506, Error Step 544. How to use the information, to fix the problem? How to find step 544? Regards, Waldemar -
How to copy a program in GW2 from one project to another?
wlederer replied to wlederer's topic in Mitsubishi
Thank You for the answers. What is confusing, if the programming example for FX3U Modbus RTU Master for GX IEC unzipped, the library file FX3MBModbusRTUMaster_V200.sul is present. If the similar example for GX Works2 unzipped, in the folder the library file is missing, but in the project the library is installed. OK, this time I tried to do other way round, at first, opened the example for Modbus RTU meaning to add the TCP option later. The RTU project was OK, no errors after compilation, but the function block used was: FX3MBModbusRTUMasterCh1. The Ch1 in my setup is used for USB Board, so I deleted this block and selected the FX3MBModbusRTUMasterCh2, named it as ModbusCommCh2 and connected labels. After “Rebuild All” an error came up: “A function block instance has not been declared. (Ladder block No. 9)” Pointing to the rung where the function block was replaced. The error code C2015. What is wrong? Regards, Waldemar -
Hello to everybody. Our management want to offer our customers MODBUS TCP protocol for communication. A FX3U PLC is used and the block FX3U-ENET added for this purpose. I found an example for the GX IEC Developer. What is confusing: they don't speak about master and slaves, but about server and client. What is the difference? After some efforts it seems to work, when FX3U-ENET is a slave. As a master a laptop with Simply Modbus 7.0 is used. But how can I make FX3U-ENET a master? For configuration I used FX Configurator EN. Is this correct? When Open system was chosen "Unpassive" it worked OK as a slave. Then I changed configutation to "Active", added port number and IP address of the test laptop, downloaded configuration to the PLC, verified the configurations (it matched). After that I read the configuration from PLC and when clicking the "Open settings" got an error message telling me that setting are back to default. Found there again "Unpassive" without IP address and port number of the test laptop. What is wrong? Regards, Waldemar
-
Created a structured project in GX Works2. Tried to compress it, but without succsess. The compress button always remaned grey. What is wrong? regards, Waldemar
-
How to compress a project for backup in GX Works2
wlederer replied to wlederer's topic in Mitsubishi
Thank You Gambit. Another question: If I want to make backup on external USB, which function should be used, "Compress" or "Save as"? regars, Waldemar -
It is OK now. After the library is open then go to functions blocks and double click. Thank You very much for the help.
-
Thank You for the help. Sorry, after I clicked "Open" nothing appeared on the screen. Where is it hidden? Regards, Waldemar
-
Sorry, could not find the option "Open" after right click. One option was "Write to CSV file, but after click this, there was a message: "Currently displayed label information will be written. Do You want to continue? Caution -Structure device setting information will not be written" Actually, the information about labels only was in the CSV file. P.S. Got answer from Mitsubishi support about addressing extended registers. In the function block FX3UModbusTCPServer there is an input RegiterTypeDorR. If it is set to true it will address D registers, if false - R. regards, Waldemar
-
Did You do it in C++ or C#? Looked on ther site, that the latest OS they support is Windows 2000, is that true? http://www.mitsubishi-automation.co.uk/products/software_mx_components_content.htm?distributor=0#top regards, Waldemar