Download presentation
Presentation is loading. Please wait.
1
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 test
2
PLC Hardware Configuration
BMXNOC0401 ( ) to query NOC78000 ( ) with Explicit Messaging CIP Modbus Object Read holding register The USB connection is for Unity to M340 PLC communications. Unity7
3
M340 Unity Program Configuring the DATA_EXCH ADR Input:
Note to add the ‘Pin negation’ on the activity bit ManagParam[0].0 Configuring the DATA_EXCH ADR Input: ADDM(‘0.1.0{ }UNC.CIP’) Rack = 0 Module (Slot Number) = 1 Channel = 0 Remote Device IP address = Message Type = Unconnected_send Protocol = CIP
4
Declaring Variables 1- data to send / CIP Request 24 bytes
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.