GW-7553-B / GW-7553-M PROFIBUS/Modbus TCP Gateway User Manual
(Version 1.35, May/2017)
PAGE: 63
Response message
DA
FC
SA
(Hi)
SA
(Lo)
NO
(Hi)
NO
(Lo)
01
0F
00
00
00
10
DA: Device Address-0x01
FC: Function Code-0x0F=>Write multi-DO
SA(Hi): Start Address(Hi byte)-0x00
SA(Lo): Start Address(Lo byte)-0x00
NO(Hi): No. Of points (Hi byte)-0x00
NO(Lo): No. Of points (Lo byte)-0x10
BC: Byte Count-0x02
4.9.2 Receiving data from the PROFIBUS Master device
--Send Command to read DI of the GW-7553-B
The user needs to input command (” 01 02 00 00 00 10”) in MBTCP and click
<Send Command> button to send Modbus command: “01 02 00 00 00 10”
and then MBTCP can receive response message (” 01 02 02 00 00”). In this
message, the user can know the value of DI0 & DI1 is “0” in the GW-7553-B.
--Send output data to write DI of the GW-7553-B by the PROFIBUS Master
The user needs to set “0xFE” & “0xDC” in byte 3 & byte 4 of output data
area in the configuration program “Step 7” and then set the value of the first
byte from 0 to 1 to trigger the data output command.
--Send Command to read DI of the GW-7553-B again
Now the user can input command (” 01 02 00 00 00 10”) in MBTCP and click
<Send Command> button to send Modbus command: “01 02 00 00 00 10”
again. Then MBTCP can receive response message (” 01 02 02 FE DC”). In
this message, the user can know the value of DI0 & DI1 have changed into
“0xFE” & “0xDC” in the GW-7553-B, as shown in
Figure 87
,
Figure 88,
Figure 89
,
&
Table 26
Set output data and trigger output data command
.
Содержание GW-7553-B
Страница 120: ...GW 7553 B GW 7553 M PROFIBUS Modbus TCP Gateway User Manual Version 1 35 May 2017 PAGE 120 8 Dimensions GW 7553 B...
Страница 121: ...GW 7553 B GW 7553 M PROFIBUS Modbus TCP Gateway User Manual Version 1 35 May 2017 PAGE 121...
Страница 122: ...GW 7553 B GW 7553 M PROFIBUS Modbus TCP Gateway User Manual Version 1 35 May 2017 PAGE 122 GW 7553 M...