#8 How to Control ESP8266 PLC from Anywhere in the World | RemoteXY | OP320 HMI

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Yes! A smartphone can monitor  and control the ESP8266 along   with the OP320 HMI panel through  the RemoteXY's IoT cloud server. First, set the required RemoteXY  web interface configuration.  Select the cloud server connection and  then the ESP8266 NodeMCU board type.  The Wi-Fi on chip module and FLProg IDE.  You can create a new cloud server token  from here or use an existing token.  Be sure to take note of the server’s  name, port number, and token. Drag two button controls into the interface.  Change the first color to  green, and the caption to ON.  Change the other color to  red and its caption to OFF.  Drag in the LED and the online graph  indicators and adjust them as required.  Also, place the edit field here, adjust as  required, and change the input type to integer.  Then click on Get Source Code  and copy the code from here. From the number 7 video of the ESP8266 PLC  Ladder Logic series, expand the controller,   the Wi-Fi module settings, and  double-click to enable the Wi-Fi client.  Input your home network's SSID and password. Insert a new project board above the existing  one and insert the RemoteXY block into it.  Double-click on it and select  the inputs/outputs tab.  Click on download description and  paste the RemoteXY source code.  On the communication module tab, observe  that cloud server mode has been selected.  The server’s name, token, and port number were  all retrieved from the RemoteXY source code. Connect the A0 analog input to  the RemoteXY onlinegraph_1 input,   and the KP1 contact to the led_1 input.  Connect the K1 and K2 coils to the  RemoteXY button_1 and button_2 outputs.  For the edit_1 output, place the SERVO Modbus tag  here and select the input of the write enable.  Place a number change block and draw  connections to the blocks as shown.  Drag and connect K1 and K2 contacts to  the inputs of the bistable relay as shown.  Then compile the project.  In the Arduino IDE, locate the dot attach line  in the void setup section of the code and input   comma 544 comma 2400 for the servo motor. Then compile and upload the Arduino code. Connect your smartphone to  your home Wi-Fi network,   open the RemoteXY app, and  add a new cloud server device.  Input the RemoteXY cloud server’s name, port  number, and token, and connect to the ESP8266.  Observe the Potentiometer values on the  online graph as in the OP320 HMI panel.  Hold down the ON button on the app to turn  on the LED and the OFF button to turn it off.  You can also adjust the servo  position in the edit field.  All of these can also be monitored  and adjusted from the OP320 HMI panel. Now, you can monitor and control your  ESP8266 device from anywhere in the   world through the RemoteXY IoT Cloud Server.  Thanks for watching. I hope this video is helpful.  If so, please consider liking, subscribing,  sharing, and click on the bell icon for   more videos. Bye for now.
Info
Channel: OnosTech
Views: 2,338
Rating: undefined out of 5
Keywords:
Id: 571azRzWxBk
Channel Id: undefined
Length: 4min 47sec (287 seconds)
Published: Sun Sep 10 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.