Skip to main content

Panasonic MEWTOCOL

MEWTOCOL is the communication protocol used by the FP series PLCs from Panasonic (formerly Matsushita) of Japan.

Supported series: FP-X / FP-XH / FP0R / FP2 / FP-Sigma / FP7

You will frequently encounter these PLCs on small packaging, food, and pharmaceutical lines.


Registration Form Entries

FieldWhat to enterExample
IP addressIP of the PLC192.168.0.120
PortMEWTOCOL port9094 (standard / varies by model)
Station number (station)Station in a multi-PLC environment1 (usually 1 for a standalone unit)

On the PLC side, in Control FPWIN / Pro7 go to [Communication Settings] → enable MEWTOCOL/Ethernet or MEWTOCOL7, then check the port.

FP7 Uses MEWTOCOL7

The FP7 supports both the newer MEWTOCOL7 (binary) and the legacy MEWTOCOL-COM (ASCII). The gateway auto-negotiates either one, but the port and enable/disable state must match the PLC settings exactly.


PLC Address Notation for Tags

Panasonic memory areas and their short notation:

NotationAreaRemarks
DT100Data register 100Most common, 16-bit
LD100Link data register16-bit
FL100File register16-bit
WX5External input word16-bit (16 X bits)
WY5External output word16-bit
WR5Internal relay word16-bit
R0.0Bit 0 of internal relay 01 bit
X0Input bit1 bit
Y0Output bit1 bit
T0Timer
C0Counter

Bit / Word Notation

  • <area><number> → word / bit (determined automatically by area)
  • R<number>.<bit> → bit position within a relay (hex 0–F)
  • <area><number>:<data-type> → explicit data type (e.g. DT100:REAL)

Data Type Matching

PLC valueData typeType modifierPLC address example
Bit (R, X, Y)Boolean(leave empty)R0.0, X0, Y0
16-bit integerInteger(leave empty)DT100
16-bit unsignedIntegerUIDT100
32-bit integer (DT100+DT101)IntegerDWDT100
32-bit floatFloatREALDT200
64-bit floatDoubleLREALDT300
String of N words (= 2N characters)StringSTR[N]DT500

Panasonic PLCs also store 32-bit values across two words (DT100 = lower, DT101 = upper). Make sure the extra word is available.


Common Problems and Solutions

Symptom / messagePossible causeSolution
"Connection refused"MEWTOCOL/Ethernet disabledControl FPWIN → Communication Settings → enable the port
"Wrong station"Station number mismatchEnter the station value exactly as set on the PLC
All values 0Wrong area code / numberVerify the same address works in the FPWIN Watch window
32-bit values look wrongWidth not specifiedSpecify DW / REAL in the type modifier
Bit position notation errorThe bit position of R0.0 is hexadecimal (0–F)Use a single hex digit, as in R0.A

Frequently Used Examples

Tag namePLC addressData typeType modifier
Run signalR0.0Boolean(leave empty)
CounterDT100Integer(leave empty)
TemperatureDT200FloatREAL
Cumulative run timeDT102IntegerDW
Batch nameDT500StringSTR[10]

More Detailed Examples / Automated Registration

See the MEWTOCOL examples in Advanced — REST API.