Size bugün nasıl yardımcı olabiliriz?

How to sync the HMISTU655/855 to a PLC TOD (Time of Day) clock?

Goals and Symptoms
This resolution is to sync the Magelis time of day clock to a PLC clock. You will need to read the clock and put each value into a separate address/tag. How this will work is that on startup, the Magelis will try to communicate to the PLC to set the HMI clock using two scripts (sys.setTime and sys.setDate).
Causes and Fixes
HMISTU655/855 sync to a PLC TODThis resolution is to sync the Magelis time of day clock to a PLC clock. You will need to read the clock and put each value into a separate address/tag.How this will work is that on startup, the Magelis will try to communicate to the PLC to set the HMI clock using two scripts (sys.setTime and sys.setDate).Enable Time Management for Manual configuration and also enable Auto start. The time to auto start is up to you. You want to optimize the time so thatyour PLC is up before Magelis starts communicating. 20 seconds is just a starting reference and it could be more or less depending on the PLC boot time.image1Create 5 external variables for the hours, minutes, month, day, and year to read the data from the PLC.image2Create an external communications statistics variable to monitor the communication for that scangroup.image3Last but not least, create an internal boolean variable with a initial value of 1.The initial value is under the Data Details Tab.image4Under Actions, create an action with a trigger type of Conditional.Trigger Variable is the Communications statistics variable, Good_Comms, and Trigger Condition as On Data Change.Also check the box for Enable Interlock with the following syntax: "Set_clock == 1 && Good_Comms == 5", then click Next.image5Select Script as an operation and click New Script.image6Type the following script into the field. Your variables that are reading the TOD maybe different then the ones in this resolution. Keep in mind that the PLC_year variable needs to be a 4 digit value.image7Click Add and then add another operation called Bit with the Reset operation on the Set_clock boolean tag.Click Add and Finish.image8This Action will run on the HMI when the Good_Comms counter has reached a value of 5 and the Set_clock is TRUE to set the TOD clock.Once the clock is set, Set_clock is set to FALSEand the script will no longer execute until a power cycle of the HMI.

Schneider Electric Turkey

Daha fazlasını keşfedin
Ürün:
Daha fazlasını keşfedin
Ürün:

Yardıma mı ihtiyacınız var?

Yardıma mı ihtiyacınız var?

Ürün seçici

Ürün seçici

Uygulamalarınız için doğru ürünleri ve aksesuarları hızlı ve kolay bir şekilde bulun.

Teklif Alın

Teklif Alın

Satışla ilgili sorularınızı çevrimiçi olarak başlatın, bir uzman sizinle bağlantı kuracaktır.

Satış noktaları

Satış noktaları

Konumunuza en yakın Schneider Electric distribütörünü kolayca bulun.

Yardım Merkezi

Yardım Merkezi

Tüm ihtiyaçlarınız için destek kaynaklarını tek bir yerde bulun.

  • Ürün Belgeleri
  • Yazılım İndirmeleri
  • Ürün Seçici
  • İkame Ürün ve Değiştirme
  • Yardım Merkezi
  • Ofislerimizi Bulun
  • Teklif Alın
  • Satış noktaları
  • Schneider Electric Topluluğu
  • Kariyer
  • Şirket Profili
  • Bir usulsüzlüğü bildirin
  • Erişilebilirlik
  • Haberler
  • Yatırımcılar
  • EcoStruxure
  • İş Araması
  • Blog
  • Gizlilik İlkesi
  • Çerez Bildirimi
  • Change your cookie settings