cip modbus object read example n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
CIP Modbus Object Read Example PowerPoint Presentation
Download Presentation
CIP Modbus Object Read Example

Loading in 2 Seconds...

play fullscreen
1 / 6

CIP Modbus Object Read Example - PowerPoint PPT Presentation


  • 232 Views
  • Uploaded on

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.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
cip modbus object read example

CIP Modbus Object ReadExample

M340 BMXNOC0401 usingExplicit unconnected_send request via DATA_EXCH to a Quantum 140NOC78000

Dec, 17, 2012

Rev 1.0

plc hardware configuration

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.
m340 unity program
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
declaring variables
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)

declaring variables1
Declaring Variables

2- Management parameters (array of 4 INT)

3- Reception data (array of 53 INT)

example program in quantum plc
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