FX2N-32DP-IF Profibus-DP Interface Unit
User Parameter 7
7-9
7.2.1
Exchanged Data by Default User Parameter
After power on, the bus node does not know about the I/O features of the connected special
function blocks. So each special function block is assigned to one reading command and one
writing command. The exchanged data is as follows:
Example
Reading BFM #17 and writing K1000 to BFM #9 in the special function block.
Basically this parameter block is only for the case when reaching the limits of the parameter
data memory or Profibus I/O data memory. It is possible to use this block for every special
function block listed above, but it is more comfortable to use the extended or short parameter
settings of a special function block. The high address BFM area of some Special Function
Block’s (Ex- FX
2N
-232IF) is only accessible by using this communication format.
Communication procedure:
For further explanation, the first word of the cyclical send data is called the “FROM
ADDRESS”, the second word is called the “TO DATA” and the third “TO ADDRESS”.
According to this “FROM DATA”, “TO DATA (read back)” and “TO ADDRESS (read back)”
describes the first, second and third word of the cyclically received data. The most
significant bit (MSB) of the “FROM ADDRESS” and the “TO ADDRESS” is a flag which is
used to request a FROM/TO instruction inside the FX
2N
-32DP-IF. If this bit is 0, the contents
of the “FROM ADDRESS” and the “TO ADDRESS” are transmitted to the FX
2N
-32DP-IF but
no read/write command is executed. If the MSB is set to 1, the BFM specified by bit 0 - 14 is
addressed.
Example- if the “TO ADDRESS” is 8000 Hex, the content of “TO DATA” is written to BFM 0.
Table 7.6: Exchanged Data
Data
word
Output area (send)
Input area (receive)
1st
Special function block’s BFM address is
written for input data (Reading from 32DP-IF)
(Bit15 = write flag)
This value is BFM’s data read from special
function block.
2nd
This data is written to special function block’s
BFM for output data.
This value was written to special function
block’s BFM.
(Written value is read back)
3rd
Special function block’s BFM address is
written for output data (writing to 32DP-IF)
(Bit15 = write flag)
This value was special function block’s BFM
address.
(Written value is read back)
Table 7.7: Example Exchanged Data
Data
word
Output Data
Input Data
1st
8011hex = 11hex (17 dez = BFM #17) + 8000 hex
(bit15=1)
nnnn = hex value of BFM #17
2nd
03E8 hex = (1000 dez)
03E8 hex = hex value of BFM #9
3rd
8009 hex = 09 hex (9 dez = BFM #9) + 8000 hex
(bit15=1)
8009 hex = verification of BFM address
Содержание FX2N-32DP-IF
Страница 4: ...FX2N 32DP IF Profibus DP Interface Unit ii...
Страница 6: ...FX2N 32DP IF Profibus DP Interface Unit iv...
Страница 12: ...FX2N 32DP IF Profibus DP Interface Unit x...
Страница 64: ...FX2N 32DP IF Profibus DP Interface Unit Address Setting 6 6 2 MEMO...
Страница 78: ...FX2N 32DP IF Profibus DP Interface Unit User Parameter 7 7 14 MEMO...
Страница 80: ...FX2N 32DP IF Profibus DP Interface Unit Diagnostic Message 8 8 2 MEMO...
Страница 86: ...FX2N 32DP IF Profibus DP Interface Unit Diagnostics 9 9 6 MEMO...
Страница 92: ...FX2N 32DP IF Profibus DP Interface Unit Appendix A A 6 Figure A 6 Setting Global Parameter...
Страница 96: ...FX2N 32DP IF Profibus DP Interface Unit Appendix A A 10 MEMO...
Страница 102: ...FX2N 32DP IF Profibus DP Interface Unit Appendix B B 6 Figure B 6 Setting Global Parameter...
Страница 106: ...FX2N 32DP IF Profibus DP Interface Unit Appendix B B 10 MEMO...
Страница 192: ...FX2N 32DP IF Profibus DP Interface Unit Appendix C C 86 MEMO...
Страница 194: ...FX2N 32DP IF Profibus DP Interface Unit Appendix D D 2 MEMO...
Страница 197: ......