Professional Documents
Culture Documents
Highfield House, Hunmanby Industrial Estate, Hunmanby, North Yorkshire YO14 0PH England
TELEPHONE +44 (0) 1723 890099 FASCIMILE +44 (0) 1723 890099 EMAIL sales@deepseaplc.com
DSEGENCOMM PROTOCOL
DSE SERIAL PORT (RS232/RS485) AND ETHERNET CONTROLLERS
www.deepseaplc.com
www.deepseaplc.com
GENCOMM DESCRIPTION
GENCOMM DESCRIPTION
Modbus is a master – slave protocol.
The master system queries data from the slave. The DSE controller
is the slave device that responds to the master’s query.
GENCOMM DESCRIPTION
To use GENCOMM you will need to be familiar with the following
principles, in addition to these items being supported by your
modbus master system :
Modbus protocol
Half duplex, two wire twisted pair transmission lines
Hexadecimal and decimal conversion
Binary conversion and bit analysis
Signed and unsigned numbering
16 bit and 32 bit numbering
www.deepseaplc.com
120Ω 120Ω
TRANSMISSION LINE
www.deepseaplc.com
TRANSMISSION LINE
TRANSMISSION LINE
TRANSMISSION LINE
Trace from a network with too many Trace from a correctly terminated
termination resistors network
www.deepseaplc.com
TRANSMISSION LINE
Trace from a network with excess Trace from a correctly built and
stub length connected network
www.deepseaplc.com
01
123456789
123456789ABCDEF
www.deepseaplc.com
DECIMAL
Tens Units
0 0
0 1
0 2
0 3
0 4
0 5
0 6
0 7
0 8
0 9
1 0
1 1
www.deepseaplc.com
BINARY
Twos Units
0 0
0 1
1 0
1 1
www.deepseaplc.com
Sixteens Units
HEXADECIMAL 0
0
0
1
0 2
0 3
0 4
0 5
0 6
0 7
0 8
0 9
0 A
0 B
0 C
0 D
0 E
0 F
1 0
www.deepseaplc.com
0A 03 04 00 00 02 xx xx
www.deepseaplc.com
0A 83 02 xx xx
www.deepseaplc.com
0A 03 00 06 00 7F 03 52 FF FF xx xx
www.deepseaplc.com
You must ensure that your modbus master program can handle 32
bit numbers.
www.deepseaplc.com
The most significant bit (MSB) of the binary number is the sign bit.
If this bit is set (1) then the remaining bits represent a negative
number.
PAGES
In hexadecimal notation, a page of memory is 255
(hex FF) registers long.
For example :
0000 – 00FF = Page 0
0100 – 01FF = Page 1
0200 – 02FF = Page 2
0300 – 03FF = Page 3
etc
www.deepseaplc.com
DECIMAL ADDRESSES
As each ‘page’ is 256 registers long it’s a simple
matter to calculate the decimal address of each
page.
For example :
Page 3 is decimal address (3 x 256) = 768
www.deepseaplc.com
DECIMAL ADDRESSES
As an example, Battery Volts is contained on
Modbus Page 4, Register offset 5
DECIMAL ADDRESSES
Some ‘modbus masters’ require you to ‘add 1’ to
the address.
This additional ‘1’ will be subtracted before the
request is sent to the DSE module.
DECIMAL ADDRESSES
Some ‘modbus masters’ use different numbering
schemes, such as requiring you to ‘add 40,000’ to
the address.
GENCOMM ADDRESSES
The DSE module has a lot of information accessible
through Gencomm . It uses the full modbus
address range of
FURTHER TRAINING
Further training on DSE Gencomm can be obtained from the
following presentations and documents
Documents
Training Presentations