GW-7552-B / GW-7552-M PROFIBUS/MODBUS GATEWAY User Manual
(Version 1.60, May/2017)
PAGE: 41
Module Byte
Bit Position
Description
Output
module
3~130
Output data
●
Data output command(byte 0)
a.
When Modbus type is master
When this byte is changed, Profibus master device will send data of
output module to DO/AO data of GW-7552-B / GW-7552-M and then
GW-7552-B / GW-7552-M will send query message to Modbus slave
device for change data or output state of Modbus slave device.
b.
When Modbus type is slave
When this byte is changed, Profibus master device will send data of
output module to DO/AO data of GW-7552-B / GW-7552-M.
PS: When the user use this byte to trigger “data output command”, the
user must increase this byte in order (ex: 0->1, 1->2,…, 255->0) or else
the GW-7552-B / GW-7552-M will send a diagnostic message to the
Profibus master (please refer section 4.5 Diagnostic messages).
●
Control bit(byte 1)
DC(bit 0)
:
When this bit is set (DC=1), diagnostic messages send by the
GW-7552-B / GW-7552-M module will all be cleared.
SM(bit 1)
:
When this bit is set (SM=1), the GW-7552-B / GW-7552-M
will enter setup mode. The utility can communicate with the
GW-7552-B / GW-7552-M in this mode.
When this bit is ''0'' (SM=0), the GW-7552-B / GW-7552-M
will enter normal operation mode. The GW-7552-B / GW-
7552-M can communicate with Modbus device in this mode.
Bit 2~7
:
The remaining bits have to be set to zero.
●
Output module select(byte 2)
When this byte is „0‟ and the user change data output command(byte 0),
it will trigger all data output command of output modules.
When this byte isn‟t „0‟ and the user change data output command(byte
0), it will trigger single data output command of the output module and
this byte
represent module address of the output module (ex:
“byte 2”=3, it
represent that the user want to trigger data output command of the third
module )