Skip to content

Commit d3b43be

Browse files
committed
Merge remote-tracking branch 'origin/dev' into dev
2 parents 6801994 + a239cb8 commit d3b43be

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# Open ModSim
22
Open ModSim is a free implimentation of modbus slave (server) utility for modbus-tcp and modbus-rtu protocols.
33

4-
![image](https://github.com/sanny32/OpenModSim/assets/13627951/3788824d-cf3f-4e98-9f5f-856e99106f6c)
4+
![image](https://github.com/user-attachments/assets/b57d329f-02c9-42c2-957c-295a67efcf67)
55

6-
7-
8-
![image](https://github.com/sanny32/OpenModSim/assets/13627951/f5dd90b6-2301-495b-ae86-409b2afd4eaf)
6+
![image](https://github.com/user-attachments/assets/730900fb-c8b4-4675-ba8b-cee5d7e9dd9e)
97

108

119
## Features
@@ -40,23 +38,24 @@ Registers
4038
Increment - simulate register from Low Limit to High Limit with a given Step
4139
Decrement - simulate register from High Limit to Low Limit with a given Step
4240

43-
Modbus Logging
41+
## Modbus Logging
4442

45-
![image](https://github.com/sanny32/OpenModSim/assets/13627951/72cb3860-b672-41fd-8ec6-3399170a28df)
4643

44+
![image](https://github.com/user-attachments/assets/d8dc67fc-efce-4d40-81df-5ed54a958952)
4745

4846

4947
## Extended Featues
5048

51-
Modbus Message Parser
49+
- Modbus Message Parser
5250

5351
![image](https://github.com/sanny32/OpenModSim/assets/13627951/7e9744b8-f4b3-439a-a312-79cbdc426dc2)
5452

5553

5654
## Scripting
5755
From version 1.2.0 Open ModSim supports scripting. Qt runtime implements the [ECMAScript Language Specification](http://www.ecma-international.org/publications/standards/Ecma-262.htm) standard, so Javascript is used to write code.
5856

59-
![image](https://github.com/sanny32/OpenModSim/assets/13627951/ab115064-877f-4f6f-a1b9-4ac6c2feb042)
57+
![image](https://github.com/user-attachments/assets/e8d31089-345a-4c26-bb0c-fe2ea92f85d4)
58+
6059

6160
Scripts can be launched in two modes: Once or Periodically. If you run script in Once mode the script will stop after it finishes executing. In Periodically mode, the script will start after a certain period of time until the user stops it or the method is called
6261
```javascript
@@ -79,6 +78,9 @@ function clear()
7978
/* init function */
8079
function init()
8180
{
81+
/* Set the server address base starts from one (1-based) */
82+
Server.addressBase = AddressBase.Base1;
83+
8284
clear();
8385

8486
/* Runs when Hodling register value at address 1 was changed */

0 commit comments

Comments
 (0)