Mitsubishi M700 and M800 control state and alarms right in the chat
How long each Mitsubishi control ran a program or sat in feed hold over a shift, with NC and PLC alarms. A gateway reads it through the site's EZSocket library.
Mitsubishi CNC examples
Only No. 1 had alarms: 2 PLC alarms and 1 h 25 min in feed hold.
- No. 1: coolant pressure below normal, then feed hold after the alarm
- No. 2 and No. 3 had no alarms, No. 3 showed 2 operator messages
I read alarms and state through the EZSocket library on the gateway computer, with the alarm text from the control.
How the agent works with Mitsubishi CNC
A Mitsubishi control sits on the site's network, so the gateway reaches it: a program installed on a Windows computer on the same network. The gateway is added on the Gateways tab and assigned to the connection. The connection takes the control address, for example tcp://10.0.12.5:683, the M700 or M800 series and the machine kind. While there is no link outside, the gateway keeps the data on disk.
The gateway does not talk to port 683 itself: a malformed frame on that port can stop the control (CVE-2024-7316). It calls the EZSocket library the site installs from Mitsubishi's media. The library is 32-bit, so the gateway's 32-bit helper loads it in a separate process for each round, and a crash or hang inside it ends only that round.
Only read calls of the library are declared: the gateway has no parameter, variable or PLC writes, no program download and no control commands. The library has no reading for operation mode, overrides, cycle time or part count. Where the integrator has confirmed them on your machine, they are read as a parameter, variable or PLC device tag.
On every scan the gateway reads the control's alarm list: NC and PLC alarms, stop codes and operator messages. NC and PLC alarms arrive as alarms, stop codes and operator messages as warnings. History records transitions observed during polling.
Integration scenarios
How the machines are now
The agent shows whether the control is running a program, sitting in feed hold or reset, and the emergency stop flag. It gives the controller text of active alarms.
Running and downtime per shift
The agent takes state observations for a period and works out how long the control ran a program, sat in feed hold or waited.
Program and block
The agent reads the main program and subprogram numbers and the sequence and block numbers on each part system of the control.
Spindle and feed
The agent collects the history of spindle speed and load and actual feed in intervals: minimum, maximum and average.
Axis positions
The agent shows the machine and work coordinates of every axis of every part system the control names.
Parameters, variables and PLC
The agent reads the parameters, common variables and PLC devices you list, such as a part counter or a door closed bit.
How to connect
Before you connect
- A Mitsubishi M700, M70, E70, M800, M80 or E80 control with Ethernet, TCP 683
- The EZSocket library (FCSB1224W100) from Mitsubishi's media
- A Windows computer on the site's network for the gateway
- Control firmware updated per Mitsubishi's security advisories
- Server admits listed addresses only? Allow connections from 158.160.205.91 and 87.228.27.163.
- 1
Install EZSocket on the gateway computer
Install the FCSB1224W100 runtime from Mitsubishi's media on the Windows computer that runs the gateway. The gateway does not contain this 32-bit library.
- 2
The gateway calls its own 32-bit helper
A 64-bit program cannot load a 32-bit library, so the gateway ships a 32-bit helper. If it is missing, the connection names the path it expected.
- 3
Open port 683 to the control
The EZSocket library talks to the control on TCP 683. The gateway computer must reach the control at that address and port.
- 4
Update the control firmware
Update the firmware per Mitsubishi advisories 2024-007 and 2025-022 (CVE-2024-7316, CVE-2025-2399) and let only the gateway computer reach port 683.
- 5
Add your own tags if needed
With no list the gateway reads status, program, spindle, feed, model and axes. Add a parameter, variable (#100) or PLC device as a line: path, address, type.
FAQ
Install the gateway on a Windows computer on the site's network and add it on the Gateways tab. Install the EZSocket FCSB1224W100 runtime on the same computer, and in the connection enter the control address, for example tcp://10.0.12.5:683, the series and the machine kind.
The agent gets the control's own alarm text regardless of the tag list. The standard catalog includes status, program, spindle, feed, model and axes of every part system. A custom list can include parameters, common variables and PLC devices.
No. The gateway declares only read calls of the EZSocket library: it has no parameter, variable or PLC writes, no program download and no control commands.
No. C70 and C80 have no EZSocket automation interface, so the connection offers only the M700 and M800 series.