Types Of Mewtocol Communication; Mewtocol-Dat (Binary Communication); Mewtocol-Com (Ascii Communication) - Panasonic FP7 CPU Unit User Manual

Lan port communication
Table of Contents

Advertisement

MEWTOCOL Master/Slave Communication

5.1 Types of MEWTOCOL Communication

5.1.1 MEWTOCOL-DAT (Binary Communication)

 Instructions
In master communication, PLC has the sending right, and executes communication by
sending commands to devices that support MEWTOCOL-DAT, and receiving responses.
Messages in accordance with the protocol are automatically generated by PLC. In the user
program, reading and writing can be done simply by specifying the station no. and memory
address and executing SEND/RECV commands.
PLC
DT100
100
DT101
0
・・・・・・
・・・・・・・・
・・・・・・
・・・・・・・・
Note: The above figure indicates the data part of MEWTOCOL-DAT. In communication via LAN, a header including size information of the sent data
is added.

5.1.2 MEWTOCOL-COM (ASCII Communication)

In master communication, PLC has the sending right, and executes communication by
sending commands to devices that support MEWTOCOL-COM, and receiving responses.
Messages in accordance with the protocol are automatically generated by PLC. In the user
program, reading and writing can be done simply by specifying the station no. and memory
address and executing SEND/RECV commands.
PLC
DT100
100
DT101
0
・・・・・・
・・・・・・・・
・・・・・・
・・・・・・・・
Note: The above figure indicates the data part of MEWTOCOL-COM. In communication via LAN, a header including size information of the sent
data is added.
Note) In MEWTOCOL-COM7, there is no master communication function.
5-2
Command message
(Hex) 80 51 09 90 01 02 00
(Hex) 80 D1 FF 64 00 00 00
Response message
Specify and read/write address based on SEND/RECV command
Command message
%01#RDD0040000401 (BCC) C
%01$RDD64000000 (BCC) C
Response message
Specify and read/write address based on SEND/RECV command
Our PLC supporting
MEWTOCOL-DAT
DT00400
100
DT00401
0
・・・・・・
・・・・・・・・
・・・・・・
・・・・・・・・
External device supporting
MEWTOCOL-COM
DT00400
100
R
DT00401
0
・・・・・・
・・・・・・・・
R
・・・・・・
・・・・・・・・

Advertisement

Table of Contents
loading

Table of Contents