Activity for ModbusPal - a Java MODBUS simulator

  • Konstantin Montikov Konstantin Montikov posted a comment on discussion Help

    Hi, I'm trying to use ModbusPal with the serial port. First time ModbuslPal indicated the missing RXTX library. I've got the latest stable rxtx 2.1-7r2 from http://rxtx.qbang.org/ and installed it: java -jar ModbusPal.jar -install Installing RXTX component... os.name returns "Windows 11" Install RXTX on Windows... java.home returns "C:\Program Files (x86)\Java\jre-1.8" 64-bit architecture detected... Installing "rxtx/win-x64/RXTXcomm.jar" to "RXTXcomm.jar" OK. Installing "rxtx/win-x64/rxtxParallel.dll"...

  • Drakelet Drakelet posted a comment on discussion Help

    This seeemed to work for me! ModbusPal 1.6c on ControlThings 1bD (i.e. both latest). Amazing :-)

  • archtyriel archtyriel posted a comment on discussion Help

    Noticed that running this as root also seems to completely fix the UI/Scaling issues: sudo /usr/lib/jvm/java-1.10.0-openjdk-amd64/bin/java -jar ./ModbusPal.jar YMMV

  • archtyriel archtyriel modified a comment on discussion Help

    I experienced the same issue. It appears to be something to do with a recent java version in combination with the Gnome fonts. From the recent ControlThings, there's other versions of jdk installed that you can try out: java-1.10.0-openjdk-amd64/ java-1.11.0-openjdk-amd64/ java-1.8.0-openjdk-amd64/ I had my best luck with 1.10.0: /usr/lib/jvm/java-1.10.0-openjdk-amd64/bin/java -jar /usr/local/share/ModbusPal.jar But you still need to scroll text fields which is annoying: But the issue still persisted...

  • archtyriel archtyriel posted a comment on discussion Help

    I experienced the same issue. It appears to be something to do with a recent java version in combination with the Gnome fonts. From the recent ControlThings, there's other versions of jdk installed that you can try out: java-1.10.0-openjdk-amd64/ java-1.11.0-openjdk-amd64/ java-1.8.0-openjdk-amd64/ I had my best luck with 1.10.0: /usr/lib/jvm/java-1.10.0-openjdk-amd64/bin/java -jar /usr/local/share/ModbusPal.jar But you still need to scroll text fields which is annoying: But the issue still persisted...

  • Drakelet Drakelet posted a comment on discussion Help

    Expected: Source: https://youtu.be/oVDYaG2HInU?t=3484 Actual: ModbusPal installed via https://www.controlthings.io/platform (VirtualBox VM) Anyone know the cause or a solution? Changing the resolution doesn't make a difference. Cheers

  • Kamil Jarmusik Kamil Jarmusik posted a comment on discussion Open Discussion

    Hello, I have made the following corrections to your project: 1) Add -noGui option in command and allow to run the tool in "headless" mode without gui; 2) Corrected relational paths for -loadFile option; 3) Enable python scripts; 4) Added support for functions with code 04 "Read Input Registers" Are these changes interesting for you? If so, can I commit them? Best wishes, Kamil Jarmusik Limraj https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail...

  • Aravindj Aravindj posted a comment on discussion Help

    Hi, I am using modbus1.6c version software. I created a proper configuration through GUI and saved the configuration. The slave configuration within the configuration file looks like <slave implementation="modbus" enabled="true" id="1" name="unknown slave"></slave> Then I load the file back to the software through the command line option -loadFile and the configuration file is loaded successfully. In the GUI, the slave id is now showing as 0.0.0.1 and not as 1. Because of this, I am suspecting that...

  • Robert Morin Robert Morin posted a comment on discussion Help

    Hi darkweb, the problem is a buffer overflow; I'm guessing the read from the serial port has no (or not big enough) time-out in receive. The time-out should be 3.5 characters in between frame. Thanks.

  • darkweb darkweb posted a comment on discussion Help

    Hi Robert, Thanks for pointing out the download issue. I've corrected that. I'll see if I can incorporate the new RXTX API in the release. As for your issue with the serial port failing most of the time, can you go into more detail? What is your configuration set up and what are you seeing VS what you are expecting?

  • ModbusPal - a Java MODBUS simulator ModbusPal - a Java MODBUS simulator updated /modbuspal/RC version 1.6c/ModbusPal.jar

  • Robert Morin Robert Morin posted a comment on discussion Help

    Hi, no luck for serial port. Most of the time it's failing and it's because it's only handling packet (for TCP) not byte.

  • Robert Morin Robert Morin posted a comment on discussion Help

    Hi, the '-install' is failing but I was able to find the rxtx, here is a copy: http://www.jcontrol.org/download/rxtx_en.html After installing on Windows 10, it's looking good. BTW, the latest download file from SourceForge is only containing the help file. Thanks

  • darkweb darkweb posted a comment on discussion Help

    Can you try again with ModbpusPal 1.6c? If it is still a problem, please post your config file and I'll take a look.

  • darkweb darkweb posted a comment on discussion Open Discussion

    Great! Thanks for confirming.

  • wolverine wolverine posted a comment on discussion Open Discussion

    No. This error is very much still there. All you have to do is to run Master snippet at this stackoverflow answer [link] to get this error. Ofcourse, we have to replace modbus_new_rtu with modbus_new_tcp. Also need to comment out modbus_set_slave to reproduce this error with TCP master. The exact sample runs with other Modbus slave simulators like at modbus tools

  • wolverine wolverine modified a comment on discussion Open Discussion

    Error resolved at Modbuspal 1.6c. Thanks a lot. Kindly ignore the previous post.

  • wolverine wolverine posted a comment on discussion Open Discussion

    Detailed error report at https://github.com/zeelos/ModbusPal/issues/4

  • ModbusPal - a Java MODBUS simulator ModbusPal - a Java MODBUS simulator released /modbuspal/RC version 1.6c/README.TXT

  • darkweb darkweb posted a comment on discussion Open Discussion

    Hi all, There may be some confusion on this. For Serial the specification only supports 0 (broadcast) - 247. Addresses 248 to 255 are reserved and shouldn't be used. In TCP mode you specify the IP address that the slave should receive on (e.g. 127.0.0.1). Let me know if this solves your issue.

  • darkweb darkweb posted a comment on discussion Open Discussion

    Hi Attila, I've just built a 1.6c version. Can you try this out and see if it addresses your problem? If not, please attach the configuration and I can take a look. Thanks!

  • ModbusPal - a Java MODBUS simulator ModbusPal - a Java MODBUS simulator released /modbuspal/RC version 1.6c/ModbusPal.jar

  • ModbusPal - a Java MODBUS simulator ModbusPal - a Java MODBUS simulator released /modbuspal/RC version 1.6c/modbuspal-javadoc.zip

  • ModbusPal - a Java MODBUS simulator ModbusPal - a Java MODBUS simulator released /modbuspal/RC version 1.6c/modbuspal-help.zip

  • darkweb darkweb committed [r132]

    Adding in support to build the help and javadoc files for Docker.

  • darkweb darkweb committed [r131]

    Updated to jython 2.7.0

  • darkweb darkweb posted a comment on discussion Help

    Hi Robert, You can run ModbusPal with the -install option and it is supposed to set up the RXTX library. I don't have access to a serial port so I can't test that functionality out. Let me know if that works for you. e.g. java -jar ModbusPal.jar -install

  • darkweb darkweb posted a comment on discussion Help

    Hi eli, Thanks for your interest. In order to compile it you need to have a few dependencies available in the parent directory of the build.xml. These are in the project.properties file: file.reference.jcommon-1.0.18.jar=../jfreechart-1.0.15/lib/jcommon-1.0.18.jar file.reference.jfreechart-1.0.15.jar=../jfreechart-1.0.15/lib/jfreechart-1.0.15.jar file.reference.jython.jar=../jython2.7b1/jython.jar file.reference.RXTXcomm.jar=../rxtx-2.1-7-bins-r2/RXTXcomm.jar After that you can build it with: ant...

  • Ray Zee Ray Zee posted a comment on discussion Help

    Hi, I run the simulator in learn mode and then save the configuration. Later when I load the same config that was working with the same client, I get error (illegal Function). Any suggestion? What changes when I reload the same configuration?

  • Attila Nagy Attila Nagy posted a comment on discussion Open Discussion

    Hello I like this program, unfortunately there seems to be a bug: if I set up a slave, add registers, set values everything is ok. But if I export and import the register setup then my master will receive read errors with error code 1 (invalid function) This is very similar to the one described here: https://sourceforge.net/p/modbuspal/discussion/899955/thread/308caa9a/ It seems like the import would remove the default functions. Thanks for looking at this. -- Nagy Attila Gabor

  • Or Hirshfeld Or Hirshfeld posted a comment on discussion Open Discussion

    Have exectly the same problem

  • eli eli posted a comment on a blog post

    Hi darkweb, can you explain please how its work's in the new version , i tried to download the last update application of modbus and i didnt sucssed to run "-loadFile" and "-port". so what i need to do in the main page i didnt saw the last version but i saw in the code tab your last update. i tried also to build the application with "ant" . So u can explain please: if we need to build so how we need to do that? if you can upload the last release with the update of the variable from path it is can...

  • eli eli posted a comment on discussion Help

    Hi darkweb, can you explain please how its work's in the new version , i tried to download the last update application of modbus and i didnt sucssed to run "-loadFile" and "-port". so what i need to do in the main page i didnt saw the last version but i saw in the code tab your last update. i tried also to build the application with "ant" . So u can explain please: if we need to build so how we need to do that? if you can upload the last release with the update of the variable from path it is can...

  • eli eli posted a comment on discussion Help

    Hi darkweb, can you explain please how its work's in the new version , i tried to download the last update application of modbus and i didnt sucssed to run "-loadFile" and "-port". so what i need to do in the main page i didnt saw the last version but i saw in the code tab your last update. i tried also to build the application with "ant" . So u can explain please: if we need to build so how we need to do that? if you can upload the last release with the update of the variable from path it is can...

  • Robert Morin Robert Morin posted a comment on discussion Help

    Hi, I'm a first time user and I'm trying to use the serial port. First time ModbuslPal indicated the missing RXTX library; I've found multiple site where the library is available but so far no luck. When I install the library; ModbusPal refuse to start. Can someone point me to the latest version that work in Windows 10 ? Thanks

  • Hal9k Hal9k posted a comment on discussion Help

    This is a nice tool. There is a recent "JEP 369: Migrate to GitHub" to move the JDK to github to benefit from a wider community. If this project is "abandoned" maybe it would be worth doing the same thing here?

  • darkweb darkweb posted a comment on discussion Help

    Hi all, The latest code now allows for specifying a -loadFile parameter as well as a -port for customization on the command line and doesn't require the GUI. Hope that helps!

  • darkweb darkweb posted a comment on discussion Help

    The latest code now allows for specifying a -loadFile parameter as well as a -port for customization on the command line but you'll need to build it to try it out.

  • darkweb darkweb posted a comment on discussion Help

    The latest code now allows for specifying a -loadFile parameter as well as a -port for customization on the command line but you'll need to build it to try it out.

  • darkweb darkweb posted a comment on discussion Help

    Hi there, I'm not sure what you're trying to do. ModbusPal opens up a port and listens for the protocol. First off make sure you can see that the port has been opened. This is done differently depending on the OS you are running it on: https://sites.google.com/site/mullais/network/to-check-if-a-port-is-open If the port is open, make sure you don't have firewalls blocking the ports. Once you've confirmed that it is open, you should be able to connect to it. Since this is TCP modbus, the slave address...

  • darkweb darkweb committed [r130]

    Update the open source code of the third party product "ModbusPal" to have optional command line arguments for the executable JAR:

  • Sharad Pise Sharad Pise posted a comment on discussion Help

    Following are the two issues in ModbusPal 1.6b 1. Whenever loading project getting this exception Exception in thread "Animation Thread" java.lang.NoClassDefFoundError: gnu/io/SerialPortEventListener After importing register map in the slave , the modbus slave responding illegal data to the Modbus Master .

  • Trent Gordon Trent Gordon posted a comment on discussion Open Discussion

    Hi, I discovered a security vulnerability on ModbusPal 1.6b. The .xmpa and .xmpp files do not sanitize input and are vulnerable to XXE (https://www.owasp.org/index.php/XML_External_Entity_(XXE)_Processing)

  • William E. Reed III William E. Reed III posted a comment on discussion Help

    Hi, Is there a way to pass command-line parameters to modbuspal such that it can automatically open a saved xmpp file and start a simulation? Thanks, Bill

  • William E. Reed III William E. Reed III posted a comment on discussion Help

    Hello, Are there command line parameters which could be passed to modbuspal to have it automatically load a saved xmpp project file and run the simulation? Thanks, Bill

  • Michael Johannes Michael Johannes posted a comment on discussion Help

    ModbusPal, I'm relatively new to Modbus, but I've got ModbusPal up and running on a remote VM, with a single slave and simple ramp function of data. I'm trying to pull the tags to a local "Edge Device" to then send the data to the cloud as a test demonstration. I'm having trouble connecting to the ModbusPal to get the data tags. Do I just use the IP Address of the VM and then port 502? In my Edge Device config, I've tried https://<ip address="" of="" VM="">:502 and tcp://<ip address="" of="" VM="">:502....

  • shinepo shinepo modified a comment on discussion Help

    Dear Jonas I Have copy the fixed jar from 2016-09-07 "ModbusPal.jar" , then my project function is working , but now I can not open the Scripts. http://nimb.ws/SRx5wc) Best regards, shinepo

  • shinepo shinepo posted a comment on discussion Help

    Dear Jonas I Have copy the fixed jar from 2016-09-07 "ModbusPal.jar" , then my project function is working , but now I can not open the Scripts. Best regards, shinepo

  • Shivansh Srivastava Shivansh Srivastava posted a comment on discussion Help

    i think , the correct way is write your own application using the API's provided in the help section. But to minimise the effort you can also use modpoll and digslave.

  • Shivansh Srivastava Shivansh Srivastava posted a comment on discussion Help

    Yeah I am also trying to do the same thing . Has anyone figured out yet ?

  • Travis Travis posted a comment on discussion Help

    I am trying to execute ModbusPal without the gui, but the wiki page is unavailable and the javadocs do not provide much help. Does anyone know how to do this?

  • warren crossing warren crossing posted a comment on discussion Help

    Actually on closer looks it's trying to find them in a libs folder with specific names Then you can use java -jar ModbusPal.jar Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.1 Created-By: 1.6.0_18-b07 (Sun Microsystems Inc.) Main-Class: modbuspal.main.ModbusPalGui Class-Path: lib/RXTXcomm.jar lib/AbsoluteLayout.jar lib/jython.jar lib /jcommon-1.0.16.jar lib/jfreechart-1.0.13.jar

  • warren crossing warren crossing posted a comment on discussion Help

    You might be running java -jar ModbusPal.jar You should be running java -classpath ./jython-standalone-2.7.0.jar:./ModbusPal.jar modbuspal.main.ModbusPalGui Java -jar and -classpath don't play nicely together

  • xiang huang xiang huang posted a comment on discussion Help

    I installte Jython on my PC. Jython is running. If run "jython --version" in der...

  • willem willem posted a comment on discussion Help

    to us ports below 1000 you must run the app as root. on a mac, I use terminal and...

  • wim geerts wim geerts posted a comment on discussion Open Discussion

    Yes, I have exact the same issue! The console shows "Slave 255 is not enabled" but...

  • Aleksandrs Aleksandrs posted a comment on discussion Help

    I am trying to use Scripts and after installation of Jython on my PC it still gives...

  • thierry LE CONNIAT thierry LE CONNIAT posted a comment on discussion Open Discussion

    hi all, The max adress in TCP mode is 247 ! API like libmodbus use adress 255 and...

  • Jonas Jonas modified a comment on discussion Help

    Find attached the fixed jar. It requires RXTX installed to start.

  • Jonas Jonas modified a comment on discussion Help

  • Jonas Jonas posted a comment on discussion Help

    Hi, Could someone upload the fixed jar? Unfortunately, I am unable to build the project...

  • ModbusPal - a Java MODBUS simulator ModbusPal - a Java MODBUS simulator released /OldFiles/ModbusPal-WIP-1.1.jar

  • ModbusPal - a Java MODBUS simulator ModbusPal - a Java MODBUS simulator released /OldFiles/ModbusPal.jar

  • ModbusPal - a Java MODBUS simulator ModbusPal - a Java MODBUS simulator released /OldFiles/ModbusPal-WIP-1.0.jar

  • Tamilkumaran S Tamilkumaran S modified a comment on discussion Help

    Thanks for the effort. Very useful software for testing and simulation of modbus....

  • Tamilkumaran S Tamilkumaran S posted a comment on discussion Help

    Thanks for the effort. Very useful software for testing and simulation of modbus....

  • Jørgen Bundgaard Wanscher Jørgen Bundgaard Wanscher modified a comment on discussion Help

    I am working on a project where we are producing specialized hardware controlled...

  • Jørgen Bundgaard Wanscher Jørgen Bundgaard Wanscher posted a comment on discussion Help

    Seems like I figured most of it out by skimming the source code - hurray for OSS...

  • Jørgen Bundgaard Wanscher Jørgen Bundgaard Wanscher posted a comment on discussion Help

    I am working on a project where we are producing specialized hardware controlled...

  • Muthu Mahendran Muthu Mahendran posted a comment on discussion Help

    How can I add Jfreechart in ModbusPal.Jar?

  • nnovic nnovic posted a comment on discussion Help

    Dear Tom, The latest release of ModbusPal seem to have a problem when it comes to...

  • CrisCV CrisCV posted a comment on discussion Help

    Hi! First many compliments for the software! On my PC (win7) I have the same problems...

  • Tom Barclay Tom Barclay posted a comment on discussion Help

    Hi, I am trying to use the simulator, I use RS232 connection. I only ever get error...

1
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.