1 / 6

CIP Modbus Object Read Example

CIP Modbus Object Read Example. M340 BMXNOC0401 using Explicit unconnected_send request via DATA_EXCH to a Quantum 140NOC78000. Dec, 17, 2012 Rev 1.0. 100.100.100.102. 100.100.100.103. Unity7. PLC Hardware Configuration.

buck
Download Presentation

CIP Modbus Object Read Example

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CIP Modbus Object ReadExample M340 BMXNOC0401 usingExplicit unconnected_send request via DATA_EXCH to a Quantum 140NOC78000 Dec, 17, 2012 Rev 1.0

  2. 100.100.100.102 100.100.100.103 Unity7 PLC Hardware Configuration • BMXNOC0401 (100.100.100.103) to query NOC78000 (100.100.100.102) with Explicit Messaging CIP Modbus Object Read holding register • The USB connection is for Unity to M340 PLC communications.

  3. M340 Unity Program • Note to add the ‘Pin negation’ on the activity bit ManagParam[0].0 • Configuring the DATA_EXCH ADR Input: • ADDM(‘0.1.0{100.100.100.102}UNC.CIP’) • Rack = 0 Module (Slot Number) = 1 Channel = 0 Remote Device IP address = 100.100.100.102 • Message Type = Unconnected_send Protocol = CIP

  4. Declaring Variables 1- data to send / CIP Request header 24 bytes message footer Length of data to send in ManagParam[3] The DataToSend array has 3 part: the header (5 first word), the message (5 next word), the footer (2 last word)

  5. Declaring Variables 2- Management parameters (array of 4 INT) 3- Reception data (array of 53 INT)

  6. Example program in Quantum PLC • This data is incrementing every sec in the PLC to observe the data changing in the response. %MW2 is referring to the DataToSend[8], first and only Word to be read in this example

More Related