![Graco 15V331 Скачать руководство пользователя страница 71](http://html.mh-extra.com/html/graco/15v331/15v331_instructions-manual_2251715071.webp)
Appendix B: Profibus
™
DP Slave Communication
312785B
71
Useful Formulas
The following formula can be used to find the byte num-
ber from a word address:
ByteAddress = PLC (WordAddress x 2), where:
•
ByteAddress is the address we are looking for in the
PLC
•
PLCOffset is the first byte number in the complete
block mapping in the PLC, here 256
•
WordAddress is the address mapped in the Gate-
way. So, for example, word 77 in the Gateway,
would start at byte 410 in the PLC, and so would be
composed of byte 410 and 411.
The following formula can be used to find the byte num-
ber from a Dword address:
ByteAddress = PLC (DWordAddress x 4),
where:
•
ByteAddress is the address we are looking for in the
PLC
•
PLCOffset is the first byte number in the complete
block mapping in the PLC, here 256
•
DwordAddress is the address mapped in the Gate-
way. So, for example, Dword 14 in the Gateway,
would start at byte 312 in the PLC, and so would be
composed of byte 312, 313, 314 and 315.
NOTE: For the formula to work, all the blocks in the PLC
Profibus configuration for the Gateway have to be con-
secutive. F
. 57.
Содержание 15V331
Страница 80: ...Dimensions 80 312785B ...