MODBUS & HTML
The MN 4000 and MN 4100 hav e Modbus
TCP and H TML access for mage display and
analysis.
MODBUS/TCP
The Mod bus proto col used is Mod bus TCP/
IP also k nown as Mod bus TCP. htt p://www.
modbus.org/docs/Modbus_Messaging _
Implementation_ Guide_V1_0b.pdf
Following Modbus command function codes
are used:
• Function code 3: Read Multiple Registers
• Function code 4: Read Input Registers
• Function code 6: Write Single Registers
• Function code 16: Write Mult iple Regist ers
Modbus T CP/IP connects over TCP/IP
net works using port 502. A checks um is
not required as a che cksum calcu lation
impleme nted in the l ower laye rs alread y
provides checksum protection. The frames do
not incl ude a checksum.
On TCP/IP t he Modbus ser ver is add ressed
using its IP addres s. The Modbus Unit
Ident ifier is set t o 0FFh.
Register Access: Code 4
The MN 4xxx ca meras imple ment Modbus
TCP com mand func tion code 4 “ Read Input
Registers” (1 6 bit), w ith the addresses a s
define d in the follo wing table.
MODBUS Function Code 4 TCP registers
* MODBU S access is bi g-endian
** To conver t to Fahrenh eit= (cK*9 )/5-4 5967,
Celcius=(cK-27315) /100
Regist er Access: code 3 , 6, 16
The MN 4xxx ca meras imple ment Modbus T CP
command function codes 3, 6 and 1 6 with t he
addresses as defined in the following table.
MODBUS Function code 3, 6, 16 TCP Registers
HTML Browser
A web bro wser may be used to set up
all aspects of the c amera operation, th e
recommended browser is Chrome.
HT TP brow ser access c an be used to
access camera dat a struc tures by so ftware
integrators as follows:
• h ttp:IP-addres s/vis.jpg visible image jpeg
• http:IP-address/ir.bmp IR image
• htt p:IP-add ress/raw. bin IR temper ature
ar ray, 80 x 60 x 16 bit
• http:IP-address/lep.bin IR info
• http:IP-addres s/alarm.bin alarm settings,
5 x 5 x 1 6bit
• http:IP-address/fir mware.html prompts for
bi nary file t hen reboo ts 10s af ter uploa d
Address*
Function Code: 4 Comment
0 to 4799
Sensor temperature
array, 80x60
Units: cK
(ccentikelvin**)
Global
constants:
Emissivity =1
0= Top LHS,
4799= Bottom
RHS
4800
AlarmBit [24:16]
for each bit
1: alarmed
0: no alarm
Corresponds
to 25 grid
alarm limits.
Alarm for
any pixel >T
set
4801
AlarmBit [15:0] for
each bit
1: alarmed
0: no alarm
Corresponds
to 25 grid
alarm limits.
Alarm for
any pixel >T
set
Address*
Function Code;
3, 6, 16
Comment
0 to 24
Sensor alarm array,
5x5
Units: cK (centikelvin)
0=Top LHS,
14=Bottom RHS
Address*
Function Code;
3, 6, 16
Comment
0 to 24
Sensor alarm array,
5x5
Units: cK (centikelvin)
0=Top LHS,
14=Bottom RHS