JS Web API Part 2 - Take URL from registers

preview_player
Показать описание
Usually, the URL is dynamic and we need to get it from HMI/PLC registers. However, in our javascript environment the interface driver method getData returns the URL strings in binary, and a simple conversion is needed prior to using it as the actual URL. In this video, we go over this step by step and we try to form a complete URL by combining a fixed partial URL with a string from HMI registers.

0:11 Introduction
1:42 Setup in Software
2:57 JavaScript source code
5:02 Test and Debug
Рекомендации по теме
join shbcf.ru