Mitsumi electronic NZ2GF-ETB Network Card User Manual


 
67
CHAPTER 7 COMMUNICATION OF THE ETHERNET ADAPTER MODULE
7
7.1 SLMP Communication and Cyclic Transmission
7.1.2 Communication details
7.1.2 Communication details
The following SLMP message is sent from the external device to the Ethernet adapter module.
By Read (command: 0401), 32-bit data in RY0000 to RY001F (Y0000 to Y001F) are read out.
By Write (command: 1401), 2-word data (1234
H
and 5678
H
) are written to RWr0000 to RWr0001 (W1000 to
W1001).
Through cyclic transmissions, data in link devices of the Ethernet adapter module are periodically exchanged with the
CPU module's devices.
(1) Communication settings
(2) SLMP commands
Item Setting
Protocol TCP/IP
TCP connection type Unpassive
Communication data
code
Binary code
Item
Command Subcommand Description
Type Operation
Device
Read 0401 0000
Reads values from bit devices (of consecutive device
numbers) in units of 16 points.
Write 1401 0000
Writes values to word devices (of consecutive device
numbers) in units of one point.
External deviceConfiguration tool
Master station
Master station
Ethernet adapter
module
CPU module Master/local module
X
Y
W
RX
RY
RWw
RWr
RX
RY
RWw
RWr
SLMP
Cyclic
transmission
Ethernet adapter
module
0000
001F
RY
Data reading
XXXX
H
XXXXH
SLMP
Data writing
0000
1234
H
0001 5678H
RWr