70 likes | 264 Views
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.
E N D
CIP Modbus Object ReadExample Quantum 140NOC7800 usingExplicit 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.
Quantum Client Unity Program • Note to add the ‘Pin negation’ on the AND_BOOL IN1 input.
EIP_ControlBufCIP 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.
EIP_DataBufCIP Request header 28 bytes message footer Length of data to send in EIP_ControlBuf[7]
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.
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