poolborges / modrssim

Cloned repository

Home Page:http://www.plcsimulator.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modbus simulator (FORK)

Build and Release License: GPL v3

1. Release and Download

GitHub pre-release GitHub release GitHub all releases

ℹ️
Generated: 2024-09-18 01:13:15 -0700

2. Summary

Original source code from: https://sourceforge.net/p/modrssim

Mod_RSsim :: Screnshot

3. About

Modbus PLC simulator supports the modbus and TCP protocols

  • It can be used as a virtual PLC for training and development purposes

  • For testing of a MODBUS RTU serial controller without having to obtain 254 small MODBUS PLCs in an office

  • It implements or supported:

    • Common MODBUS functions: Holding Registers; Coil

    • Allen Broadle DF1

    • JO SCC DF1

Protocols Supported

  • MODBUS RS-232

  • MODBUS TCP/IP

  • JO SCC DF1

  • Allen Broadle DF1

Features

  • Import CSV files containing register values (Righ click or Con Menu)

  • Turns the simulator into read-only mode (registers cannot be set)

UI

  • Set the transparency of the window

Platform supported:

  • Windows XP (SP3), Vista, Windows 7, Windows 8, Windows 10, Windows 11

Active Script (VBScript)

Table 1. List of functions available
Function Signature Description

AddDebugString

AddDebugString(LPCTSTR text)

DisplayAbout

()

GetRegisterValue

(long registertype, long registernumber)

SetRegisterValue

SetRegisterValue(long registertype, long registernumber, long registervalue)

GetLastRunTime

GetLastRunTime()

StationEnabled

StationEnabled(short stationid)

Disablestation

long TransmitRegisters(short sourceStation, short destinationStation, long file_areaNumber, long startRegister,long numRegisters)

ClearRegisters

ClearRegisters()

EnableStation

EnableStation(short stationid)

Example os VBScript
dim n

Randomize
n = Int((65535 * Rnd) + 1)'Generate random value between 1 and 65535.
n = n - 32767             ' some signed values to test with :-)
SetRegisterValue 3, (270*Rnd), n

4. MICS

PLC Brand
ABB
Allen-Bradley
Siemens
Honeywell
Mitsubishi
Yokogawa
Toshiba
General Electric
Omron
Schneider Automation
Reliance
Hitachi
Modicon/Gould
AutomationDirect/PLC Direct/Koyo
Cutler Hammer

Industrials Protocols

  • Ethernet

  • ControlNet

  • DH-485

  • RS-232

  • RS-485

  • Ethernet/IP

About

Cloned repository

http://www.plcsimulator.org/

License:GNU General Public License v3.0


Languages

Language:C++ 95.0%Language:HTML 2.9%Language:C 2.0%Language:VBScript 0.0%Language:Batchfile 0.0%