Panasonic AFPX-C30R User Manual page 218

Fp-x series
Hide thumbs Also See for AFPX-C30R:
Table of Contents

Advertisement

7.7.9 MEWTOCOL Master (Ethernet) (Sample Program) (Ver 1.10 or Later)
Overview
MEWTOCOL communication can be performed with the FP-X using the F145 and F146 instructions. The
following sample program executes 4 MEWTOCOL commands in sequence for 2 slave units using the
F145 and F146 instructions.
Note: It is available for the transistor type and relay type of Ver 1.21 or later.
Description
R100: Stores the data for 10 words from DT1000 of the slave unit 1 into the area from DT100 of the
master unit.
R101: Writes the data for 10 words from DT100 of the master unit to the area form DT1010 of the slave
unit 1.
R102: Stores the data for 10 words from DT1000 of the slave unit 2 into the area from DT120 of the
master unit.
R103: Writes the data for 10 words from DT130 of the master unit to the area form DT1010 of the slave
unit 2.
Set the system registers for each units by a tool software (such as FPWIN GR).
Master unit
Slave unit 1
Slave unit 2
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
System register setting
No. 412:
Computer link mode
No. 415:
115200 bps
No. 413:
8 bits, Odd, 1 bit
No. 410:
Unit No. 1
No. 412:
Computer link mode
No. 415:
115200 bps
No. 143
8 bits, Odd, 1 bit
No. 410:
Unit No. 2
No. 412:
Computer link mode
No. 415:
115200 bps
No. 413:
8 bits, Odd, 1 bit

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents