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.

504 Socket Interface Using CIP Generic MessagingCIP Generic Msg ParameterDescriptionExtended Routing Info File(RIX) Specify RIX fileTo Address in MultiHop tab 127.0.0.1Considerations :For TCP connections, ToAddr is ignored. Connectionless UDP messages may use the addressstored in the open connection service.N file for sending contains: 16 bytes + n bytesNx:0, Nx:1 Nx:2 Nx:3 Nx:4, Nx:5 Nx:6 Nx:7 Nx:…Timeout(4 bytes)ToAddrFamily(2 bytes)ToAddrPort(2 bytes)ToAddrIP Address(4 bytes)BufLen(2 bytes)Reserved(2 bytes)Buf(n bytes)• Timeout : Specify the timeout in milliseconds.• Structure of ToAddr :• Family : Specify the address family. Must be 2.• Port : Specify a local port number, or set to 0 (the local portnumber will be chosen by the Ethernet subsystem). For TCPclient operations, specify 0 unless you want a specific local portnumber. For TCP server communications, specify the portnumber on which to accept incoming connection requests. ForUDP, to receive datagrams on a specific port, you must specify alocal port number.• Addr : Specify an IP address. Typically, set to 0 (any address).• BufLen : Specify the number of bytes of data to write.• Reserved : Specify 0.• Buf : Specify the data to write.N file for receiving contains: 4 bytesNx:0BufLen(2 bytes)Nx:1Reserved(2 bytes)• BufLen : the number of bytes that were written.• Reserved : Contains 0.Inline Indirection functionalityYou can use Inline Indirection functionality for N file in Write service.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!