FX2N-32DP-IF Profibus-DP Interface Unit
User Parameter 7
7-10
Write Operation (TO):
Possible special function block BFM addresses: 0 to 32767
First write the data to send to the BFM into “TO DATA”, then write the BFM MSB =
1 into the “TO ADDRESS”. If the “TO ADDRESS” is the same as the “TO ADDRESS (read
back)” and “TO DATA” is the same as “TO DATA (read back)”, the write operation is executed
correctly.
Before write the next data into “TO DATA”, please reset “TO ADDRESS” to 0 or reset at least
the MSB of “TO ADDRESS”. Otherwise the new data is written to the old BFM.
Read Operation (FROM):
Possible special function block BFM addresses: 0 to 32767
To read a BFM, please write its MSB=1 into “FROM ADDRESS”.
The data of the BFM will be received in “FROM DATA”.
Two possible ways to make sure that the FROM data is valid:
a) After 1
×
Profibus cycle (master
→
slave) + 1
×
FX
2N
-32DP-IF cycle + 1
×
Profibus cycle
(slave
→
master) it is possible to read the value of the selected BFM out of “FROM
DATA”. If FX
2N
-32DP-IF has a Firmware 1.10 or above, the cycle time is listed in
BFM8010 (current), BFM8011 (min), BFM8012 (max).
b) It is possible to use a feature similar to the write operation verify (Firmware 1.10 or
above). If no write instruction is executed (MSB of “TO ADDRESS”=0), the data will be
received in “FROM DATA” and the “FROM ADDRESS” is mapped to the “TO ADDRESS
(read back)” by the FX
2N
-32DP-IF.
Table 7.8: Write Operation (TO)
Data
word
data to be send in every cycle
data received in every cycle
1st
FROM ADDRESS (bit 15 MUST be 0)
FROM DATA in this case 0
2nd
TO DATA
TO DATA (read back)
3rd
TO ADDRESS (bit 15 MUST be 1)
TO ADDRESS (read back)
Table 7.9: Read Operation (FROM)
Data
word
data to be send in every cycle
data received in every cycle
1st
FROM ADDRESS
FROM DATA
2nd
not used
TO DATA (read back) in this case 0
3rd
not used (bit 15 MUST be 0)
TO ADDRESS (read back) in this case
FROM ADDRESS (read back)
Summary of Contents for FX2N-32DP-IF
Page 4: ...FX2N 32DP IF Profibus DP Interface Unit ii...
Page 6: ...FX2N 32DP IF Profibus DP Interface Unit iv...
Page 12: ...FX2N 32DP IF Profibus DP Interface Unit x...
Page 64: ...FX2N 32DP IF Profibus DP Interface Unit Address Setting 6 6 2 MEMO...
Page 78: ...FX2N 32DP IF Profibus DP Interface Unit User Parameter 7 7 14 MEMO...
Page 80: ...FX2N 32DP IF Profibus DP Interface Unit Diagnostic Message 8 8 2 MEMO...
Page 86: ...FX2N 32DP IF Profibus DP Interface Unit Diagnostics 9 9 6 MEMO...
Page 92: ...FX2N 32DP IF Profibus DP Interface Unit Appendix A A 6 Figure A 6 Setting Global Parameter...
Page 96: ...FX2N 32DP IF Profibus DP Interface Unit Appendix A A 10 MEMO...
Page 102: ...FX2N 32DP IF Profibus DP Interface Unit Appendix B B 6 Figure B 6 Setting Global Parameter...
Page 106: ...FX2N 32DP IF Profibus DP Interface Unit Appendix B B 10 MEMO...
Page 192: ...FX2N 32DP IF Profibus DP Interface Unit Appendix C C 86 MEMO...
Page 194: ...FX2N 32DP IF Profibus DP Interface Unit Appendix D D 2 MEMO...
Page 197: ......