Mitsubishi Electric FX3U-232-BD User Manual page 326

Melsec-f fx series programmable controllers data communication edition
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Computer Link
3. Specification example 2
When sending the data stored in the data registers D100 and D101 by a trigger from a sequence program
(when the station number is 0 and the data unit to be sent is set to "byte")
Computer side
PLC side
M8127
PLC
On-demand
command
[1]
Sequence program example
M8000
0
X000
M8002
3
M0
M8127
7
M8127 M8128
33
M8127 M8128
37
40
D-84
The PLC number "FE" is automatically added by the PLC.
S
T
0 0
X
30
30
02
H
H
Writes data to be
sent and amount of
data to be sent.
D8127
100
M8128
D8128
4
M8129
[2]
M8129
PLS
M0
MOV
H1234 D100
MOV
H5678 D101
RST
M8128
RST
Y000
RST
Y001
MOV
K100 D8127
MOV
K4
D8128
SET
Y000
SET
Y001
END
F E
3 4 1 2
7 8 5 6
38
35
46
45
31
32
33
34
37
H
H
H
H
H
H
H
H
H
ON/OFF
ON
D100
1234H
D101
5678H
........
The data unit is set to "byte" value.
........
The startup command is the pulse operation type.
........
Data to be sent is set.
The on-demand error flag is reset.
........
(The on-demand function is disabled while M8128 is
ON.)
The head device number storing the data to be sent
........
and the amount of data are specified, and the on-
demand function is started up.
On-demand error is checked for, and the check result
........
is output.
M8128
OFF:
ON:
7.13 On-demand Function
E
T
9 2
X
36
03
39
32
H
H
H
H
H
It turns ON when an error is
included in the specified
value for sending.
Data is sent in 4-bit units, in
the order "lowest-order 8-bit 
highest-order 8-bit".
Data is sent normally.
Data is not sent because an
error occurred.
7 Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents