13.07.2015 Views

1766-RM001A-EN-P MicroLogix 1400 Programmable Controllers ...

1766-RM001A-EN-P MicroLogix 1400 Programmable Controllers ...

1766-RM001A-EN-P MicroLogix 1400 Programmable Controllers ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

500 Socket Interface Using CIP Generic MessagingReadThe Read service reads data on a socket. You can specify a number ofbytes to receive. The Read service returns the number of bytes received.For TCP, the Read service returns when any data is received, up to therequested number of bytes. The Read service can return fewer bytes thanwere requested. Your application might need to issue multiple Readrequests to receive an entire application message.For UDP, the Read service completes when a datagram is availableParameterValueService TypeReadService Code4D (hexadecimal)Class342 (hexadecimal)Instance0. Use a relay ladder instruction to move the returnedinstance number from a CreateSocket service into theMGx:y.TFN element of a MSG instructionAttribute 0MSG Configuration ParametersTo call this service, click "Setup Screen" in the MSG instruction and enterthe values displayed below.Publication <strong>1766</strong>-<strong>RM001A</strong>-<strong>EN</strong>-P - October 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!