4 modbus configuration, 1 activating or deactivating the modbus server, Modbus configuration – SMA SUNNY WEBBOX User Manual
Page 58: Activating or deactivating the modbus server
Settings
SMA Solar Technology AG / SMA America, LLC
58
SWebBox-BA-en-36
User Manual
10.3 Setting up Access to the Sunny WebBox via the Internet
If you would like to make the Sunny WebBox available via the Internet, to allow, for example, direct
access to the Sunny WebBox via the Sunny Portal, you must configure a port redirection in your router.
This may require you to adjust the network port of the Sunny WebBox.
The Sunny WebBox uses four network ports for the various services. If these ports are reserved for
other applications in your network, you can change the ports as follows. For information regarding
Modbus configuration, see page 58.
1. Select "WebBox > Settings > Network" in the user interface.
2. In the field "Virtual public HTTP port", enter the port enabled in the router for HTTP access.
This port allows the web server of the Sunny WebBox to be accessed via the Internet.
3. In the "Webserver port" field, enter the port via which the web server of the Sunny WebBox can
be reached.
4. In the "Webservice port" field, enter the port via which the Sunny WebBox sends data to the
Sunny Portal and executes the Sunny WebBox firmware updates.
5. Select [Save] and [Confirm].
☑ The network ports are now changed.
10.4 Modbus Configuration
10.4.1 Activating or Deactivating the Modbus Server
1. Select "WebBox > Settings > Network" in the user interface.
2. Select "yes" in the "Use Modbus" field in order to use the Modbus protocol for Sunny WebBox
communication. If you activate the Modbus protocol, unauthorized access to the
Sunny WebBox is possible. In this case, users without a password will be able to access the
instantaneous values of supported devices and change the Sunny WebBox system time.
or
Select "no" in the "Use Modbus" field to deselect the Modbus protocol for Sunny WebBox
communication.
3. In the "Modbus port" field, enter the port that you want the Sunny WebBox to use when
communicating via the Modbus protocol. The default setting is port 502.
4. Select [Save] and [Confirm].
Adjusting the network ports
Make sure you can access the Sunny WebBox on the web server before you change the
"Public virtual HTTP port" setting of the Sunny WebBox. In most cases, the settings do not
have to be changed manually, as the router automatically forwards the queries to the
correct ports via the network. Before adjusting the ports, contact your network
administrator.