
4-8
4.4 Handshake Method
4.4.1 Handshake Method
Handshake method
-
The CPU unit and ET-LAN unit carry out initialization and termination processing, open and close
processing, various types of communication processing requests, and confirmation of completion by
means of a handshake.
-
There are two types of handshake, one using the I/O and one using the shared memory.
-
Both types can be used at the same time.
Handshakes using the I/O and using the shared memory
Item
I/O handshaking
Shared memory handshaking
Operation
method
The various processes are executed
by reading from and writing to the
input contacts X and output contacts Y
allocated to the ET-LAN unit from the
ladder program.
The various processes are executed by
reading from and writing to the handshaking
area allocated to the shared memory in the
ET-LAN unit from the ladder program.
Programming
cautions
The input contacts X and output
contacts Y can be used as it is.
The F150 (READ)/PREAD (P150), F151
(WRT)/P151 (PWRT) instructions are used
to reflect the content of the shared memory
handshake area to internal relays etc.
Operation in
PROG. mode
The output contacts Y all go off. At
this time, all connections
(communication routes) are closed
forcibly (communication not possible).
Therefore, if the CPU unit switches
from RUN to PROG. mode due to
some error occurring, communication
stops.
As the shared memory is not changed even
in PROG. mode, the connection
(communication route) is not closed.
However, if the connection is closed from
another node when in PROG. mode, the
ET-LAN will not execute a process to
reopen it. When you switch from PROG.
mode to RUN mode, and the reinitialize and
re-opening processes are not executed, we
recommend that you construct a program
after referring to the flow chart on page 4-
16.
Limits on the
communicatio
n functions
that can be
used
For MEWTOCOL communication, all
processes can be realized using
connections 1 to 8.
For transparent communication, only
the processes for connections 1 to 3
can be realized. I/O handshaking
cannot be realized.
For both MEWTOCOL communication and
transparent communication, all processes
can be realized using connections 1 to 8.
I/O handshaking and shared memory handshaking can be used simultaneously.
Note:
If both the I/O and shared memory handshakes are used at the same time, operation is as follows.
-
Input conditions such as complete signals and error signals are updated in both the input relay <I/O>
and the complete signal area <shared memory>.
-
Output conditions such as request signals operate under the logical OR of the output relay <I/O> and
the request signal area <shared memory>. As a result, if both are on, the result is on, and an off result
is produced only if both are off.
Summary of Contents for FP2 ET-LAN
Page 11: ...Chapter 1 Unit Functions and Restrictions ...
Page 14: ...1 4 1 1 4 Connecting to a Network AFP2790 100BASE TX 10BASE T 10BASE5 AUI AFP27901 ...
Page 24: ...1 14 ...
Page 25: ...Chapter 2 Names and Functions of Parts ...
Page 29: ...Chapter 3 Connection for LAN Cable ...
Page 37: ...Chapter 4 Confirming the Design Contents ...
Page 49: ...Chapter 5 Initialization Processing and Termination Processing ...
Page 68: ...5 20 ...
Page 69: ...Chapter 6 Open Processing and Close Processing ...
Page 84: ...6 16 ...
Page 85: ...Chapter 7 Computer Link Function ...
Page 94: ...7 10 Program example ...
Page 97: ...7 13 Example of communication data Same hierarchy communication ...
Page 100: ...7 16 Example of communication data Other hierarchy communication ...
Page 101: ...7 17 Other hierarchy communication for MEWTOCOL COM ...
Page 102: ...7 18 ...
Page 103: ...Chapter 8 Data Transfer Function ...
Page 111: ...8 9 Program example ...
Page 114: ...8 12 Example of communication data Same hierarchy communication ...
Page 117: ...8 15 Example of communication data Other hierarchy communication ...
Page 119: ...8 17 Other hierarchy communication for MEWTOCOL DAT ...
Page 120: ...8 18 ...
Page 121: ...Chapter 9 Transparent Communication Function ...
Page 137: ...9 17 Program example ...
Page 143: ...Chapter 10 Auto Connection ...
Page 155: ...10 13 Case 1 Ladder program example ...
Page 169: ...Chapter 11 E mail Function ...
Page 200: ...11 32 ...
Page 201: ...Chapter 12 Error Log Function ...
Page 203: ...12 3 Latest log block area Log block reading processing area ...
Page 219: ...Chapter 13 Troubleshooting ...
Page 224: ...13 6 13 2 4 Troubleshooting Flowchart ...
Page 225: ...13 7 ...
Page 229: ...Chapter 14 MEWTOCOL Communication Procedure ...
Page 242: ...14 14 To write to an index register ...
Page 262: ...14 34 ...
Page 263: ...Chapter 15 Specifications ...
Page 292: ...15 30 15 6 ASCII Codes ...
Page 293: ...15 31 15 7 Dimensions AFP2790 FP2 ET1 AFP27901 FP2 ET2 ...
Page 294: ......
Page 295: ...Chapter 16 Sample Program ...
Page 298: ...16 4 ...
Page 299: ...16 5 ...
Page 300: ...16 6 ...
Page 301: ...16 7 ...
Page 304: ......
Page 305: ......