DAP Posted June 17, 2015 Share Posted June 17, 2015 Hi everyone. I am starting using HTML and CSS languages. I am using this in an application for a machine. I use a Siemens PLC where it's possible to create a Web Page to show information about the machine. I could do a lot of things till now, but I have a new problem: There is a list of possible alarms that can occur in the machine. When any of these alarms happens, is necessary to show in this web page. Each alarm sets a different bit of a Double Word (DWord) of the PLC. So. I have a DWord with hexdecimal values. My question is: How do I program this web page to recognize each bit and show the correct alarm text in the page? It's possible to occur more than one alarm at a time. So, it's possible to have more than one bit at a time, and the page have to recognize all the active alarms and show the correct texts. Thanks Link to comment Share on other sites More sharing options...
Alatoru Posted June 17, 2015 Share Posted June 17, 2015 HTML is a language but it's static and only used to display data on web page. CSS is nota language it's style for HTML elements and so, not used in programming. What you are looking for most likely is some PHP code. Link to comment Share on other sites More sharing options...
davej Posted June 17, 2015 Share Posted June 17, 2015 These sort of simple web-hosting devices usually have their own language (often c) that must be used within the HTML code. Try... https://www.youtube.com/results?search_query=Siemens+PLC+web+page Link to comment Share on other sites More sharing options...
Ingolme Posted June 18, 2015 Share Posted June 18, 2015 CSS is a language. It has a grammatical structure (see formal grammar). It just is not a programming language, it's a language that describes the appearance of HTML elements. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now