Melsec Serial (Mitsubishi)

Melsec Serial

The Melsec Serial driver is used to communicate with Mitsubishi FX Series PLCs (FX1S, FX1N, FX2N, FX3U, etc.) or Q Series C24 modules over Serial Ports (RS232/RS422/RS485).

Connection Settings (Network Settings)

These settings must match the “Serial Communication Settings” (or DIP-switch configuration) on the PLC exactly.

ParameterDescriptionExample
Serial PortThe COM port on your computer to which the PLC is connected.COM1
BaudrateCommunication speed (9600, 19200, 38400, 115200). Standard values for FX series are usually 9600 or 38400.9600
ParityParity bit (None, Odd, Even). FX series commonly uses Even.Even
Stop BitsNumber of stop bits (One, Two).One
Data BitsNumber of data bits (7 or 8). FX series typically uses 7 bits.7
Delay (ms)Used to prevent data collisions on the serial line.100
Timeout (ms)Increase for older cables or low-speed communication.250
Retry CountRetries before marking the device as “Fault”.3

Station (Device) Settings

This panel defines the PLC’s identity and read limitations on the serial network (RS232/RS422/RS485).

ParameterExplanation and Usage
AddressStation Number:
• RS232/422 (Point-to-Point): Typically set to 0.
• RS485 (Multi-drop): Each PLC must have a unique station number (configured in PLC parameters).
SymbolSymbolic name assigned to the device (e.g., Device).
EnableDetermines whether the device is active. You can define conditional expressions to enable/disable communication dynamically. Multiple enable conditions may be added; if any condition is true, the device becomes active. Leave empty to always enable.
Skip After FailureRecommended to set True. If the device does not respond (Timeout), other tags for this device are skipped, preventing slowdowns—especially useful in RS485 networks when a device is powered off.
Maximum word countPacket Size: The maximum number of Words (registers) read in a single request. Default is 125.
Note: For older FX PLCs or noisy lines, reducing this value (e.g., to 32 or 64) may improve stability.
ConnectedThe selected bit becomes “True” when communication is established.
FaultThe selected bit becomes “True” when a communication error occurs.
CommentOptional device description.

Addressing Table

Wise SCADA uses the following prefixes for Mitsubishi PLC memory areas.

  • Important Note (Hex vs Decimal):

In Mitsubishi addressing:

  • Physical I/O such as X and Y are Hexadecimal (e.g., X0, X1 … XF, X10).
  • Memory areas like M and D are Decimal (e.g., M0, M100, D0).
Address TypeData TypeDescriptionExample
MBitInternal RelayM 0, M 100
XBitPhysical Input – HexX 0, X 1F
YBitPhysical Output – HexY 0, Y 10
BBitLink Relay – HexB 0, B 1A
DWord (16-bit)Data RegisterD 0, D 100
WWord (16-bit)Link Register – HexW 0, W 1F
RWord (16-bit)File RegisterR 0, R 50
ZRWord (16-bit)Extended File RegisterZR 0, ZR 100
LBitLatch RelayL 0, L 50
FBitFault (Annunciator) RelayF 0, F 10
TN / CNWordTimer / Counter (Current Value)TN 0, CN 5
TS / CSBitTimer / Counter (Contact Status)TS 0, CS 5

Leave a Reply