The library supports Masked Bit Write, function code 22 (0x16H), but the app also includes the built-in code for slave devices that don't support FC22. Just try either of the 3 options provided for 64-bit values word order or any of the 7 options provided for 128-bit values word order (theoretically, there should be far more than 7 options available but I didn't bother going through all of them). SwapWords option, if enabled, might present a challenge for some devices since these things don't seem to be officially defined. Modifiers of LO and UO were added to the Master app, where "O" stands for Octa Word. Modifiers of FQ, LQ and UQ were added to the Master app, where "Q" stands for Quad Word.Ī support for 128-bit values was added - signed and unsigned Integer128. It also supports F, L, U, UL and S modifiers as well as bit/character Reading/Writing.įor bit/character operation, you can select to have it either as consecutive bits/characters within a single element or the exact individual bit/character from each of the multiple elements.Įither a single value or the exact number of comma separated values will be required for writing if Points number > 1.Ī support for 64-bit values was added - Double (Float64), signed and unsigned Integer64 (Long and ULong). It has the library built in support for RTU, TCP, UDP, RTUoverTCP, RTUoverUDP, ASCIIoverRTU, ASCIIoverTCP and ASCIIoverUDP protocols (not all of them were tested). The library supports Masked Bit Write, function code 22 (0x16H). Kubuntu 14.04 Linux on an old HP TC1100 Tablet PC, with 1.2GHz Pentium-M CPU and 1.25GB RAM. There is also a TextBox added to allow for manual input of the serial port to be used (intended for Linux so tty0tty virtual ports could be accessed). They will just not be visible in the data grid view, unless you choose to have all the rows visible. The simulator will still accept ALL the Read/Write requests for ALL the registers and keep the values stored in the slave's dataStore. This has improved the speed of loading of the program in Mono on slower PCs. Since the DataGridView controls, used to display boolean/register values within the simulator window, seem to require rather fast computer, all instances were limited to initially have only 20 rows showing thus limiting the number of visible addresses (which should still be sufficient for simulation but can be changed and increased via the "Row Count" combo box). Now supporting RTU, TCP, UDP and ASCIIoverRTU protocols.įor RTU/ASCIIoverRTU protocols, on a single PC, AHMI can communicate with this simulator with the help of the tty0tty (Linux) / com0com (Windows) program which would provide virtual serial port pairs. This is a new version of the Modbus Slave Simulator previously discussed in the topic mentioned above. Licensed under MIT license ( ) and included in the Project. NET 3.5 libraries, Copyright (c) 2006 Scott Alexander ( ). The page asks for an email to download, but don't worry, that's only to send you a link, not for spam or promotion.Moved here from the other category and topic ( ) for better visibility.īoth apps are based on modified nModbus. Lightweight and straightforward in general Portability (runs from a USB drive on any Windows PC, no installation) JSON file-based configuration (we need this to simplify test automation and control config changes easily)įrame logging (allows to observe and store all Modbus activity occuring on a link) I might add more features and improvements if there are any suggestions. It does what you would expect it to do - simulate any number of Modbus RTU slaves, setup register values and exceptions. Thought it might be useful to someone in here. Couldn't find a good RTU slave simulator software that fit our needs and wasn't too painful to use, so I created a new one. I do a bit of automated testing/debugging of Modbus software and networks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |