Thursday, 26 May 2016

Modbus RTU Simulation

Welcome..

Today, we will simulate and emulate, Modbus RTU Server (Master).
Imagine, we have a Modbus RTU device (PLC, Remote I/O, etc) connected to our PC through Serial (COM) Port.
then, let we change the device (hardware) with an application (software), we will simulate it. And also, let we change the COM port connection with virtual serial port.
Oke?
Oke. we will use Mod_RSsim for the first one (Modbus RTU Simulator), and we will use VSPE (Virtual Serial Port Emulator) for the second one (Serial Port Emulator).

You can download Mod_RSsim from here.
You can download VSPE from here.

Oke. lets go..!

Now, we will configure the virtual connection of serial port :
- open VSPE application

- goto menu Device > Create

 

- select Pair, then click Next

 

- select unused (undefined) Port, example COM3 and COM4, then Finish

 

- the Emulator has started

 

- dont close the application, minimize is Ok.


Now, we will open Mod_RSsim application as Modbus RTU Master simulator :
- open Mod_RSsim

- select Port to MODBUS RS-232


- click on port icon to open the port setting


- select the type of I/O


- to write Digital Input or Coil Output, just double-click on the register


- to write Holding Register or Analog Input, double-click on register then write the value on the box



Oke. The next step is testing with Modbus RTU Client. We can use the simplest sample application from this blog: Modbus RTU Sample VB6. 
Actually I develop new (advanced) sample project for Modbus RTU client, maybe I will post here someday.


Thats all.. Thanks for visiting..
See you next time.. :)

2 komentar:

  1. SCADA training provides a thorough technical overview of SCADA software used for supervision and data management involved in the industrial automation systems. Call us 9310096831.

    ReplyDelete
  2. 6 Weeks Training In Robotics Noida,Summer Training Delhi (INDIA), register your seat for summer training program in robotics. Call us at 91-9953489987.Robotics training in Noida, Robotics Training Institute in Noida, Robotics training in delhi, Robotics training institutes in Delhi, best Robotics training center in noida, Robotics training Noida.

    ReplyDelete

 
Copyright © . HadiSCADA - Posts · Comments
Theme Template by BTDesigner · Powered by Blogger