You are on page 1of 12

Modbus gateway

Modbus Slave Mode

The Device Server converts Modbus/TCP on Ethernet to


serial RS-232/485 Modbus RTU or ASCII

Host
Computer
Modbus/TCP

Ethernet

EKI1222
Modbus ACSII/RTU Device
Note: 31 devices max. Server
RS-232/422/485
Adam 4118
Configuration Utility-set in Slave mode
Step1. connect all device, Modbus device can use ADAM-4118.
Step2. cause of 4118 is RS-485, so we need to config EKI-1222 serial port to rs-485.

1.Select Modbus Slave Mode

2.Select RTU or ASCII Mode


Host
Compu
ter
Modbus/TCP
3. an excellent function that the utility will scan slave
ID automatically, the utility also allows to manual add or
Ether
net delete slave ID information.
EKI122
2
Modbus
RS- Device
ACSII/RTU Server
Adam 4118
232/422/485
Step3. connect EKI via Ethernet, use modscan read data by Ethernet.
(key in EKI-1222 address and service port is fixed in 502)

Host
Compute
r Modbus/TCP

Etherne
t

EKI1222
Modbus ACSII/RTU Device
Note: 31 devices max. Server
RS-232/422/485

Adam 4118
Step4. modify modscan parameter to match Modbus Device
(e.g. Device id, modbus point type, address,length)

Host
Compute
r Modbus/TCP

Etherne
t

EKI1222
Modbus ACSII/RTU Device
Note: 31 devices max. Server
RS-232/422/485

Adam 4118
Modbus Master Mode

Host
Computer

RS-232/422/485

EKI1222
Device
Ethernet Server
Modbus ACSII/RTU
ModSim
Step 1.start host computer Modsim

Host
Computer

RS-232/422/485

EKI1222
Device
Server
Ethernet
Modbus ACSII/RTU
ModSim
Step2.set virtual value

Host
Computer

RS-232/422/485

EKI1222
Device
Server
Ethernet
Modbus ACSII/RTU
ModSim
Step3.set virtual variation value

Host
Computer

RS-232/422/485

EKI1222
Device
Server
Ethernet
Modbus ACSII/RTU
ModSim
Configuration Utility-set in Master mode
Step4. set EKI in master mode, and give it slave IP&ID information

1.Select Modbus Master Mode

2.Select RTU or ASCII Mode


Host
Computer 3. Key in Modbus Device IP and ID

RS-232/422/485

IP:172.18.2.41
EKI1222
ID:1
Device
Server
Ethernet
Modbus ACSII/RTU
ModSim
Step5. connect EKI via serial port, use modscan read
data by serial port.

Host
Computer

RS-232/422/485

EKI1222
Device
Server
Ethernet
Modbus ACSII/RTU
ModSim
Step6. modify modscan parameter to match virtual Modbus Device
(e.g. Device id, modbus point type, address,length) very important

Host
Computer

RS-232/422/485

EKI1222
Device
Server
Ethernet
Modbus ACSII/RTU
Modbus Device

You might also like