Changes

Jump to navigation Jump to search
1,332 bytes added ,  13:22, 31 January 2022
no edit summary
Line 6: Line 6:  
</li>
 
</li>
   −
<li>Make sure you have the latest versions of LT Setup, LT Server, ModBus TCP plugin installed
+
<li>Убедитесь, что у вас установлены последние версии программ LT Setup, LT Server, плагина ModBus TCP.
 
<br>[[file:newmodbus2.png|700px|link=]]<br>
 
<br>[[file:newmodbus2.png|700px|link=]]<br>
 
</li>
 
</li>
   −
<li>Configure plugin before enabling.
+
<li>Перед включением настройте плагин.
 
<br>[[file:newmodbus3.png|700px|link=]]<br>
 
<br>[[file:newmodbus3.png|700px|link=]]<br>
 
<br>[[file:newmodbus4.png|700px|link=]]<br>
 
<br>[[file:newmodbus4.png|700px|link=]]<br>
 
<br>[[file:newmodbus5.png|700px|link=]]<br>
 
<br>[[file:newmodbus5.png|700px|link=]]<br>
'''IP''' - IP address of a ModBus TCP device, make sure that you can ping this device<br>
+
'''IP''' - IP-адрес устройства ModBus TCP, убедитесь, что вы можете пропинговать это устройство<br>
'''Port''' - 502 it is default port in most cases, but check documentation of your ModBus TCP device<br>
+
'''Port''' - порт 502 в большинстве случаев является портом по умолчанию, однако проверьте документацию вашего устройства ModBus TCP для уточнений<br>
'''Master/Slave''' - this option means that you add a Master device or Slave device<br>
+
'''Master/Slave''' - опция выбора статуса добавляемого устройства - ведущее или ведомое<br>
 
</li>
 
</li>
   −
<li>Enable plugin.
+
<li>Включите плагин.
 
<br>[[file:newmodbus6.png|700px|link=]]<br>
 
<br>[[file:newmodbus6.png|700px|link=]]<br>
 
</li>
 
</li>
 
</ol>
 
</ol>
   −
==Examples==
+
==Примеры==
 
<ol>
 
<ol>
 
<li>
 
<li>
<li>Go to Scripts page and create Blockly script
+
<li>Зайдите на страницу Скрипты (Scripts) и создайте скрипт в редакторе Blockly
 
<br>[[file:newmodbus7.png|700px|link=]]<br>
 
<br>[[file:newmodbus7.png|700px|link=]]<br>
 
</li>
 
</li>
   −
<li>Add ModBus block from Other tab
+
<li>Добавьте блок ModBus с вкладки Другие свойства (Other)
 
<br>[[file:newmodbus8.png|700px|link=]]<br>
 
<br>[[file:newmodbus8.png|700px|link=]]<br>
 
</li>
 
</li>
   −
<li>Choose ModBus TCP com-port from dropdown list and fill other fields. Save script and try it.
+
<li>Выберите com-порт ModBus TCP из выпадающего списка и заполните остальные поля. Сохраните скрипт и испытайте его.  
 
<br>[[file:newmodbus9.png|700px|link=]]<br>
 
<br>[[file:newmodbus9.png|700px|link=]]<br>
 
</li>
 
</li>
 
</ol>
 
</ol>
   −
==Logs==
+
==Записи в файле отчета==
Starting Service of MODBUS TCP plugin for Larnitech system...
+
  Запуск плагина MODBUS TCP для системы Larnitech...
  Started Service of MODBUS TCP plugin for Larnitech system.
+
  Запущен плагин MODBUS TCP для системы Larnitech..
  Compiled: Jul  7 2021 13:59:57
+
  Составлено: 7 июля 2021 г., 13:59:57
  INF: Settings:
+
  INF: Настройки:
  INF: debug yes '''- Debug mode is enabled'''
+
  INF: отладка yes '''- Режим отладки включен'''
  INF: modbus-devices 192.168.1.110:502:0
+
  INF: устройства modbus 192.168.1.110:502:0
  INF: Modbus 192.168.1.110:502:0 thread created
+
  INF: Modbus 192.168.1.110:502:0 поток создан
  INF: Modbus 192.168.1.110:502:0 thread started
+
  INF: Modbus 192.168.1.110:502:0 поток запущен
  DEBUG: Modbus client: connected to 192.168.1.110:502:0''' - Plugin connected to the device'''
+
  ОТЛАДКА: Клиент Modbus: подключен к 192.168.1.110:502:0''' - Плагин подключен к устройству'''
  DEBUG: Modbus client: waiting for messages for 192.168.1.110:502:0
+
  ОТЛАДКА: Клиент Modbus: ожидание сообщений для 192.168.1.110:502:0
  DEBUG: Add message 01050011FF00 to 192.168.1.110:502:0 queue
+
  ОТЛАДКА: Добавить сообщение 01050011FF00 в очередь 192.168.1.110:502:0
  DEBUG: Modbus thread unlocked for 192.168.1.110:502:0
+
  ОТЛАДКА: Поток Modbus разблокирован для 192.168.1.110:502:0
  DEBUG: Modbus client: send packet to 192.168.1.110:502:0 0x01050011FF00''' - Send ‘ON’ to first coil'''
+
  ОТЛАДКА: Клиент Modbus: отправить пакет на 192.168.1.110:502:0 0x01050011FF00''' - Отправить ‘ON’ на первую катушку'''
  DEBUG: Modbus client: confirmation from 192.168.1.110:502:0 0x01050011FF00 '''- Right feedback from the device'''
+
  ОТЛАДКА: Клиент Modbus: подтверждение от  192.168.1.110:502:0 0x01050011FF00 '''- Корректный ответ устройства'''
  DEBUG: Modbus client: waiting for messages for 192.168.1.110:502:0
+
  ОТЛАДКА: Клиент Modbus: ожидание сообщений для 192.168.1.110:502:0
  DEBUG: Add message 010500110000 to 192.168.1.110:502:0 queue
+
  ОТЛАДКА: Добавить сообщение 010500110000 в очередь 192.168.1.110:502:0
  DEBUG: Modbus thread unlocked for 192.168.1.110:502:0
+
  ОТЛАДКА: Поток Modbus разблокирован для 192.168.1.110:502:0
  DEBUG: Modbus client: send packet to 192.168.1.110:502:0 0x010500110000''' - Send ‘OFF’ to first coil'''
+
  ОТЛАДКА: Клиент Modbus: отправить пакет на 192.168.1.110:502:0 0x010500110000''' - Отправить ‘OFF’ на первую катушку'''
  DEBUG: Modbus client: confirmation from 192.168.1.110:502:0 0x010500110000''' - Right feedback from the device'''
+
  ОТЛАДКА: Клиент Modbus: подтверждение от 192.168.1.110:502:0 0x010500110000''' - Корректный ответ устройства'''
  DEBUG: Modbus client: waiting for messages for 192.168.1.110:502:0
+
  ОТЛАДКА: Клиент Modbus: ожидание сообщений для 192.168.1.110:502:0
editor, translation-admin, translator
4,754

edits

Navigation menu