Entradas

Imagen
Prerequisites: Node-RED installed and running on your machine. An Allen-Bradley PLC connected to your network. The node-red-contrib-ab package installed in Node-RED to facilitate communication with the PLC. Step 1: Install the Required Package Install the Required Package using the command line or terminal on your machine. Open a terminal or command line window on your machine. To install the necessary package that will allow communication with the Allen-Bradley PLC, enter the following command: cd ~/.node-red npm install node-red-contrib-ab     Install the Required Package Directly from Node-RED   STEP 2 : Open Node-RED : Launch Node-RED by visiting http://localhost:1880 in your browser or Start Node-RED using the command line or terminal on your machine. Open another terminal or command line window. Type node-red and press Enter :   node-red Note: keep this terminal open. ...