The architecture of the heterogeneous Internet of Things (IoT) gateway and the problems of its integration with the Industrial Internet of Things (IIoT) are investigated in this article. In particular, the issue of the usage of heterogeneous gateway for conversion of packages, which formed on various industrial protocols, is raised. To solve this problem, authors are created the architecture of software for data formats transformation between different industrial protocols. As a possible solution, authors propose computer appliance, that use heterogeneous IoT gateways. Study the data format for packets of various IoT protocols and the main fields of packets, which needed for message conversion between each others, are conducted. © 2018 IEEE.