ICP DAS USA GW-7553-B User Manual page 89

Profibus/modbus tcp
Table of Contents

Advertisement

Response message
DA
01
 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
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.
--Send output data to write DI of the GW-7553 by the PROFIBUS Master
The user needs to set "0xFE" & "0xDC" in byte 3 & byte 4 of output data
area in the configuration program "SyCon" 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 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, as shown in Figure 87, Figure 88,
Figure 89, & Table 26
GW-7553-B / GW-7553-M PROFIBUS/Modbus TCP Gateway User Manual (Version 1.35, May/2017)
PAGE: 89
SA
SA
FC
(Hi)
(Lo)
0F
00
00
Set output data and trigger output data command
NO
NO
(Hi)
(Lo)
00
10
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gw-7553-m

Table of Contents