Sample Program - Panasonic FP2 ET-LAN Technical Manual

Table of Contents

Advertisement

7.3.3 Sample Program

Program contents
The sample program is for an ET-LAN unit installed in slot no. 0, and covers communication settings up
-
to where the connection is opened as a result of the contents noted below.
After the connection has been opened, no communication program is necessary on the PLC side.
-
Internal relay allocation
Classification
Complete signal area
Request signal area
Data register allocation
Classification
Device number
of processing
DT10 to DT11
Initialization
DT12
processing
DT13
DT20
DT21
Open processing
DT22 to DT23
DT24
DT25
Device number
R0 to R1F
R40 to R5F
Setting item
Source node IP address
Communication function
setting between networks
Source node MEWTOCOL
station number
Open method
Source node port No.
Partner node IP address
Partner node port No.
Partner node MEWTOCOL
station number
Devices used in program example
RC
Initialization complete signal
RD
Initialization error signal
R11
Open error signal (Connection 1)
R4C
Initialization request signal
R50
Open request signal (Connection 1)
Setting for program example
192.168.1.1
(C0A80101H)
Not used
01
MEWTOCOL communication
TCP/IP
Fullpassive open
8000
192.168.1.2
(C0A80102H)
8000
02
7-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp2-et1Fp2-et2Afp27901Afp2790

Table of Contents