Variables from the added device do not show in Variable browser

If it happens to you that the variables of the added device do not appear in the variable browser even after compilation, then you do not have mapped variables in the data points of the device. Either use Autogen for hardware data points (recommended), or create a global variables and map it to the I/O points in Mapping  IO => ST for reading, and ST => IO for writing.