3. Select "<>"
When writing to the SD card is finished, the "DDWIN" program can be closed and the SD
card removed from the PC and inserted into the RD55UP12-V module.
R04 CPU
Set IP address for RD55UP12-V

In order for the Mitsubishi controller to be accessible via OPC UA, the SLMP Connection
Module must be inserted using the GX Works configuration software.
Export global variables
Create global variables that will be read by the RD55UP12-V module. These variables will be accessible via the MQTT protocol (read and write). Make sure to enable the "Access from External Device" option.
IoT Gateway OPC UA Server Setup
Launching Web Interface
Depending on the level via which the PC is connected to the IoT Gateway, the
parameterisation interface can be called up by entering the corresponding IP address in a
web browser.
In the following example, the PC is connected via the process level, only "192.168.3.3" is
entered in the browser.
The login screen is displayed. For a new system, the default user name and password are
both "admin".
After pressing "Log in", you are in the configuration interface.
Licence
At the first startup of this system, remember to upload the license. To do this, select the "System" menu in the configuration interface.
On this page, click on "Browse" at "Select licence file" to search for the corresponding file
and then click on "Upload licence file" to copy it to the SD card.
After a restart of the system, the IoT Gateway can be used without restrictions.
Security
The IoT Gateway has a certificate management for secure communication. A corresponding
software interface is supplied for this purpose, which can be displayed in any web browser.
The configuration of the security levels and the administration of the certificates are carried
out in this interface. This is based on the mechanisms defined by the OPC Foundation. OPC
UA Security includes authentication and authorisation, encryption and data integrity through
signing. In this way, the control system can be protected against uncontrolled access via a
higher-level system.
There are different levels of encryption (Encrypt): None, Basic128Rsa15 and Basic256.
None No encryption
Basic128Rsa15 128 bit encryption
Basic256 256 bit encryption
The IBH Link UA function supports the Level Sign and SignAndEncrypt
None No security level, fastest data transmission
Sign The messages contain signed certificates
Sign and Encrypt The messages contain signed certificates and are encrypted
Sign + Sign and
Encrypt The messages may contain only signed certificates, or can be
signed and are encrypted as well
For testing purposes, the server security features have been disabled.
IQ-R Station
To add a Mitsubishi station, go to the Mitsubishi tab then Insert station .
After this Insert your CPU and load the project.
Then you should be able to see you global labels.
MQTT Setting
More information about MQTT and how to install and configure the Mosquitto Broker can be found in the article below:
The IoT gateway supports the MQTT protocol to send data to the cloud or to receive it from
the cloud.
In order to create an MQTT connection, access to an MQTT broker is required. The
corresponding configuration takes place in the IBH OPCUAEdit tool.
Creating New Server Connection
Open an existing OPCUA server configuration, add external data and next select “New MQTT broker”
In the next window enter the broker IP address and the necessary login data and press
“OK”.
In addition, the MQTT message format can be selected under "Message template". With
"Default" the simple JSON format is used.
Publish of values (Send data to Broker)
Two steps are required to “publish” values:
1. Create a new topic
2. Link the topic with data
Open the newly created “mosquitto” by pressing, then right-click on “Publish” to open
the menu and select “New topic
Select variable - data to be sent
Open “Publish” and click the newly created topic, then right-click on the topic in the “Select
variables…” menu
Select the required data in the next window and press “OK”
The selected data are then displayed in the active topic in the editor.
Send the new setting to the IoT gateway and after the transfer has taken place, check
whether the IoT gateway is connected to the broker.
Subscription to values (receive data from broker)
In the following example, the program “MQTT Explorer” “publishes” data to a broker. The IoT
gateway should "subscribe" this data and write it into the corresponding PLC register.
Open your Sample Broker ”by pressing, then right-click on“ Subscribe ”and select“ New topic ”.
Enter a name for the new topic and confirm with “OK”.
Now create variables; select the new topic, right-click to open the menu and press “Select variables…”
Send the new setting to the IoT gateway.
In the "Server" tab, you can view the current values of the shared variables.
MQTT Explorer - client

Each time any of the global variables is changed, it will be reflected in MQTT Explorer.
We can also modify the controller registers directly from MQTT Explorer.
If all the steps described in the documentation have been followed and the connection still doesn't work and variables are not being transmitted, make sure that the port (1883) are unblocked and the broker service is active.