Skip to content

Mitsubishi MC

MC (MELSEC Communication) is the protocol for talking to Mitsubishi PLCs. inSCADA supports it over two transports, in the client role only.

Protocol valueTransport
MC TCPTCP
MC UDPUDP

Their configuration fields are identical; only the transport differs. TCP keeps the connection open and recovers a lost packet itself; UDP gives lower latency but a lost packet means the value simply does not arrive that cycle.

ParameterDefaultDescription
Frame Type—FRAME_1E, FRAME_3E or FRAME_4E
PLC Type—A, QNA, Q, L or R
Timeout (ms)3000The request timeout
Connect Timeout (ms)—The connect timeout
Retries—How many retries (1 – 10)
Monitoring Timer—The PLC’s monitoring timer (0 – 65535)

On a directly connected PLC these are left at their defaults; they matter only when reaching another station across a network.

ParameterRangeDescription
Network0 – 255The network number
PC Number0 – 255The station number
Destination Module IO0 – 65535The target module’s I/O number
Destination Station0 – 255The target station
ParameterDescription
Scan TimeThe polling interval (at least 100 ms)
Scan TypePERIODIC or FIXED_DELAY

A frame defines the range to read in PLC memory.

ParameterDescription
Device CodeThe memory area code
Start AddressThe first device number
QuantityHow many points to read (1 – 960)
CodeCodeCodeCode
X inputY outputM internal relayD data register
B link relayW link registerR file registerZR file register (extended)
L latch relayF annunciatorS stepV edge relay
SM special relaySD special registerSB special link relaySW special link register
TS / TC / TN timerCS / CN / CC counterSTS / STN / STC retentive timerDX / DY direct I/O
Z index
ParameterDescription
TypeThe data type
Start AddressThe offset within the frame
BitThe bit number (0 – 15), for bit access
TypeSize
BOOL1 bit
INT16 / UINT1616 bit
INT32 / UINT3232 bit
FLOAT32-bit floating point