28. FTV SESCADA, Historical alarms and events into SQL Database
Автор: Only Logic
Загружено: 2026-01-17
Просмотров: 13
في هذا الفيديو أشرح طريقة التحكم في تشغيل المحرك من محطة HMI واحدة فقط باستخدام سكربت بسيط في أنظمة
FactoryTalk View SE و Wonderware InTouch.
نعتمد على متغير من نظام التشغيل Windows وهو:
Environ("COMPUTERNAME")
لمعرفة اسم جهاز الـ HMI الذي أرسل الأمر، ثم السماح بالتشغيل فقط إذا كان من جهاز محدد:
If Environ("COMPUTERNAME") = "HMI_LINE1" Then
Start_Motor = 1
End If
هذه الطريقة مفيدة جدًا في أنظمة Multi-Client HMI لمنع التشغيل غير المصرح به
بدون أي تعديل على كود الـ PLC.
🔹 ما ستتعلمه في الفيديو:
ما هي دالة Environ
كيف يتعرف الـ HMI على اسم الجهاز
منع تشغيل المحرك من شاشات أخرى
فكرة Soft Security داخل الـ HMI
الفيديو مناسب لمهندسي التحكم والأتمتة ومبرمجي PLC و HMI.
In this video, I explain how to control a motor from only one specific HMI station using a simple VB script in HMI systems like FactoryTalk View SE or Wonderware InTouch.
We use the Windows environment variable:
Environ("COMPUTERNAME")
to check the HMI computer name before allowing the motor to start:
If Environ("COMPUTERNAME") = "HMI_LINE1" Then
Start_Motor = 1
End If
This method is very useful in multi-client HMI systems to prevent unauthorized motor starts without any PLC code changes.
🔹 Topics covered:
What is Environ(COMPUTERNAME)
How HMI knows which computer sent the command
Soft security in HMI systems
Practical example for motor control
👍 Ideal for automation engineers, PLC programmers, and HMI developers.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: