Instruction manual
4
1. Ethernet 4-19
Network Communications
ZM-71SE Setting (Macro)
This section explains the macro commands (SEND/EREAD/EWRITE) used for the
Ethernet. For more information on macro commands, refer to the ZM-71SE Instruction
Manual (Function).
Macro Command
[EREAD]
Words from the F1 memory in the ZM-300 series of the network table number specified
for F3 are read into the F0 memory. F2 designates the number of words to be read.
Usable Devices
EREAD: Read into memory
EREAD F0 = F1 C: F2 F3
Example: Macro command at the ZM-300 (A)
The macro command for ZM-300 (A) to read data from PLC (B) and transfer
it to PLC (A) is shown below.
[Contents] Two words starting from D100 in PLC (B) are read into D200 in
PLC (A).
Internal
Memory
PLC
Memory
Constant
Memory
Card
Indirect
Designation
Double
-word
IP Address
F0
F1
F2
F3
[Description] EREAD D200 = D100 C: 2 B
Top memory address
of the target
Top memory address
of the source
The number of words
to be transferred
Address of the source
(Network table number)
・・・
・・・
・・・
・・・
・・・
・・・
・・・
・・・
・・・
・・・
・・・
・・・
・・・
・・・
・・・
・・・
run
stop
<PLC: A>
Ethernet
<V7: A>
<PLC: B>
<V7: B>
D200 - 201
D100 - 101
PROGRAMMER
FACTORY
ACE
F1
F2
F3
F4
F5
F6
F7
SYSTEM
POWER
F1
F2
F3
F4
F5
F6
F7
SYSTEM
POWER
EREAD
<ZM-300 (A)>
<PLC (A)>
<ZM-300 (B)>
<PLC (B)>