Mitsubishi Electric MELSEC FX Series User Manual page 100

Programmable logic controllers
Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FX communication
3 ) Specification Example 2
To transmit the data stored in data registers D100 and D101 from the programmable
controller (when the station number is 0, and data is specified in byte units)
Computer
Programmable
controller
M8127
Programmable
controller
On-demand
command
Program example
M8000
X000
M8002
0
M0
M8127
3
7
M8127 M8128
33
M8128
40
The PC number "FE" is automatically added by the
programmable controller
Write processing
D8127
100
D8128
4
M8129
PLS
FNC 12
H1234 D100
MOV
FNC 12
H5678 D101
MOV
RST M8128
RST
Y000
RST
Y001
FNC 12
K100 D8127
MOV
FNC 12
K4
D8128
MOV
SET
Y000
SET
Y001
END
S
T
0 0
F E
3 4 1 2
X
30H
30H
46H
45H
31H
32H
33H
34H
02H
M8128
ON/OFF
M8129
ON
D100
1234H
D101
5678H
Data transmission set to byte units.
· · · · · · · · ·
Start command signals a pulse.
· · · · · · · · ·
M0
Transmission data is set.
· · · · · · ·
On-demand error flag is reset
· · · · · · · · ·
(cannot start if M8128 is ON)
Confirming on-demand error, normal/
· · · · · · ·
abnormal external output is set.
Confirming on-demand error, normal/
· · · · · · ·
abnormal external output is set.
M8128
OFF : Normally transmitted.
ON : Data is not transmitted due to error.
E
7 8 5 6
T
9 2
X
38H 35H 36H
03H
37H
39H
32H
Set ON if a transmission
error occurs
The 2 hexadecimal digits of
each byte are transmitted in
ASCII, starting with the most
significant digit.The lower byte
of each word is transmitted first.
Commands 8
8-20

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs-232cRs-422Rs-485

Table of Contents