This is a Node-RED node module to directly interface with MITSUBISHI PLCs over Ethernet using MC Protocol.
- Both TCP and UDP connections are possible
- frames 1E, 3E and 4E are possible
- works for PLC types
- A (See Note 1)
- QnA
- Q
- L
- R
- ASCII and BINARY mode (See Note 2)
If your PLC suports UDP + 4E, this is by far most reliable.
- For A series PLC, only 1E frames are supported
- ASCII mode is currently not supported for frames 3E and 4E
- node.js (runtime for Node-RED)
- Node-RED
- [optional] git (Used for repository cloning/downloads)
Use the Manage Palette > Install option from the menu inside node-red
cd ~/.node-red
npm install node-red-contrib-mcprotocol
cd ~/.node-red
npm install Steve-Mcl/node-red-contrib-mcprotocol
Make a directory for the base files on the disk (somewhere secure) and open the created folder and open PowerShell (SHIFT + right_click) or "Git Bash Here" with right mouse inside the folder. Now enter the following:
cd c:/tempsourcefolder
git clone https://github.com/Steve-Mcl/node-red-contrib-mcprotocol.git
cd ~/.node-red
npm install c:/tempsourcefolder/node-red-contrib-mcprotocol
- plcpeople for the original implementation of mcprotocol