V-sft setting (macro), V-sft setting (macro) -19, Macro command – Hakko MONITOUCH V7 series User Manual

Page 170: Eread f0 = f1 c: f2 f3

Advertising
background image

4

1. Ethernet

4-19

Netw

or

k C

o

mm

uni
ca
tio
n

s

V-SFT Setting (Macro)

This section explains the macro commands (SEND/EREAD/EWRITE) used for the
Ethernet. For more information on macro commands, refer to the Reference Manual
(Function).

Macro Command

[EREAD]

Words from the F1 memory in the V7 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 V7 (A)

The macro command for V7 (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

<PLC: A>

Ethernet

<V7: A>

<PLC: B>

<V7: B>

D200 - 201

D100 - 101

PROGRAMMER

F A C T O R Y

A C E

F1

F2

F3

F4

F5

F6

F7

SYSTEM

POWER

F1

F2

F3

F4

F5

F6

F7

SYSTEM

POWER

EREAD

<V7 (A)>

<PLC (A)>

<V7 (B)>

<PLC (B)>

Advertising