Figure 21: Mlan Command Get Setting Response In Gateway - Siemens S7-1200 Manual

Gateway to maguire 12-12 weigh scale blender
Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

Figure 21: MLAN Command Get Setting Response In Gateway

The first screen capture shows the address, and the data address it will be sent to in this case 0x0000
and its length this matches the protocol and can be viewed in DB300.DBB0.
The second screen capture shows the response code again this matches the protocol, there is no
location for this, and this is a check for the gateway to make sure it puts the correct data in the
correct addresses.
The third screen capture details the length of the data, in this case 46 (2E in Hex) this does not match
the protocol as we are looking for data only so we have to strip out the 3 bytes that relate to:
Field #
Name
2
Command Code
32
Checksum
As these are handled separately by the gateway. The only other thing to note is this command is
setup as a cyclic read. So it is sent automatically by the gateway when it is its turn to be read it does
not have a trigger address.
Commands that are event driven or triggered have a trigger address to send the command simply
increment the value in the trigger byte. Remember to reset the value once it is at its maximum
value.
Ref: S7-1200-12-12-WSB
Siemens S7-1200 interfacing via HMS Anybus Gateway
Size
Range
1
20
2
0 to 255
Berkshire Systemic Solutions Ltd
www.bss-ltd.biz
to Maguire 12-12 Weigh Scale Blender
Description
Response Code
Checksum
V1.00
Page 23 of 44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents