beautypg.com

B&B Electronics GW-7553 - Manual User Manual

Page 56

background image

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
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 56, 57, 58 & table 17.

Figure 56 Send Modbus command to read DI of the GW-7553

GW-7553 PROFIBUS/Modbus TCP Gateway User Manual (Version 1.00, Dec/2008) PAGE: 56