The digital modules are grouped after the analog modules, in the form of words (16 bits per word).WAGO Kontakttechnik GmbH Hansastrae 27 D Minden Phone: 49 (0) 571 Fax: 49 (0) 571 Web: Technical Support Phone: 49 (0) 571 Fax: 49 (0) 571 Every conceivable measure has been taken to ensure the correctness and completeness of this documentation.
However, as errors can never be fully excluded we would appreciate any information or ideas at any time. Labview Modbus Serial Example Manual Are GenerallyLabview Modbus Serial Example Software And HardwareWe wish to point out that the software and hardware terms as well as the trademarks of companies used andor mentioned in the present manual are generally trademark or patent protected. Labview Modbus Serial Example .Dll From LabVIEWTable of Contents 3 TABLE OF CONTENTS 1 Important comments Legal principles Copyright Personnel qualification Intended use Range of validity Description Calling the MBT.dll from LabVIEW The example lv7mbtapp01.vi The example lv7mbtapp02.vi Build a socket based application The example lv7sockapp01.vi The example lv7sockapp02.vi The application lv7wagolibapp01.vi The INI-file Appendix The process image The MODBUS TCP DLL MBT.dll Common MODBUS functions Use of the MODBUS functions Function code FC1 (Read Coils) Function code FC2 (Read Discrete Inputs) Function code FC3 (Read multiple registers) Function code FC4 (Read input registers) Function code FC15 (Force Multiple Coils) Function code FC16 (Write multiple registers) Function code FC23 (ReadWrite multiple registers).25 4 4 Important comments 1 Important comments 1.1 Legal principles Copyright To ensure fast installation and start-up of the units described in this manual, we strongly recommend that the following information and explanation is carefully read and adhered to. This manual is copyrighted, together with all figures and illustrations contained therein. Any use of this manual which infringes the copyright provisions stipulated herein, is not permitted. Reproduction, translation and electronic and photo-technical archiving and amendments require the written consent of WAGO Kontakttechnik GmbH. Non-observance will entail the right of claims for damages Personnel qualification Intended use 1.2 Range of validity The use of the product detailed in this manual is exclusively geared to specialists having qualifications in PLC programming, electrical specialists or persons instructed by electrical specialists who are also familiar with the valid standards. WAGO Kontakttechnik GmbH declines all liability resulting from improper action and damage to WAGO products and third party products due to non-observance of the information contained in this manual. ![]() Modifications are only admitted within the framework of the possibilities documented in the manuals. All other changes to the hardware andor software and the non-conforming use of the components entail the exclusion of liability on part of WAGO Kontakttechnik GmbH. Please direct any requirements pertaining to a modified andor new hardware or software configuration directly to WAGO Kontakttechnik GmbH. This application note is based on the stated hardware and software of the specific manufacturer as well as the correspondent documentation. This application note is therefore only valid for the described installation. New hardware and software versions may need to be handled differently. Please note the detailed description in the specific manuals. Description 5 2 Description The purpose of this document is to provide step-by-step procedures for configuring National Instruments LabVIEW for direct communications with WAGO Ethernet IO. The procedures that follow illustrate solutions for a direct communication between LabVIEW and the WAGO-IO without additional protocols or proxis (like OPC, described in appnote A ) using the open standard ModbusTCP. This document provides two different ways to reach this goal. Calling the WAGO-Modbus-Driver MBT.dll from LabVIEW. Build your own socket based protocol implementation. Both ways have its advantages, that mean the comfort supplied by the MBT.dll is payed by an increased CPU-usage, but both solutions are up to 20 times faster then an OPC based solution. Adapting these examples, you need to know on how the buscoupler or controllers build the process image and how to access the process image with the proper Modbus function code and address locations. When power is applied to the couplercontroller, it automatically detects all connected IO modules and creates a local process image. The process image is subdivided into inputs data area and outputs data area. The data of the analog modules are mapped first into the process image. The modules are mapped in the order of their position after the couplercontroller.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |