5/30/2018 11:27 AM | |
Posts: 8 Rating:
|
Hi guys, i succeed to read array of 660 bits from www_Alarm_DB from PLC ( when i trigger egg. bit 600 in DB, i have 1 on WEB page (address is :="www_Alarm_DB".alarmbits[600]:), and that's good), but the thing I didn't succeed is connect alarm text with appropriate bit, how can i do that in HTML? I want when there is egg. 5 alarms(5 active bits), to show that alarms texts in Alarm screen in html. Screenshots with alarm screen(html) and enum alarm file are in attach. Hope for fast reply, thanks in advance. Toni ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 5/30/2018 2:40:03 PMNew subject after splitting |
|
5/30/2018 11:28 AM | |
Posts: 8 Rating:
|
Alarm screen attach |
6/2/2018 10:37 AM | |
Joined: 2/8/2017 Last visit: 3/15/2024 Posts: 87 Rating:
|
i recommend to use Javascript and asynchronus datatransfer with AJAX and JSON. reading single bits can be done by mask the variabel if its not of boolean type. More about AJAX and JSON are describet in that App Example: |
Follow us on