140NOC78000_CIP_Modbus_Object_Read

Download Report

Transcript 140NOC78000_CIP_Modbus_Object_Read

CIP Modbus Object Read Example

Quantum 140NOC7800 using Explicit unconnected_send request via MBP_MSTR to a 140NOC78000 Dec. 17, 2012 Rev 1.0

PLC Hardware Configuration • 140NOC78000 client (100.100.100.102) to query 140NOC78000 server (100.100.100.104) with Explicit Messaging CIP Modbus Object READ holding register. • The USB connection is for Unity to PLC communications.

Schneider Electric

Connectivity Solutions Level 3 Product Support 2

Quantum Client Unity Program ● Note to add the ‘Pin negation’ on the AND_BOOL IN1 input .

Schneider Electric

Connectivity Solutions Level 3 Product Support 3

EIP_ControlBuf CIP Request • EIP_ControlBuf(1) and EIP_ControlBuf(8) are Read Only and written by the PLC. • EIP_ControlBuf(8), Length of Received Response, will toggle between 0 and E (hex) when it is operational.

Schneider Electric

Connectivity Solutions Level 3 Product Support 4

EIP_DataBuf CIP Request

header message footer

Length of data to send in EIP_ControlBuf[7] 5

Schneider Electric

Connectivity Solutions Level 3 Product Support

Control and Status Variables ● ● Set Enable to a value of 1 to start the messaging.

In a successful implementation, EMActive, EMStart, and EMSuccess will flash between 0 and 1.

Schneider Electric

Connectivity Solutions Level 3 Product Support 6

Example Program in Quantum server ● PLC This data is incrementing every sec in the PLC to observe the data changing in the response.

CIP Response

Schneider Electric

Connectivity Solutions Level 3 Product Support 7