60
FX
3U
-32DP PROFIBUS-DP Interface Block
User’s Manual
8 Example Program
8.1 Example Program
8.1.6
Example Program for Acyclic Communication using GX Developer
M8002
Set 32DP slave address
to 1.
FNC 12
MOVP
K1
U0\G27
Read acyclic input data
send flag (Class1).
U0\G503
K70
Write acyclic input data to
BFM#503 to #572 to be sent
to DP-Master.
Read acyclic output data
read flag (Class1).
Reset acyclic output data
read flag (Class1).
Read acyclic input data
send flag (Class2).
Read acyclic input data
send flag (Class2).
Reset acyclic input data
send flag (Class1).
Write acyclic input data to
BFM#903 to #972 to be sent
to DP-Master.
Read acyclic output data
read flag (Class2).
Read acyclic output data
received by 32DP to D850
to D919.
Read acyclic output data
received by 32DP to D550
to D619.
Reset acyclic output data
read flag (Class2).
Initial
pulse
END
M8000
FNC 12
MOV
U0\G499
D10
RUN
monitor
FNC 12
MOV
K0
U0\G499
D10.0
FNC 15
BMOV
D400
D550
K70
M8000
FNC 12
MOV
U0\G699
D11
RUN
monitor
FNC 12
MOV
K0
U0\G699
D11.0
FNC 15
BMOV
U0\G703
U0\G903
K70
M8000
FNC 12
MOV
U0\G899
D12
RUN
monitor
FNC 12
MOV
K0
U0\G899
D12.0
FNC 15
BMOV
D700
D850
K70
M8000
FNC 12
MOV
U0\G1099
D13
RUN
monitor
FNC 12
MOV
K0
U0\G1099
D13.0
FNC 15
BMOV
U0\G1103
Acyclic input data
send flag (Class1)
Acyclic output data
read flag (Class1)
Acyclic input data
send flag (Class2)
Acyclic output data
read flag (Class2)
Summary of Contents for FX3U-32DP
Page 1: ...USER S MANUAL FX3U 32DP PROFIBUS DP Interface Block ...
Page 2: ......
Page 6: ... iv ...
Page 73: ......