Modbus Input Read Write Command

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Modbus/RTU/IO GPRS Gateway

WCT-805M

INPUT READ/WRITE
SERVER PROTOCOL

Version 1.0

Wiman Communication Technologies


No.1/7, First Floor,
Narasingapuram Main Road, Maduvankarai
Guindy, Chennai - 6000032.
Ph : +91-44 22444074
[email protected] | www.wiman.in
ELGI Modbus/RTU Gateway User Manual Ver.1.0
WT-801M
SERVER COMMAND
1 Read Input Register
Comman
$IPCFG,<DEVCMD: MBCMD=01040000000585C9 >
d Eg:
Respons $WMRPY,P10,868324027795785,20170603125507,01030A000C000D000E000F0010
e Eg: F57,10,11#

Command Structure for More details

Field Name Value


SLAVEID 01
FUNCODE 04
STARTING ADDRESS HI 00
STARTING ADDRESS LOW 00
WORD COUNT HI 00
WORD COUNT LOW 05
ERROR CHECK HI 58
ERROR CHECK LOW C9

Response structure for more details

Field Name Value


HEADER $WMRPY
VERSION P10
IMEI NO 868324027795785
TIME 20170603105802
MODBUS PACKET 01030A000C000D000E000F0010F57
ERROR CHECK HI 10
ERROR CHECK LOW 11

Modbus Packet
Modbus
01030A000C000D000E000F0010F57
Packet

Modbus Packet Structure

Field Name Value


SLAVE ID 01
FUNCTION CODE 03
WORD COUNT 0A
DATA PACKET 01030A000C000D000E000F0010
MODBUS CHECKSUM F57
ERROR CHECK HI 10
ERROR CHECK LOW 11

Wiman Communication Technologies, Chennai


www.wiman.in [email protected] Page : 2
ELGI Modbus/RTU Gateway User Manual Ver.1.0
WT-801M

2 Write Input Register


Command
$IPCFG,<DEVCMD: MBCMD=0106006300010200996fa9 >
Eg:

Command Structure for More details

Field Name Value


SLAVEID 01
FUNCODE 06
STARTING ADDRESS HI 00
STARTING ADDRESS LOW 63
WORD COUNT HI 00
WORD COUNT LOW 01
BYTE 02
WRITE DATA HI 00
WRITE DATA LOW 99
ERROR CHECK HI 6f
ERROR CHECK LOW a9

Note: Function code (06-write single register , 10- write multiple register )

Wiman Communication Technologies, Chennai


www.wiman.in [email protected] Page : 3

You might also like