Version 1.0
PN: 2042-8198
Page 41 of 75
DN: 10-32813
Figure 35 - Example: Modbus TCP client exception response
HTTP Server
The RMA PLUS implements a custom HTTP server. Like Modbus® TCP, it interacts asynchronously with a
user-defined data model loaded on initialization and configured by way of a USBD gateway file.
HTML files (*.html, *.htm) use dynamic token insertion to replace tokens with live data when streaming
pages from the micro SD card to the HTTP client (browser). Users may create custom web content for
the RMA PLUS by replacing the default HTTPs files and / or adding new ones.
This service is enabled by default for all model numbers. It
may be disabled by writing “No” the
HTTP
Server Enable member. NOTE: A reset is required for this change to take effect.
Ethernet 70 (0x46), Instance 2
Member ID
Member Name
Data Type
Access
NV
Min
Max
Default
Comments / Description
8
0x08
HTTP Server Enable
ENUM16
RW
F
106
59: No
106: Yes
Token Format
The format of a token is ${TokenKey}. When the parser encounters one of these tokens, it searches for
a match. If a match is found, the token key is replaced with the token value. If a match is not found, the
token key is replaced with a question mark.
The parser supports three token key formats and searches them in the following order:
1.
If the format is ${CxxIxxMxx}, then the value is expected to be a member of the RMA PLUS where
Cxx is the Watbus Class ID (hexadecimal), Ixx is the Watbus Instance ID (hexadecimal), and Mxx is
the Watbus Member ID (hexadecimal) i.e. ${C01I01M01} for the Hardware ID.
2.
Next, it searches user-defined tokens from the configuration file defined by the key
setup file.
3.
Finally, it searches a hardcoded token table.
Key
Value
EntHostName
Ethernet host name i.e. RMA-<Serial Number>
FileNameEventLog
Event log file name / path defined by setup key
Figure 36 - HTTPs hardcoded tokens
Sample Configuration
1.
Open a web browser and navigate to the RMA PLUS using the IP address or host name i.e.
http://rma-<Serial Number>/ or http://192.168.0.100/.
The default web page
“
Index.html
”
is displayed. It returns basic information about the device and a
link to the Event Log.
Summary of Contents for RMA PLUS RMAP-AA Series
Page 1: ...Version 1 0 PN 2042 8198 Page 1 of 75 DN 10 32813 RMA PLUS User Manual...
Page 8: ...Version 1 0 PN 2042 8198 Page 8 of 75 DN 10 32813...
Page 11: ...Version 1 0 PN 2042 8198 Page 11 of 75 DN 10 32813 Figure 3 Ground Wire Location...
Page 26: ...Version 1 0 PN 2042 8198 Page 26 of 75 DN 10 32813 Figure 22 RMA PLUS via USBD MICRO SD root...
Page 27: ...Version 1 0 PN 2042 8198 Page 27 of 75 DN 10 32813 Figure 23 RMA PLUS via USBD NOR FLASH root...
Page 42: ...Version 1 0 PN 2042 8198 Page 42 of 75 DN 10 32813 Figure 37 Default web page Index html...
Page 75: ...Version 1 0 PN 2042 8198 Page 75 of 75 DN 10 32813...