fishbate Posted March 14, 2018 Share Posted March 14, 2018 Hi guys, i am new web development and java . I'm a technician by profession and i am familiar with PLC programming and Vb programming. I use to have projects on HMI (Human Machine Interfacing) on my department that involves these programming methods. Lately i'm trying to use WeB interfacing as a main control for some machines but failing. What i want to know, is Java script capable of communicating with external devices (for example : a relay thru a communication port)? Any comments and suggestions is greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Administrators Nathan Posted March 14, 2018 Administrators Share Posted March 14, 2018 Hmm...is the machine connected via Ethernet or WiFi then? If so then a web app I would think will work. And if that's the case then yes, JavaScript should do the trick. To control the machine though I'd think you're going to have to know the API commands to fire with JavaScript. Happy to help though if you post some of your syntax here. How did you land on using JavaScript vs any other language? Quote Link to comment Share on other sites More sharing options...
fishbate Posted March 14, 2018 Author Share Posted March 14, 2018 I cannot say much about it because it is still a concept. I'm still trying to figure out the communication system between the machine and the website. I choose java for the web function just because i'm familiar with it. Basically what i want to happen is java will be responsible for WEB user control interface and Real time data content by the machine. For the machine control java will call VB base programs that will be connected to I/O hardware . Java will also have to control signaling devices for the Alarm system thru a communication port Where the website is being viewed. I made an illustration on how the project could work. Thank you for your comments i really appreciate it. Quote Link to comment Share on other sites More sharing options...
safacatz Posted November 22, 2019 Share Posted November 22, 2019 JavaScript is a very powerful client-side scripting language. JavaScript is used largely for improving the communication of a user with the webpage. In other words, you can make your webpage more exciting and interactive, with the help of JavaScript. JavaScript is also being used widely in game development and Mobile application development. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.