Mitsubishi Electric MELSEC FX Series User Manual page 99

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

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs-232cRs-422Rs-485

Table of Contents