Support Center

HOWTO: Configuring DEXGate to work with modbus devices

Last Updated: Jan 19, 2015 04:52PM CET

DEXGate supports two Modbus protocols:

  • Modbus TCP

  • Modbus RTU
In order to configure the Modbus bridge we need:
  1. Connect a ethernet cable between your computer and the ETH1 port of the DEXGate
  2. Go to your browser and access http://172.16.0.1
  3. Log in (the default username and password are admin/admin)
  4. Click on Bridge Configuration:dexgate bridge configuration
  5. You'll find two configuration files: 4Noks and Modbus.
  6. Make the changes you need
  7. Save
  8. Reboot
  9. You're done
 

Configuration file

In the configuration file you can use this options:
  • bridge.speed: Speed of the local Modbus RTU bus
  • bridge.device: Local device where the Modbus RTU bus is connected. Do not change
  • bridge.ip: IP of the local Modbus TCP/RTU bus. Do not change
  • bridge.port: Port of the local Modbus TCP/RTU bus. Do not change
  • bridge.scheduled-polling-interval: Polling interval of the bridge
  • proxy.host: Proxy host
  • proxy.port: Proxy port
  • remotebridge.mbX: IP address and port (optional) of a remote modbus-TCP device or bridge in the format IP:port
  • devices.manufacturer-model: Coma separated list of modbus addresses of devices of this kind
  • profile.manufacturer-model: low (default), medium or high. The profile dictates the amount of parameters sent to the server
  • gateway.interface: Interface used to get the id of the gateway. Do not change
  • hardcoded.gateway-mac: This setting overrides the id of the gateway. Do not change
  • hardcoded.server-url: This setting overrides the default url (is2.dexcell.com) where the data is sent
  • queue.path: File where the data waiting to be sent is going to be buffered

 

Sample file

bridge.speed=9600
bridge.device=/dev/ftdi485
bridge.ip=127.0.0.1
bridge.port=9003
bridge.scheduled-polling-interval=15

# Proxy configuration
proxy.host=
proxy.port=

# Remote TCP Modbus bridges
remotebridge.mb1=192.168.1.43:10000
remotebridge.mb2=192.168.1.42
remotebridge.mb3=

# Ids of Brainchild devices (example 1[p1[403(100)];a2[500]],2[r2[100]] )
devices.brainchild-daio=

# Ids of Carlo Gavazzi devices
devices.carlogavazzi-em21=
devices.carlogavazzi-em24=

# Ids of Circutor devices
devices.circutor-cvm-mini=mb1:1,mb2:1,40
profile.circutor-cvm-mini=high
devices.circutor-cvm-96=
devices.circutor-cvm-144=
devices.circutor-cvmk=
devices.circutor-cvmk2=
devices.circutor-edmk=
devices.circutor-lm-4i-4o=98[402;0;419(0.001);0],mb1:98[402]
devices.circutor-lm24=
devices.circutor-lm50=
devices.circutor-mk30-60=
devices.circutor-mkd=
devices.circutor-nrg96=

# Ids of Electrex devices
devices.electrex-femto=

# Ids of 4Noks devices
devices.fournoks-thl=
devices.fournoks-thi=
devices.fournoks-tid-ci=

# Ids of General electric devices
devices.generalelectric-MTDN3L=
devices.generalelectric-MTDN3R4M=

# Ids of Millenial/LEM devices
devices.millenial-emn=
devices.millenial-wizone=
devices.millenial-wistat=
devices.millenial-meshnode=
devices.millenial-meshgate=

# Ids of Schneider devices
devices.schneider-pm9c=13
devices.schneider-pm710=

# Ids of Socomec devices
devices.socomec-a10=12
devices.socomec-a20=
devices.socomec-e30=
devices.socomec-e40=
devices.socomec-e50=

#Ids of Step devices
devices.step-thdg=

# Auto detect gateway ID using interface
gateway.interface=eth0

# Hardcoded properties, must be empty or they will be used overriding dynamic configuration
hardcoded.gateway-mac=
hardcoded.server-url=

# Properties about the queue
queue.path=/var/log/dexma/tempQueueMaster.txt


This configuration file configures the following devices:
  • Local:
    • Address 1: Circutor CVM-Mini - Profile: high
    • Address 12: Socomec Diris A10 - Profile: low
    • Address 13: Schneider PM9C - Profile: low
    • Address 98: Circutor LM4I4O - First port counts kWh (402), the second port is disconnected (0), the third port counts water in liters, the international system uses m³ therefore a scale 0.001 is used (419(0.001)) and the fourth port is disconnected.
  • Remote bridge 1 (192.168.1.43:10000):
    • Address 1: Circutor CVM-Mini - Profile: high
    • Address 98: Circutor LM4I4O - Al four ports count kWh
  • Remote bridge 2 (192.168.1.42:502):
    • Address 1: Circutor CVM-Mini - Profile: high

Contact Us

  • Post a Public Question
  • Email Us
  • Tel : +34 931 810 195
    Hours: 9am - 6pm CEST, Mon to Fri
    support@dexmatech.com

    Check Public holidays here

    Support
support@dexma.com
http://assets3.desk.com/
false
dexma
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete