Tech Note 1022 - Configuring The MBTCP DAServer To Receive Unsolicited Messages
Tech Note 1022 - Configuring The MBTCP DAServer To Receive Unsolicited Messages
All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.
Topic#: 002855
Created: February 2014
Introduction
Unsolicited messaging provides the capability for a PLC to inform the DAServer of critical events immediately, without having to wait for
the DAServer to poll for the data. DASMBTCP provides the ability to receive unsolicited messages from a PLC. In order to support
unsolicited messages from the PLC, the MBTCP DAServer listens on ethernet port 502. The unsolicited messaging feature is available only
to controllers that are directly connected to the TCPIP Port. Controllers under the Modbus Bridge object hierarchy cannot use this
feature.
This Tech Note provides a sample configuration that will demonstrate unsolicited messaging using a Quantum PLC. In this example, the
IP Address of the PLC is 10.2.82.112 and the IP address of the computer running DASMBTCP is 10.2.82.139
Note: This Tech Note assumes basic knowledge of DASMBTCP and Modicon PLC programming.
Application Versions
MBTCP DAServer 3.0 SP1
The top node (419000) in the above instruction is the starting address of the Control Block. The Control Block can be configured by
going to the DX Zoom screen in the PLC programming software.
The middle node (418001) is the starting register that holds the source of the data to be sent (Data Area).
In this example, the MSTR instruction is configured to write data from 50 consecutive registers starting at 418001 in the PLC to 50
consecutive registers starting at 400001 in the DAServer running on IP address 10.2.82.139
The Function dependent Information contains the starting holding register in DASMBTCP that will receive the data. 1 = 400001
The Slot ID or Sequence Number is set to 3. This is the slot in the PLC chassis where the ethernet card resides
This example uses a ModbusPLC object. The Network address is set to the PLC's IP Address (10.2.82.112). All other parameters are
using default values.
1. Create a device group named unsol. Since we don't need to poll this group, an Update Interval of 0 is used.
2. Since this device group is being used to accept unsolicited messages, right-click on the device group name and click Edit.
3. Place a check mark next to Support Unsolicited Messages then select OK then save.
After activating DASMBTCP use a client to advise registers 400001 thru 400050. The client application in this example is WWClient.
1. Open WWClient
3. Type DASMBTCP as the Application, type unsol as the Topic and click IOT as the Connection Type.
4. Click Create.
FIGuRE 5: WW CLIEnt
G. Alldredge
Tech Notes are published occasionally by Wonderware Technical Support. Publisher: Invensys Systems, Inc., 26561 Rancho Parkway South, Lake Forest, CA
92630. There is also technical information on our software products at Wonderware Technical Support.
Back to top
�2014 Invensys Systems, Inc. All rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, electronic or
mechanical, including photocopying, recording, broadcasting, or by anyinformation storage and retrieval system, without permission in writing from Invensys Systems, Inc.
Terms of Use.