Welcome, Guest
Username: Password: Remember me

TOPIC: Connecting TeslaScada2 with PLC simulator Simatic

Connecting TeslaScada2 with PLC simulator Simatic 7 years 5 months ago #237

  • Student94
  • Student94's Avatar
Hi!

I'm implementing a little university project.

I have TeslaScada2 installed on Mac and Simatic Step 7 running on virtual machine.
Simatic is emulating S7-300 Controller and executing a simple script.

I wanted to tie the tags from simatic to UI elements in TeslaScada2 and control them via Tesla interface.
However, I didn't find any information regarding support of simulated plcs or tutorials on how to do so, only direct connections to real plc devices.

Is it something that is possible to implement? Or perhaps you may advise some other Mac/Windows PLC simulation software that may work with TeslaScada :)
Last Edit: 7 years 5 months ago by Student94.
The administrator has disabled public write access.

Connecting TeslaScada2 with PLC simulator Simatic 7 years 5 months ago #238

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 852
  • Thank you received: 126
  • Karma: -108
For testing Siemens protocols we recommend to use S7-PLCSIM: w3.siemens.com/mcms/simatic-controller-s...m/pages/default.aspx
For testing this simulator with our SCADA you should also use NetToPLCSim: nettoplcsim.sourceforge.net/
Both these products working under Windows.

Best regards,
Ruslan
The administrator has disabled public write access.
The following user(s) said Thank You: Student94

Connecting TeslaScada2 with PLC simulator Simatic 7 years 5 months ago #239

  • Student94
  • Student94's Avatar
Спасибо за ответ Руслан!

Я установил nettoplcsim и plcsim. Запустил простой тестовый проект в Simatic в режиме симуляции и запустил сервер на nettoplcsim.
В TeslaScada привязал 2 тега к I0.1 и Q0.1 и задал Siemens Server по параметрам в nettoplcsim. Однако после запуска имитации UI элементы не переключают значения I0.1 и Q0.1 в plcsim.
Как можно проверить в TeslaScada что он подключился к серверу nettoplcsim ?
The administrator has disabled public write access.

Connecting TeslaScada2 with PLC simulator Simatic 7 years 5 months ago #240

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 852
  • Thank you received: 126
  • Karma: -108
После разработки проекта в TeslaSCADA2 IDE вам необходимо запустить данный проект в TeslaSCADA2 Runtime для подсоединения к эмулятору. Регистр I0.1 вы не сможете переключить это входной регистр который можно только считывать. Записывать в него значения нельзя. Проверить обмен данными между SCADA и эмулятором можно при помощи программы мониторинга сети - WireShark: www.wireshark.org/. Эмулятор и SCADA должны быть установлены на разных машинах или на разных виртуальных машинах.

С уважением,
Руслан
The administrator has disabled public write access.
Go to top