Example Program 6
6-1
6.
Example Program
The following is an example program.
Figure 6.1: Example Program
Normal byte order
M8000
FNC 79
TO
K0
K28
K4M0
K1
Error-1
Error-2
M0
M1
Error-16
M15
General error
M20
Y000
FNC 78
FROM
K0
K29
K4M20
K1
M8002
FNC 79
TO
K0
K21
K0
K1
Send diagnosis to DP-master
Read 32NT-DP error status flag
to M20 ~ M35.
Note:
If no FROM / TO
instructions are sent to
the 32NT-DP an error
will be signaled in the
DP-master
(BFM #29 b7=ON).
Write 32NT-DP error status flag
(M0 ~ M15) to the BFM #28.
General Error Flag
(a)
(a)
FX0N-32NT-DP Profibus-DP Interface Unit
Summary of Contents for FX0N-32NT-DP
Page 1: ...USER S MANUAL FX0N 32NT DP Profibus DP Interface Unit...
Page 4: ...FX0N 32NT DP Profibus DP Interface Unit ii...
Page 8: ...FX0N 32NT DP Profibus DP Interface Unit vi...
Page 12: ...FX0N 32NT DP Profibus DP Interface Unit x...
Page 46: ...FX0N 32NT DP Profibus DP Interface Unit Setting Operation 5 5 4 MEMO...
Page 50: ...FX0N 32NT DP Profibus DP Interface Unit Example Program 6 6 4 MEMO...
Page 54: ...FX0N 32NT DP Profibus DP Interface Unit Diagnostics 7 7 4 MEMO...
Page 56: ...FX0N 32NT DP Profibus DP Interface Unit A 2 MEMO...
Page 57: ......