Vous êtes sur la page 1sur 11

Remote Automation Solutions

GSS Quick Guide


Communication between a ROC809
and a ROC809 using ModbusTCP/IP

Written By: Tony Esteves


Created on: 2/6/15
Modified on:
Rev: 0
Doc Name: ROC809 Modbus
TCP/IP

Purpose:
This document provides an overview of the method used to communicate between a ROC809
and another ROC809 device using MODBUS TCP/IP with the ROC809 as a Master and the
other ROC809 as a Slave.
Equipment:

(2) ROC809 without a user program and Firmware version 3.XX or 1.XX.
Personal Computer running
o ROCLINK 800 version 2.40 or later
ROC 809 communication cable for LOI port to configure unit
Power Supply 12VDC to power ROC809
Cross over Ethernet cable to connect between ROC809 devices.

Recommended Documentation:
ROCLINK 800 User Manual
Modbus master Interface Application Module user manual
Modbus Host User Program User Manual

1
2/6/15

Setup
Step A: Power ROC809 device #1
Connect 12Vdc power supply to BATT terminals labeled BATT + - :

Step B: Power ROC809 device #2


Connect 12Vdc power supply to BATT terminals labeled BATT + - :

Step C: Connect LOI communication cable to ROC809.


Connect the communication cable supplied with the ROC809 to the LOI port and other side to COM1 on PC.

Step D: Launch ROCKLINK800 software.


On the PC launch the ROCKLINK800 software and communicate with the ROC809 using the computer symbol
shown.

Step E: Configure Modbus on ROC809 MASTER


E.1.) On pull down windows go to Configure and select MODBUS as shown below.

2
2/6/15

3
2/6/15

E.2.) This window will open. Set as shown below.

4
2/6/15

The Scale Values screen we are not setting up.

5
2/6/15

E.3.) In the Master Table tab enter the Server IP address (slave), port number which is 502 for IP
and RTU address, function code, slave register and master register (should both be the same
address), number of registers if 32 bit enter 2, Comm status should show an 8 which indicates a
valid slave response.

6
2/6/15

E.4.) In the Registers tab note that the Start and End Registers are the same value, also the Device
parameter is set to a Soft Point where the value is stored and can be looked at and retrieved,. The
conversion is set to 25.

7
2/6/15

Soft Point 1 Float #1 is where the Server data will appear.

This table below can be seen in the Roclink Help and search for conversion table.

8
2/6/15

Setting up the SERVER unit. Go to Configure<MODBUS and Enter. You will see screen below.

9
2/6/15

Go to Registers Tab as shown below and enter the Register information and Soft Point location
of where the value that Master is going to take is located and conversion code 25 as shown in the
example below.

E.5.) Bring up the Soft Point screen.


Below is where the Soft point screen is accessed.

10
2/6/15

The MODBUS values coming back from the Server device can be seen on the left side where the
Parameters Float is shown on Soft points 1.

Go back to the Master and verify that the data is in the Soft Point Float 1.
END.

11
2/6/15